uk.ac.vamsas.client.simpleclient
Class SimpleDocBinding
java.lang.Object
uk.ac.vamsas.client.simpleclient.SimpleDocBinding
- Direct Known Subclasses:
- SimpleDocument
- public class SimpleDocBinding
- extends java.lang.Object
Base class for SimpleClient Vamsas Document Object Manipulation holds static
vamsasDocument from XML routines and state objects for a particular
unmarshalled Document instance.
- Author:
- jimp
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vorba
protected VorbaIdFactory vorba
log
protected static org.apache.commons.logging.Log log
SimpleDocBinding
public SimpleDocBinding()
getVorba
public VorbaIdFactory getVorba()
- Returns:
- Returns the vorba.
setVorba
public void setVorba(VorbaIdFactory vorba)
- Parameters:
vorba
- The vorba to set.
getVamsasDocument
public VamsasDocument getVamsasDocument(VamsasArchiveReader oReader)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Uses VorbaXmlBinder to retrieve the VamsasDocument from the given stream
- Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
getReferencedEntries
public java.util.Vector getReferencedEntries(VamsasDocument doc,
VamsasArchiveReader oReader)
- Extract all jarEntries in an archive referenced by the vamsas document
LATER: a family of methods for finding extraneous jarEntries , and invalid
appDataReferences
- Parameters:
doc
- oReader
-
- Returns:
- array of the subset of JarEntry names that are referenced in doc