public interface BinXMLProcessor
| Modifier and Type | Method and Description | 
|---|---|
| BinXMLStream | createBinXMLStream()Method to create a BinXMLStream object for encoding or decoding using default in memory storage for input and output | 
| BinXMLStream | createBinXMLStream(java.sql.Blob blob)Method to create a BinXMLStream object for encoding or decoding | 
| BinXMLStream | createBinXMLStream(byte[] array)Method to create a BinXMLStream object for encoding or decoding | 
| BinXMLStream | createBinXMLStream(java.io.File file)Method to create a BinXMLStream object for encoding or decoding | 
| BinXMLStream | createBinXMLStream(java.io.InputStream in)Method to create a BinXMLStream object for encoding | 
| BinXMLStream | createBinXMLStream(java.io.OutputStream out)Method to create a BinXMLStream object for decoding | 
| BinXMLStream | createBinXMLStream(java.net.URL url)Method to create a BinXMLStream object for encoding or decoding | 
| long | getTokenId(java.lang.String namespace, java.lang.String localName, boolean isAttr)Fetch a token based on the namespace and localName provided by the user. | 
| javax.xml.namespace.QName | getTokenName(long tokenId)Fetch a token name based on the tokenId provided by the user. | 
| void | registerDTD(DTD dtd)Registers a DTD locally with the BinXMLProcessor | 
| void | registerDTD(java.net.URL dtd, java.lang.String rootName)Registers a DTD locally with the BinXMLProcessor | 
| void | registerSchema(java.io.InputStream schema)Registers a XML schema locally with the BinXMLProcessor | 
| void | registerSchema(java.lang.String sschema, java.io.Reader reader)Registers a XML schema locally with the BinXMLProcessor | 
| void | registerSchema(java.net.URL schema)Registers a XML schema locally with the BinXMLProcessor | 
| void | registerSchema(java.net.URL schema, java.io.Reader reader)Registers a XML schema locally with the BinXMLProcessor | 
| void | setEntityResolver(EntityResolver entResolver)Method to set entity resolver on the BinXMLProcessor. | 
| void | setMetadataRepository(BinXMLMetadataProvider provider)Users can plug in their own metadata repository that defines the MetadataProvider interface. | 
BinXMLStream createBinXMLStream(java.sql.Blob blob) throws BinXMLException
blob - The Blob to be used in creating a new BinXMLStreamBinXMLException - Raised for any errors encounteredBinXMLStream createBinXMLStream(java.io.InputStream in) throws BinXMLException
in - The InputStream to be used in creating a new BinXMLStreamBinXMLException - Raised for any errors encounteredBinXMLStream createBinXMLStream(java.io.OutputStream out) throws BinXMLException
out - The OutputStream to be used in creating a new BinXMLStreamBinXMLException - Raised for any errors encounteredBinXMLStream createBinXMLStream(java.io.File file) throws BinXMLException
file - The File to be used in creating a new BinXMLStreamBinXMLException - Raised for any errors encounteredBinXMLStream createBinXMLStream(byte[] array) throws BinXMLException
array - The byte array to be used in creating a new BinXMLStreamBinXMLException - Raised for any errors encounteredBinXMLStream createBinXMLStream(java.net.URL url) throws BinXMLException
url - The url to be used in creating a new BinXMLStream if the url is file:// protocol, treat as File in other cases, for decoding, treat as OutputStream; for encoding, treat as InputStreamBinXMLException - Raised for any errors encounteredBinXMLStream createBinXMLStream() throws BinXMLException
BinXMLException - Raised for any errors encounteredvoid setEntityResolver(EntityResolver entResolver) throws BinXMLException
entResolver - Entity Resolver to be called when the processor needs to resolve system URIs.BinXMLException - Raised for any errors encounteredvoid registerSchema(java.net.URL schema)
             throws BinXMLException
schema - URL specifying the location of the XML Schema to be registeredBinXMLException - Raised for any errors encounteredvoid registerSchema(java.io.InputStream schema)
             throws BinXMLException
schema - InputStream containing the contents of the XML Schema to be registeredBinXMLException - Raised for any errors encounteredvoid registerSchema(java.net.URL schema,
                    java.io.Reader reader)
             throws BinXMLException
schema - URL of the XML Schema to be registeredreader - containing the XML Schema contents to be registeredBinXMLException - Raised for any errors encounteredvoid registerSchema(java.lang.String sschema,
                    java.io.Reader reader)
             throws BinXMLException
sschema - string representation of schema URLreader - containing the XML Schema contents to be registeredBinXMLException - Raised for any errors encounteredvoid registerDTD(java.net.URL dtd,
                 java.lang.String rootName)
          throws BinXMLException
dtd - URL for DTD to be registeredrootName - specifies the root elementBinXMLException - Raised for any errors encounteredvoid registerDTD(DTD dtd) throws BinXMLException
dtd - input DTD to be registeredBinXMLException - Raised for any errors encounteredlong getTokenId(java.lang.String namespace,
                java.lang.String localName,
                boolean isAttr)
         throws BinXMLException
namespace - - namespace URL of the token to be fetchedlocalName - - local name of the token to be fetchedisAttr - - if true will return attribute id else returns element idBinXMLException - Raised for any errors encounteredjavax.xml.namespace.QName getTokenName(long tokenId)
                                throws BinXMLException
tokenId - - input token idBinXMLException - Raised for any errors encounteredvoid setMetadataRepository(BinXMLMetadataProvider provider) throws BinXMLException
provider - - metdata provider implementationBinXMLException - Raised for any errors encountered