| java.lang.Object org.apache.xerces.parsers.XMLParser org.apache.xerces.parsers.AbstractXMLDocumentParser org.apache.xerces.parsers.AbstractDOMParser org.apache.xerces.parsers.DOMParserImpl org.apache.xerces.parsers.DOMASBuilderImpl
DOMASBuilderImpl | public class DOMASBuilderImpl extends DOMParserImpl implements DOMASBuilder(Code) | | This is Abstract Schema DOM Builder class. It extends the DOMParserImpl
class. Provides support for preparsing schemas.
author: Pavani Mukthipudi, Sun Microsystems Inc. author: Neil Graham, IBM version: $Id: DOMASBuilderImpl.java 447239 2006-09-18 05:08:26Z mrglavas $ |
ENTITY_MANAGER | final protected static String ENTITY_MANAGER(Code) | | |
ERROR_REPORTER | final protected static String ERROR_REPORTER(Code) | | |
SCHEMA_FULL_CHECKING | final protected static String SCHEMA_FULL_CHECKING(Code) | | |
SYMBOL_TABLE | final protected static String SYMBOL_TABLE(Code) | | |
DOMASBuilderImpl | public DOMASBuilderImpl()(Code) | | Constructs a DOM Builder using the dtd/xml schema parser configuration.
|
DOMASBuilderImpl | public DOMASBuilderImpl(XMLGrammarCachingConfiguration config)(Code) | | Constructs a DOM Builder using the specified parser configuration.
We must demand that the configuration extend XMLGrammarCachingConfiguration to make
sure all relevant methods/features are available.
|
DOMASBuilderImpl | public DOMASBuilderImpl(SymbolTable symbolTable)(Code) | | Constructs a DOM Builder using the specified symbol table.
|
DOMASBuilderImpl | public DOMASBuilderImpl(SymbolTable symbolTable, XMLGrammarPool grammarPool)(Code) | | Constructs a DOM Builder using the specified symbol table and
grammar pool.
The grammarPool implementation should extent the default
implementation; otherwise, correct functioning of this class may
not occur.
|
getAbstractSchema | public ASModel getAbstractSchema()(Code) | | Associate an ASModel with a document instance. This
ASModel will be used by the "
validate-if-schema " and "
datatype-normalization " options during the load of a new
Document .
|
parseASInputSource | public ASModel parseASInputSource(LSInput is) throws DOMASException, Exception(Code) | | Parse a Abstract Schema from a location identified by an
LSInput .
Parameters: is - The LSInput from which the sourceAbstract Schema is to be read. The newly created ASModel . exception: DOMASException - Exceptions raised by parseASURI() originate with theinstalled ErrorHandler, and thus depend on the implementation ofthe DOMErrorHandler interfaces. The default errorhandlers will raise a DOMASException if any form ofAbstract Schema inconsistencies or warning occurs during the parse,but application defined errorHandlers are not required to do so. WRONG_MIME_TYPE_ERR: Raised when mimeTypeCheck istrue and the inputsource has an incorrect MIME Type. See attributemimeTypeCheck . exception: DOMSystemException - Exceptions raised by parseURI() originate with theinstalled ErrorHandler, and thus depend on the implementation ofthe DOMErrorHandler interfaces. The default errorhandlers will raise a DOMSystemException if any form I/O or othersystem error occurs during the parse, but application defined errorhandlers are not required to do so. |
parseASURI | public ASModel parseASURI(String uri) throws DOMASException, Exception(Code) | | Parse a Abstract Schema from a location identified by an URI.
Parameters: uri - The location of the Abstract Schema to be read. The newly created Abstract Schema . exception: DOMASException - Exceptions raised by parseASURI() originate with theinstalled ErrorHandler, and thus depend on the implementation ofthe DOMErrorHandler interfaces. The default errorhandlers will raise a DOMASException if any form ofAbstract Schema inconsistencies or warning occurs during the parse,but application defined errorHandlers are not required to do so. WRONG_MIME_TYPE_ERR: Raised when mimeTypeCheck istrue and the inputsource has an incorrect MIME Type.See attribute mimeTypeCheck . exception: DOMSystemException - Exceptions raised by parseURI() originate with theinstalled ErrorHandler, and thus depend on the implementation ofthe DOMErrorHandler interfaces. The default errorhandlers will raise a DOMSystemException if any form I/O or othersystem error occurs during the parse, but application defined errorhandlers are not required to do so. |
setAbstractSchema | public void setAbstractSchema(ASModel abstractSchema)(Code) | | Associate an ASModel with a document instance. This
ASModel will be used by the "
validate-if-schema " and "
datatype-normalization " options during the load of a new
Document .
|
Methods inherited from org.apache.xerces.parsers.AbstractDOMParser | public void abort()(Code)(Java Doc) public void attributeDecl(String elementName, String attributeName, String type, String[] enumeration, String defaultType, XMLString defaultValue, XMLString nonNormalizedDefaultValue, Augmentations augs) throws XNIException(Code)(Java Doc) public void characters(XMLString text, Augmentations augs) throws XNIException(Code)(Java Doc) public void comment(XMLString text, Augmentations augs) throws XNIException(Code)(Java Doc) protected Attr createAttrNode(QName attrQName)(Code)(Java Doc) protected Element createElementNode(QName element)(Code)(Java Doc) public void doctypeDecl(String rootElement, String publicId, String systemId, Augmentations augs) throws XNIException(Code)(Java Doc) final public void dropDocumentReferences()(Code)(Java Doc) public void elementDecl(String name, String contentModel, Augmentations augs) throws XNIException(Code)(Java Doc) public void emptyElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException(Code)(Java Doc) public void endAttlist(Augmentations augs) throws XNIException(Code)(Java Doc) public void endCDATA(Augmentations augs) throws XNIException(Code)(Java Doc) public void endConditional(Augmentations augs) throws XNIException(Code)(Java Doc) public void endDTD(Augmentations augs) throws XNIException(Code)(Java Doc) public void endDocument(Augmentations augs) throws XNIException(Code)(Java Doc) public void endElement(QName element, Augmentations augs) throws XNIException(Code)(Java Doc) public void endExternalSubset(Augmentations augs) throws XNIException(Code)(Java Doc) public void endGeneralEntity(String name, Augmentations augs) throws XNIException(Code)(Java Doc) public void endParameterEntity(String name, Augmentations augs) throws XNIException(Code)(Java Doc) public void externalEntityDecl(String name, XMLResourceIdentifier identifier, Augmentations augs) throws XNIException(Code)(Java Doc) public Document getDocument()(Code)(Java Doc) protected String getDocumentClassName()(Code)(Java Doc) final protected void handleBaseURI(Node node)(Code)(Java Doc) final protected void handleBaseURI(int node)(Code)(Java Doc) public void ignorableWhitespace(XMLString text, Augmentations augs) throws XNIException(Code)(Java Doc) public void ignoredCharacters(XMLString text, Augmentations augs) throws XNIException(Code)(Java Doc) public void internalEntityDecl(String name, XMLString text, XMLString nonNormalizedText, Augmentations augs) throws XNIException(Code)(Java Doc) public void notationDecl(String name, XMLResourceIdentifier identifier, Augmentations augs) throws XNIException(Code)(Java Doc) public void processingInstruction(String target, XMLString data, Augmentations augs) throws XNIException(Code)(Java Doc) public void reset() throws XNIException(Code)(Java Doc) protected void setCharacterData(boolean sawChars)(Code)(Java Doc) protected void setDocumentClassName(String documentClassName)(Code)(Java Doc) public void setLocale(Locale locale)(Code)(Java Doc) public void startAttlist(String elementName, Augmentations augs) throws XNIException(Code)(Java Doc) public void startCDATA(Augmentations augs) throws XNIException(Code)(Java Doc) public void startConditional(short type, Augmentations augs) throws XNIException(Code)(Java Doc) public void startDTD(XMLLocator locator, Augmentations augs) throws XNIException(Code)(Java Doc) public void startDocument(XMLLocator locator, String encoding, NamespaceContext namespaceContext, Augmentations augs) throws XNIException(Code)(Java Doc) public void startElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException(Code)(Java Doc) public void startExternalSubset(XMLResourceIdentifier identifier, Augmentations augs) throws XNIException(Code)(Java Doc) public void startGeneralEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augs) throws XNIException(Code)(Java Doc) public void startParameterEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augs) throws XNIException(Code)(Java Doc) public void textDecl(String version, String encoding, Augmentations augs) throws XNIException(Code)(Java Doc) public void unparsedEntityDecl(String name, XMLResourceIdentifier identifier, String notation, Augmentations augs) throws XNIException(Code)(Java Doc) public void xmlDecl(String version, String encoding, String standalone, Augmentations augs) throws XNIException(Code)(Java Doc)
|
Methods inherited from org.apache.xerces.parsers.AbstractXMLDocumentParser | public void any(Augmentations augs) throws XNIException(Code)(Java Doc) public void attributeDecl(String elementName, String attributeName, String type, String[] enumeration, String defaultType, XMLString defaultValue, XMLString nonNormalizedDefaultValue, Augmentations augs) throws XNIException(Code)(Java Doc) public void characters(XMLString text, Augmentations augs) throws XNIException(Code)(Java Doc) public void comment(XMLString text, Augmentations augs) throws XNIException(Code)(Java Doc) public void doctypeDecl(String rootElement, String publicId, String systemId, Augmentations augs) throws XNIException(Code)(Java Doc) public void element(String elementName, Augmentations augs) throws XNIException(Code)(Java Doc) public void elementDecl(String name, String contentModel, Augmentations augs) throws XNIException(Code)(Java Doc) public void empty(Augmentations augs) throws XNIException(Code)(Java Doc) public void emptyElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException(Code)(Java Doc) public void endAttlist(Augmentations augs) throws XNIException(Code)(Java Doc) public void endCDATA(Augmentations augs) throws XNIException(Code)(Java Doc) public void endConditional(Augmentations augs) throws XNIException(Code)(Java Doc) public void endContentModel(Augmentations augs) throws XNIException(Code)(Java Doc) public void endDTD(Augmentations augs) throws XNIException(Code)(Java Doc) public void endDocument(Augmentations augs) throws XNIException(Code)(Java Doc) public void endElement(QName element, Augmentations augs) throws XNIException(Code)(Java Doc) public void endExternalSubset(Augmentations augmentations) throws XNIException(Code)(Java Doc) public void endGeneralEntity(String name, Augmentations augs) throws XNIException(Code)(Java Doc) public void endGroup(Augmentations augs) throws XNIException(Code)(Java Doc) public void endParameterEntity(String name, Augmentations augs) throws XNIException(Code)(Java Doc) public void externalEntityDecl(String name, XMLResourceIdentifier identifier, Augmentations augs) throws XNIException(Code)(Java Doc) public XMLDTDContentModelSource getDTDContentModelSource()(Code)(Java Doc) public XMLDTDSource getDTDSource()(Code)(Java Doc) public XMLDocumentSource getDocumentSource()(Code)(Java Doc) public void ignorableWhitespace(XMLString text, Augmentations augs) throws XNIException(Code)(Java Doc) public void ignoredCharacters(XMLString text, Augmentations augs) throws XNIException(Code)(Java Doc) public void internalEntityDecl(String name, XMLString text, XMLString nonNormalizedText, Augmentations augs) throws XNIException(Code)(Java Doc) public void notationDecl(String name, XMLResourceIdentifier identifier, Augmentations augs) throws XNIException(Code)(Java Doc) public void occurrence(short occurrence, Augmentations augs) throws XNIException(Code)(Java Doc) public void pcdata(Augmentations augs) throws XNIException(Code)(Java Doc) public void processingInstruction(String target, XMLString data, Augmentations augs) throws XNIException(Code)(Java Doc) protected void reset() throws XNIException(Code)(Java Doc) public void separator(short separator, Augmentations augs) throws XNIException(Code)(Java Doc) public void setDTDContentModelSource(XMLDTDContentModelSource source)(Code)(Java Doc) public void setDTDSource(XMLDTDSource source)(Code)(Java Doc) public void setDocumentSource(XMLDocumentSource source)(Code)(Java Doc) public void startAttlist(String elementName, Augmentations augs) throws XNIException(Code)(Java Doc) public void startCDATA(Augmentations augs) throws XNIException(Code)(Java Doc) public void startConditional(short type, Augmentations augs) throws XNIException(Code)(Java Doc) public void startContentModel(String elementName, Augmentations augs) throws XNIException(Code)(Java Doc) public void startDTD(XMLLocator locator, Augmentations augs) throws XNIException(Code)(Java Doc) public void startDocument(XMLLocator locator, String encoding, NamespaceContext namespaceContext, Augmentations augs) throws XNIException(Code)(Java Doc) public void startElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException(Code)(Java Doc) public void startExternalSubset(XMLResourceIdentifier identifier, Augmentations augmentations) throws XNIException(Code)(Java Doc) public void startGeneralEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augs) throws XNIException(Code)(Java Doc) public void startGroup(Augmentations augs) throws XNIException(Code)(Java Doc) public void startParameterEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augs) throws XNIException(Code)(Java Doc) public void textDecl(String version, String encoding, Augmentations augs) throws XNIException(Code)(Java Doc) public void unparsedEntityDecl(String name, XMLResourceIdentifier identifier, String notation, Augmentations augs) throws XNIException(Code)(Java Doc) public void xmlDecl(String version, String encoding, String standalone, Augmentations augs) throws XNIException(Code)(Java Doc)
|
|
|