|
Oracle® Database XML Java API Reference 11g Release 2 (11.2) E10769-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BinXMLMetadataProvider
This interface defines APIs for users to plug in a metadata repository used for encoding and decoding. A database implementation of this API is provided , see DBBinXMLMetadataProvider interface.
Method Summary | |
---|---|
java.io.Reader |
getCompiledSchema(BinXMLVocabId schemaId) Fetches the schema as a binary stream from the metadata repository based on the vocabulary id. |
java.io.Reader |
getCompiledSchema(java.lang.String schemaURL) Fetches the schema as a binary stream from the metadata repository based on the schema URL. |
BinXMLStream |
getDTD(BinXMLVocabId dtdId) Fetches the DTD as a binary stream from the metadata repository based on the vocabulary id. |
BinXMLStream |
getDTD(java.lang.String dtdURL) Fetches the DTD as a binary stream from the metadata repository based on the DTD URL. |
BinXMLStream |
getTokenSet(long tokenId) Fetches the Token Set as a binary stream in the metadata repository based on the input token id. |
BinXMLStream |
getTokenSet(long tokenId, boolean isNS) Fetches the Token Set as a binary stream in the metadata repository based on the namespace of the input token Id. |
BinXMLStream |
getTokenSet(java.lang.String namespaceURL, boolean isAttr) Fetches the Token Set as a binary stream in the metadata repository based on the namespace URL. |
boolean |
isSchemaAnnotationAvailable() Specifies whether the repository performs schema annotations or not. |
BinXMLVocabId |
saveCompiledSchema(java.lang.String schemaURL) Saves the annotated schema as a binary stream in the metadata repository. |
BinXMLVocabId |
saveDTD(java.lang.String dtdURL) Saves the DTD as a binary stream in the metadata repository. |
BinXMLVocabId |
saveSchema(java.lang.String schemaURL) The repository accepts a non-annotated schema, annotates it and saves it as a binary stream in the metadata repository. |
BinXMLVocabId |
saveTokenSet(java.lang.String namespaceURL) Saves the Token Set as a binary stream in the metadata repository. |
Method Detail |
---|
boolean isSchemaAnnotationAvailable() throws BinXMLException
BinXMLException
java.io.Reader getCompiledSchema(BinXMLVocabId schemaId) throws BinXMLException
schemaId
- - vocabulary id of the schema to be fetchedBinXMLException
java.io.Reader getCompiledSchema(java.lang.String schemaURL) throws BinXMLException
schemaURL
- - URL of the schema to be fetchedBinXMLException
BinXMLVocabId saveSchema(java.lang.String schemaURL) throws BinXMLException
schemaURL
- - URL of the schema to be savedBinXMLException
BinXMLVocabId saveCompiledSchema(java.lang.String schemaURL) throws BinXMLException
BinXMLException
BinXMLStream getDTD(BinXMLVocabId dtdId) throws BinXMLException
dtdId
- - vocabulary id of the DTD to be fetchedBinXMLException
BinXMLStream getDTD(java.lang.String dtdURL) throws BinXMLException
dtdURL
- - URL of the DTD to be fetchedBinXMLException
BinXMLVocabId saveDTD(java.lang.String dtdURL) throws BinXMLException
dtdURL
- - URL of the DTD to be savedBinXMLException
BinXMLStream getTokenSet(java.lang.String namespaceURL, boolean isAttr) throws BinXMLException
namespaceURL
- - namespace URL of the Token Set to be fetchedisAttr
- - is the token set to be returned of type element or attrBinXMLException
BinXMLStream getTokenSet(long tokenId, boolean isNS) throws BinXMLException
tokenId
- - token Id contained in the Token Set to be fetchedisNS
- - if this token is a namespace decl, then true, otherwise falseBinXMLException
BinXMLStream getTokenSet(long tokenId) throws BinXMLException
tokenId
- - token Id contained in the Token Set to be fetchedBinXMLException
BinXMLVocabId saveTokenSet(java.lang.String namespaceURL) throws BinXMLException
namespaceURL
- - namespace URL of the Token Set to be savedBinXMLException
|
Oracle® Database XML Java API Reference 11g Release 2 (11.2) E10769-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |