public class AbstractDOMParser extends AbstractXMLDocumentParser
getDocument method. The actual pipeline is defined in
 parser configuration.| Modifier and Type | Field and Description | 
|---|---|
| protected static java.lang.String | CORE_DOCUMENT_CLASS_NAME | 
| protected static java.lang.String | CREATE_CDATA_NODES_FEATUREFeature id: create cdata nodes. | 
| protected static java.lang.String | CREATE_ENTITY_REF_NODESFeature id: create entity ref nodes. | 
| protected static java.lang.String | CURRENT_ELEMENT_NODE | 
| protected static java.lang.String | DEFAULT_DOCUMENT_CLASS_NAMEDefault document class name. | 
| protected static java.lang.String | DEFER_NODE_EXPANSIONFeature id: defer node expansion. | 
| protected static java.lang.String | DOCUMENT_CLASS_NAMEProperty id: document class name. | 
| protected java.util.Stack | fBaseURIStackBase uri stack | 
| protected boolean | fCreateCDATANodesCreate cdata nodes. | 
| protected boolean | fCreateEntityRefNodesCreate entity reference nodes. | 
| protected org.w3c.dom.CDATASection | fCurrentCDATASection | 
| protected int | fCurrentCDATASectionIndex | 
| protected EntityImpl | fCurrentEntityDecl | 
| protected org.w3c.dom.Node | fCurrentNodeCurrent node. | 
| protected int | fCurrentNodeIndex | 
| protected boolean | fDeferNodeExpansion | 
| protected DeferredDocumentImpl | fDeferredDocumentImpl | 
| protected int | fDeferredEntityDecl | 
| protected org.w3c.dom.Document | fDocumentThe document. | 
| protected java.lang.String | fDocumentClassNameThe document class name to use. | 
| protected CoreDocumentImpl | fDocumentImplThe default Xerces document implementation, if used. | 
| protected int | fDocumentIndex | 
| protected org.w3c.dom.DocumentType | fDocumentTypeThe document type node. | 
| protected int | fDocumentTypeIndex | 
| protected org.w3c.dom.ls.LSParserFilter | fDOMFilter | 
| protected DOMErrorHandlerWrapper | fErrorHandlerDOM L3 error handler | 
| protected boolean | fFilterRejectLSParserFilter: specifies that element with given QNAME and all its children
 must be rejected | 
| protected boolean | fFirstChunkTrue if saw the first chunk of characters | 
| protected boolean | fInCDATASectionTrue if inside CDATA section. | 
| protected boolean | fIncludeCommentsInclude Comments. | 
| protected boolean | fIncludeIgnorableWhitespaceInclude ignorable whitespace. | 
| protected boolean | fInDTDTrue if inside DTD. | 
| protected boolean | fInDTDExternalSubsetTrue if inside DTD external subset. | 
| protected boolean | fInEntityRefLSParserFilter: true if inside entity reference | 
| protected java.lang.StringBuffer | fInternalSubsetInternal subset buffer. | 
| protected boolean | fNamespaceAware | 
| protected int | fRejectedElementDepthLSParserFilter: tracks the element depth within a rejected subtree. | 
| protected org.w3c.dom.Node | fRootRoot element node. | 
| protected java.util.Stack | fSkippedElemStackLSParserFilter: store depth of skipped elements | 
| protected boolean | fStorePSVIWhether to store PSVI information in DOM tree. | 
| protected java.lang.StringBuffer | fStringBufferCharacter buffer | 
| protected static java.lang.String | INCLUDE_COMMENTS_FEATUREFeature id: include comments. | 
| protected static java.lang.String | INCLUDE_IGNORABLE_WHITESPACEFeature id: include ignorable whitespace. | 
| protected static java.lang.String | NAMESPACESFeature id: namespace. | 
| protected static java.lang.String | PSVI_DOCUMENT_CLASS_NAME | 
fDocumentSource, fDTDContentModelSource, fDTDSourceENTITY_RESOLVER, ERROR_HANDLER, fConfiguration| Modifier | Constructor and Description | 
|---|---|
| protected  | AbstractDOMParser(org.apache.xerces.xni.parser.XMLParserConfiguration config)Default constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | abort() | 
| void | attributeDecl(java.lang.String elementName,
             java.lang.String attributeName,
             java.lang.String type,
             java.lang.String[] enumeration,
             java.lang.String defaultType,
             org.apache.xerces.xni.XMLString defaultValue,
             org.apache.xerces.xni.XMLString nonNormalizedDefaultValue,
             org.apache.xerces.xni.Augmentations augs)An attribute declaration. | 
| void | characters(org.apache.xerces.xni.XMLString text,
          org.apache.xerces.xni.Augmentations augs)Character content. | 
| void | comment(org.apache.xerces.xni.XMLString text,
       org.apache.xerces.xni.Augmentations augs)A comment. | 
| protected org.w3c.dom.Attr | createAttrNode(org.apache.xerces.xni.QName attrQName) | 
| protected org.w3c.dom.Element | createElementNode(org.apache.xerces.xni.QName element) | 
| void | doctypeDecl(java.lang.String rootElement,
           java.lang.String publicId,
           java.lang.String systemId,
           org.apache.xerces.xni.Augmentations augs)Notifies of the presence of the DOCTYPE line in the document. | 
| void | dropDocumentReferences()Drops all references to the last DOM which was built by this parser. | 
| void | elementDecl(java.lang.String name,
           java.lang.String contentModel,
           org.apache.xerces.xni.Augmentations augs)An element declaration. | 
| void | emptyElement(org.apache.xerces.xni.QName element,
            org.apache.xerces.xni.XMLAttributes attributes,
            org.apache.xerces.xni.Augmentations augs)An empty element. | 
| void | endAttlist(org.apache.xerces.xni.Augmentations augs)The end of an attribute list. | 
| void | endCDATA(org.apache.xerces.xni.Augmentations augs)The end of a CDATA section. | 
| void | endConditional(org.apache.xerces.xni.Augmentations augs)The end of a conditional section. | 
| void | endDocument(org.apache.xerces.xni.Augmentations augs)The end of the document. | 
| void | endDTD(org.apache.xerces.xni.Augmentations augs)The end of the DTD. | 
| void | endElement(org.apache.xerces.xni.QName element,
          org.apache.xerces.xni.Augmentations augs)The end of an element. | 
| void | endExternalSubset(org.apache.xerces.xni.Augmentations augs)The end of the DTD external subset. | 
| void | endGeneralEntity(java.lang.String name,
                org.apache.xerces.xni.Augmentations augs)This method notifies the end of a general entity. | 
| void | endParameterEntity(java.lang.String name,
                  org.apache.xerces.xni.Augmentations augs)This method notifies the end of a parameter entity. | 
| void | externalEntityDecl(java.lang.String name,
                  org.apache.xerces.xni.XMLResourceIdentifier identifier,
                  org.apache.xerces.xni.Augmentations augs)An external entity declaration. | 
| org.w3c.dom.Document | getDocument()Returns the DOM document object. | 
| protected java.lang.String | getDocumentClassName()This method retreives the name of current document class. | 
| protected void | handleBaseURI(int node)Record baseURI information for the Element (by adding xml:base attribute)
 or for the ProcessingInstruction (by setting a baseURI field)
 Deferred DOM. | 
| protected void | handleBaseURI(org.w3c.dom.Node node)Record baseURI information for the Element (by adding xml:base attribute)
 or for the ProcessingInstruction (by setting a baseURI field)
 Non deferred DOM. | 
| void | ignorableWhitespace(org.apache.xerces.xni.XMLString text,
                   org.apache.xerces.xni.Augmentations augs)Ignorable whitespace. | 
| void | ignoredCharacters(org.apache.xerces.xni.XMLString text,
                 org.apache.xerces.xni.Augmentations augs)Characters within an IGNORE conditional section. | 
| void | internalEntityDecl(java.lang.String name,
                  org.apache.xerces.xni.XMLString text,
                  org.apache.xerces.xni.XMLString nonNormalizedText,
                  org.apache.xerces.xni.Augmentations augs)An internal entity declaration. | 
| void | notationDecl(java.lang.String name,
            org.apache.xerces.xni.XMLResourceIdentifier identifier,
            org.apache.xerces.xni.Augmentations augs)A notation declaration | 
| void | processingInstruction(java.lang.String target,
                     org.apache.xerces.xni.XMLString data,
                     org.apache.xerces.xni.Augmentations augs)A processing instruction. | 
| void | reset()Resets the parser state. | 
| protected void | setCharacterData(boolean sawChars) | 
| protected void | setDocumentClassName(java.lang.String documentClassName)This method allows the programmer to decide which document
 factory to use when constructing the DOM tree. | 
| void | setLocale(java.util.Locale locale)Set the locale to use for messages. | 
| void | startAttlist(java.lang.String elementName,
            org.apache.xerces.xni.Augmentations augs)The start of an attribute list. | 
| void | startCDATA(org.apache.xerces.xni.Augmentations augs)The start of a CDATA section. | 
| void | startConditional(short type,
                org.apache.xerces.xni.Augmentations augs)The start of a conditional section. | 
| void | startDocument(org.apache.xerces.xni.XMLLocator locator,
             java.lang.String encoding,
             org.apache.xerces.xni.NamespaceContext namespaceContext,
             org.apache.xerces.xni.Augmentations augs)The start of the document. | 
| void | startDTD(org.apache.xerces.xni.XMLLocator locator,
        org.apache.xerces.xni.Augmentations augs)The start of the DTD. | 
| void | startElement(org.apache.xerces.xni.QName element,
            org.apache.xerces.xni.XMLAttributes attributes,
            org.apache.xerces.xni.Augmentations augs)The start of an element. | 
| void | startExternalSubset(org.apache.xerces.xni.XMLResourceIdentifier identifier,
                   org.apache.xerces.xni.Augmentations augs)The start of the DTD external subset. | 
| void | startGeneralEntity(java.lang.String name,
                  org.apache.xerces.xni.XMLResourceIdentifier identifier,
                  java.lang.String encoding,
                  org.apache.xerces.xni.Augmentations augs)This method notifies the start of a general entity. | 
| void | startParameterEntity(java.lang.String name,
                    org.apache.xerces.xni.XMLResourceIdentifier identifier,
                    java.lang.String encoding,
                    org.apache.xerces.xni.Augmentations augs)This method notifies of the start of a parameter entity. | 
| void | textDecl(java.lang.String version,
        java.lang.String encoding,
        org.apache.xerces.xni.Augmentations augs)Notifies of the presence of a TextDecl line in an entity. | 
| void | unparsedEntityDecl(java.lang.String name,
                  org.apache.xerces.xni.XMLResourceIdentifier identifier,
                  java.lang.String notation,
                  org.apache.xerces.xni.Augmentations augs)An unparsed entity declaration. | 
| void | xmlDecl(java.lang.String version,
       java.lang.String encoding,
       java.lang.String standalone,
       org.apache.xerces.xni.Augmentations augs)Notifies of the presence of an XMLDecl line in the document. | 
any, element, empty, endContentModel, endGroup, getDocumentSource, getDTDContentModelSource, getDTDSource, occurrence, pcdata, separator, setDocumentSource, setDTDContentModelSource, setDTDSource, startContentModel, startGroupprotected static final java.lang.String NAMESPACES
protected static final java.lang.String CREATE_ENTITY_REF_NODES
protected static final java.lang.String INCLUDE_COMMENTS_FEATURE
protected static final java.lang.String CREATE_CDATA_NODES_FEATURE
protected static final java.lang.String INCLUDE_IGNORABLE_WHITESPACE
protected static final java.lang.String DEFER_NODE_EXPANSION
protected static final java.lang.String DOCUMENT_CLASS_NAME
protected static final java.lang.String CURRENT_ELEMENT_NODE
protected static final java.lang.String DEFAULT_DOCUMENT_CLASS_NAME
protected static final java.lang.String CORE_DOCUMENT_CLASS_NAME
protected static final java.lang.String PSVI_DOCUMENT_CLASS_NAME
protected DOMErrorHandlerWrapper fErrorHandler
protected boolean fInDTD
protected boolean fCreateEntityRefNodes
protected boolean fIncludeIgnorableWhitespace
protected boolean fIncludeComments
protected boolean fCreateCDATANodes
protected org.w3c.dom.Document fDocument
protected CoreDocumentImpl fDocumentImpl
protected boolean fStorePSVI
protected java.lang.String fDocumentClassName
protected org.w3c.dom.DocumentType fDocumentType
protected org.w3c.dom.Node fCurrentNode
protected org.w3c.dom.CDATASection fCurrentCDATASection
protected EntityImpl fCurrentEntityDecl
protected int fDeferredEntityDecl
protected final java.lang.StringBuffer fStringBuffer
protected java.lang.StringBuffer fInternalSubset
protected boolean fDeferNodeExpansion
protected boolean fNamespaceAware
protected DeferredDocumentImpl fDeferredDocumentImpl
protected int fDocumentIndex
protected int fDocumentTypeIndex
protected int fCurrentNodeIndex
protected int fCurrentCDATASectionIndex
protected boolean fInDTDExternalSubset
protected org.w3c.dom.Node fRoot
protected boolean fInCDATASection
protected boolean fFirstChunk
protected boolean fFilterReject
protected final java.util.Stack fBaseURIStack
protected int fRejectedElementDepth
protected java.util.Stack fSkippedElemStack
protected boolean fInEntityRef
protected org.w3c.dom.ls.LSParserFilter fDOMFilter
protected AbstractDOMParser(org.apache.xerces.xni.parser.XMLParserConfiguration config)
protected java.lang.String getDocumentClassName()
protected void setDocumentClassName(java.lang.String documentClassName)
documentClassName - The fully qualified class name of the
                      document factory to use when constructing
                      the DOM tree.getDocumentClassName(), 
DEFAULT_DOCUMENT_CLASS_NAMEpublic org.w3c.dom.Document getDocument()
public final void dropDocumentReferences()
public void reset()
           throws org.apache.xerces.xni.XNIException
reset in class AbstractXMLDocumentParserorg.xml.sax.SAXException - Thrown on initialization error.org.apache.xerces.xni.XNIExceptionpublic void setLocale(java.util.Locale locale)
locale - The locale object to use for localization of messages.public void startGeneralEntity(java.lang.String name,
                      org.apache.xerces.xni.XMLResourceIdentifier identifier,
                      java.lang.String encoding,
                      org.apache.xerces.xni.Augmentations augs)
                        throws org.apache.xerces.xni.XNIException
Note: This method is not called for entity references appearing as part of attribute values.
startGeneralEntity in interface org.apache.xerces.xni.XMLDocumentHandlerstartGeneralEntity in class AbstractXMLDocumentParsername - The name of the general entity.identifier - The resource identifier.encoding - The auto-detected IANA encoding name of the entity
                 stream. This value will be null in those situations
                 where the entity encoding is not auto-detected (e.g.
                 internal entities or a document entity that is
                 parsed from a java.io.Reader).augs - Additional information that may include infoset augmentationsorg.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void textDecl(java.lang.String version,
            java.lang.String encoding,
            org.apache.xerces.xni.Augmentations augs)
              throws org.apache.xerces.xni.XNIException
Note: This method will never be called for the document entity; it is only called for external general entities referenced in document content.
Note: This method is not called for entity references appearing as part of attribute values.
textDecl in interface org.apache.xerces.xni.XMLDocumentHandlertextDecl in interface org.apache.xerces.xni.XMLDTDHandlertextDecl in class AbstractXMLDocumentParserversion - The XML version, or null if not specified.encoding - The IANA encoding name of the entity.augs - Additional information that may include infoset augmentationsorg.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void comment(org.apache.xerces.xni.XMLString text,
           org.apache.xerces.xni.Augmentations augs)
             throws org.apache.xerces.xni.XNIException
comment in interface org.apache.xerces.xni.XMLDocumentHandlercomment in interface org.apache.xerces.xni.XMLDTDHandlercomment in class AbstractXMLDocumentParsertext - The text in the comment.augs - Additional information that may include infoset augmentationsorg.apache.xerces.xni.XNIException - Thrown by application to signal an error.public void processingInstruction(java.lang.String target,
                         org.apache.xerces.xni.XMLString data,
                         org.apache.xerces.xni.Augmentations augs)
                           throws org.apache.xerces.xni.XNIException
Typically, a processing instruction's data will contain a series of pseudo-attributes. These pseudo-attributes follow the form of element attributes but are not parsed or presented to the application as anything other than text. The application is responsible for parsing the data.
processingInstruction in interface org.apache.xerces.xni.XMLDocumentHandlerprocessingInstruction in interface org.apache.xerces.xni.XMLDTDHandlerprocessingInstruction in class AbstractXMLDocumentParsertarget - The target.data - The data or null if none specified.augs - Additional information that may include infoset augmentationsorg.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void startDocument(org.apache.xerces.xni.XMLLocator locator,
                 java.lang.String encoding,
                 org.apache.xerces.xni.NamespaceContext namespaceContext,
                 org.apache.xerces.xni.Augmentations augs)
                   throws org.apache.xerces.xni.XNIException
startDocument in interface org.apache.xerces.xni.XMLDocumentHandlerstartDocument in class AbstractXMLDocumentParserlocator - The system identifier of the entity if the entity
                 is external, null otherwise.encoding - The auto-detected IANA encoding name of the entity
                 stream. This value will be null in those situations
                 where the entity encoding is not auto-detected (e.g.
                 internal entities or a document entity that is
                 parsed from a java.io.Reader).namespaceContext - The namespace context in effect at the
                 start of this document.
                 This object represents the current context.
                 Implementors of this class are responsible
                 for copying the namespace bindings from the
                 the current context (and its parent contexts)
                 if that information is important.augs - Additional information that may include infoset augmentationsorg.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void xmlDecl(java.lang.String version,
           java.lang.String encoding,
           java.lang.String standalone,
           org.apache.xerces.xni.Augmentations augs)
             throws org.apache.xerces.xni.XNIException
xmlDecl in interface org.apache.xerces.xni.XMLDocumentHandlerxmlDecl in class AbstractXMLDocumentParserversion - The XML version.encoding - The IANA encoding name of the document, or null if
                   not specified.standalone - The standalone value, or null if not specified.augs - Additional information that may include infoset augmentationsorg.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void doctypeDecl(java.lang.String rootElement,
               java.lang.String publicId,
               java.lang.String systemId,
               org.apache.xerces.xni.Augmentations augs)
                 throws org.apache.xerces.xni.XNIException
doctypeDecl in interface org.apache.xerces.xni.XMLDocumentHandlerdoctypeDecl in class AbstractXMLDocumentParserrootElement - The name of the root element.publicId - The public identifier if an external DTD or null
                    if the external DTD is specified using SYSTEM.systemId - The system identifier if an external DTD, null
                    otherwise.augs - Additional information that may include infoset augmentationsorg.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void startElement(org.apache.xerces.xni.QName element,
                org.apache.xerces.xni.XMLAttributes attributes,
                org.apache.xerces.xni.Augmentations augs)
                  throws org.apache.xerces.xni.XNIException
startElement in interface org.apache.xerces.xni.XMLDocumentHandlerstartElement in class AbstractXMLDocumentParserelement - The name of the element.attributes - The element attributes.augs - Additional information that may include infoset augmentationsorg.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void emptyElement(org.apache.xerces.xni.QName element,
                org.apache.xerces.xni.XMLAttributes attributes,
                org.apache.xerces.xni.Augmentations augs)
                  throws org.apache.xerces.xni.XNIException
emptyElement in interface org.apache.xerces.xni.XMLDocumentHandleremptyElement in class AbstractXMLDocumentParserelement - The name of the element.attributes - The element attributes.augs - Additional information that may include infoset augmentationsorg.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void characters(org.apache.xerces.xni.XMLString text,
              org.apache.xerces.xni.Augmentations augs)
                throws org.apache.xerces.xni.XNIException
characters in interface org.apache.xerces.xni.XMLDocumentHandlercharacters in class AbstractXMLDocumentParsertext - The content.augs - Additional information that may include infoset augmentationsorg.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void ignorableWhitespace(org.apache.xerces.xni.XMLString text,
                       org.apache.xerces.xni.Augmentations augs)
                         throws org.apache.xerces.xni.XNIException
ignorableWhitespace in interface org.apache.xerces.xni.XMLDocumentHandlerignorableWhitespace in class AbstractXMLDocumentParsertext - The ignorable whitespace.augs - Additional information that may include infoset augmentationsorg.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void endElement(org.apache.xerces.xni.QName element,
              org.apache.xerces.xni.Augmentations augs)
                throws org.apache.xerces.xni.XNIException
endElement in interface org.apache.xerces.xni.XMLDocumentHandlerendElement in class AbstractXMLDocumentParserelement - The name of the element.augs - Additional information that may include infoset augmentationsorg.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void startCDATA(org.apache.xerces.xni.Augmentations augs)
                throws org.apache.xerces.xni.XNIException
startCDATA in interface org.apache.xerces.xni.XMLDocumentHandlerstartCDATA in class AbstractXMLDocumentParseraugs - Additional information that may include infoset augmentationsorg.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void endCDATA(org.apache.xerces.xni.Augmentations augs)
              throws org.apache.xerces.xni.XNIException
endCDATA in interface org.apache.xerces.xni.XMLDocumentHandlerendCDATA in class AbstractXMLDocumentParseraugs - Additional information that may include infoset augmentationsorg.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void endDocument(org.apache.xerces.xni.Augmentations augs)
                 throws org.apache.xerces.xni.XNIException
endDocument in interface org.apache.xerces.xni.XMLDocumentHandlerendDocument in class AbstractXMLDocumentParseraugs - Additional information that may include infoset augmentationsorg.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void endGeneralEntity(java.lang.String name,
                    org.apache.xerces.xni.Augmentations augs)
                      throws org.apache.xerces.xni.XNIException
Note: This method is not called for entity references appearing as part of attribute values.
endGeneralEntity in interface org.apache.xerces.xni.XMLDocumentHandlerendGeneralEntity in class AbstractXMLDocumentParsername - The name of the entity.augs - Additional information that may include infoset augmentationsorg.apache.xerces.xni.XNIException - Thrown by handler to signal an error.protected final void handleBaseURI(org.w3c.dom.Node node)
node - protected final void handleBaseURI(int node)
node - public void startDTD(org.apache.xerces.xni.XMLLocator locator,
            org.apache.xerces.xni.Augmentations augs)
              throws org.apache.xerces.xni.XNIException
startDTD in interface org.apache.xerces.xni.XMLDTDHandlerstartDTD in class AbstractXMLDocumentParserlocator - The document locator, or null if the document
                 location cannot be reported during the parsing of
                 the document DTD. However, it is strongly
                 recommended that a locator be supplied that can
                 at least report the base system identifier of the
                 DTD.augs - Additional information that may include infoset
                      augmentations.org.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void endDTD(org.apache.xerces.xni.Augmentations augs)
            throws org.apache.xerces.xni.XNIException
endDTD in interface org.apache.xerces.xni.XMLDTDHandlerendDTD in class AbstractXMLDocumentParseraugs - Additional information that may include infoset
                      augmentations.org.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void startConditional(short type,
                    org.apache.xerces.xni.Augmentations augs)
                      throws org.apache.xerces.xni.XNIException
startConditional in interface org.apache.xerces.xni.XMLDTDHandlerstartConditional in class AbstractXMLDocumentParsertype - The type of the conditional section. This value will
             either be CONDITIONAL_INCLUDE or CONDITIONAL_IGNORE.augs - Additional information that may include infoset
                      augmentations.org.apache.xerces.xni.XNIException - Thrown by handler to signal an error.XMLDTDHandler.CONDITIONAL_INCLUDE, 
XMLDTDHandler.CONDITIONAL_IGNOREpublic void endConditional(org.apache.xerces.xni.Augmentations augs)
                    throws org.apache.xerces.xni.XNIException
endConditional in interface org.apache.xerces.xni.XMLDTDHandlerendConditional in class AbstractXMLDocumentParseraugs - Additional information that may include infoset
                      augmentations.org.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void startExternalSubset(org.apache.xerces.xni.XMLResourceIdentifier identifier,
                       org.apache.xerces.xni.Augmentations augs)
                         throws org.apache.xerces.xni.XNIException
startExternalSubset in interface org.apache.xerces.xni.XMLDTDHandlerstartExternalSubset in class AbstractXMLDocumentParseraugs - Additional information that may include infoset
                      augmentations.identifier - The resource identifier.org.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void endExternalSubset(org.apache.xerces.xni.Augmentations augs)
                       throws org.apache.xerces.xni.XNIException
endExternalSubset in interface org.apache.xerces.xni.XMLDTDHandlerendExternalSubset in class AbstractXMLDocumentParseraugs - Additional information that may include infoset
                      augmentations.org.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void internalEntityDecl(java.lang.String name,
                      org.apache.xerces.xni.XMLString text,
                      org.apache.xerces.xni.XMLString nonNormalizedText,
                      org.apache.xerces.xni.Augmentations augs)
                        throws org.apache.xerces.xni.XNIException
internalEntityDecl in interface org.apache.xerces.xni.XMLDTDHandlerinternalEntityDecl in class AbstractXMLDocumentParsername - The name of the entity. Parameter entity names start with
             '%', whereas the name of a general entity is just the
             entity name.text - The value of the entity.nonNormalizedText - The non-normalized value of the entity. This
             value contains the same sequence of characters that was in
             the internal entity declaration, without any entity
             references expanded.augs - Additional information that may include infoset
                      augmentations.org.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void externalEntityDecl(java.lang.String name,
                      org.apache.xerces.xni.XMLResourceIdentifier identifier,
                      org.apache.xerces.xni.Augmentations augs)
                        throws org.apache.xerces.xni.XNIException
externalEntityDecl in interface org.apache.xerces.xni.XMLDTDHandlerexternalEntityDecl in class AbstractXMLDocumentParsername - The name of the entity. Parameter entity names start
                 with '%', whereas the name of a general entity is just
                 the entity name.identifier - An object containing all location information
                      pertinent to this notation.augs - Additional information that may include infoset
                      augmentations.org.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void startParameterEntity(java.lang.String name,
                        org.apache.xerces.xni.XMLResourceIdentifier identifier,
                        java.lang.String encoding,
                        org.apache.xerces.xni.Augmentations augs)
                          throws org.apache.xerces.xni.XNIException
startParameterEntity in interface org.apache.xerces.xni.XMLDTDHandlerstartParameterEntity in class AbstractXMLDocumentParsername - The name of the parameter entity.identifier - The resource identifier.encoding - The auto-detected IANA encoding name of the entity
                 stream. This value will be null in those situations
                 where the entity encoding is not auto-detected (e.g.
                 internal parameter entities).augs - Additional information that may include infoset
                      augmentations.org.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void endParameterEntity(java.lang.String name,
                      org.apache.xerces.xni.Augmentations augs)
                        throws org.apache.xerces.xni.XNIException
endParameterEntity in interface org.apache.xerces.xni.XMLDTDHandlerendParameterEntity in class AbstractXMLDocumentParsername - The name of the parameter entity.augs - Additional information that may include infoset
                      augmentations.org.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void unparsedEntityDecl(java.lang.String name,
                      org.apache.xerces.xni.XMLResourceIdentifier identifier,
                      java.lang.String notation,
                      org.apache.xerces.xni.Augmentations augs)
                        throws org.apache.xerces.xni.XNIException
unparsedEntityDecl in interface org.apache.xerces.xni.XMLDTDHandlerunparsedEntityDecl in class AbstractXMLDocumentParsername - The name of the entity.identifier - An object containing all location information
                      pertinent to this entity.notation - The name of the notation.augs - Additional information that may include infoset
                      augmentations.org.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void notationDecl(java.lang.String name,
                org.apache.xerces.xni.XMLResourceIdentifier identifier,
                org.apache.xerces.xni.Augmentations augs)
                  throws org.apache.xerces.xni.XNIException
notationDecl in interface org.apache.xerces.xni.XMLDTDHandlernotationDecl in class AbstractXMLDocumentParsername - The name of the notation.identifier - An object containing all location information
                      pertinent to this notation.augs - Additional information that may include infoset
                      augmentations.org.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void ignoredCharacters(org.apache.xerces.xni.XMLString text,
                     org.apache.xerces.xni.Augmentations augs)
                       throws org.apache.xerces.xni.XNIException
ignoredCharacters in interface org.apache.xerces.xni.XMLDTDHandlerignoredCharacters in class AbstractXMLDocumentParsertext - The ignored text.augs - Additional information that may include infoset
                      augmentations.org.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void elementDecl(java.lang.String name,
               java.lang.String contentModel,
               org.apache.xerces.xni.Augmentations augs)
                 throws org.apache.xerces.xni.XNIException
elementDecl in interface org.apache.xerces.xni.XMLDTDHandlerelementDecl in class AbstractXMLDocumentParsername - The name of the element.contentModel - The element content model.augs - Additional information that may include infoset
                      augmentations.org.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void attributeDecl(java.lang.String elementName,
                 java.lang.String attributeName,
                 java.lang.String type,
                 java.lang.String[] enumeration,
                 java.lang.String defaultType,
                 org.apache.xerces.xni.XMLString defaultValue,
                 org.apache.xerces.xni.XMLString nonNormalizedDefaultValue,
                 org.apache.xerces.xni.Augmentations augs)
                   throws org.apache.xerces.xni.XNIException
attributeDecl in interface org.apache.xerces.xni.XMLDTDHandlerattributeDecl in class AbstractXMLDocumentParserelementName - The name of the element that this attribute
                      is associated with.attributeName - The name of the attribute.type - The attribute type. This value will be one of
                      the following: "CDATA", "ENTITY", "ENTITIES",
                      "ENUMERATION", "ID", "IDREF", "IDREFS",
                      "NMTOKEN", "NMTOKENS", or "NOTATION".enumeration - If the type has the value "ENUMERATION" or
                      "NOTATION", this array holds the allowed attribute
                      values; otherwise, this array is null.defaultType - The attribute default type. This value will be
                      one of the following: "#FIXED", "#IMPLIED",
                      "#REQUIRED", or null.defaultValue - The attribute default value, or null if no
                      default value is specified.nonNormalizedDefaultValue - The attribute default value with no normalization
                      performed, or null if no default value is specified.augs - Additional information that may include infoset
                      augmentations.org.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void startAttlist(java.lang.String elementName,
                org.apache.xerces.xni.Augmentations augs)
                  throws org.apache.xerces.xni.XNIException
startAttlist in interface org.apache.xerces.xni.XMLDTDHandlerstartAttlist in class AbstractXMLDocumentParserelementName - The name of the element that this attribute
                    list is associated with.augs - Additional information that may include infoset
                      augmentations.org.apache.xerces.xni.XNIException - Thrown by handler to signal an error.public void endAttlist(org.apache.xerces.xni.Augmentations augs)
                throws org.apache.xerces.xni.XNIException
endAttlist in interface org.apache.xerces.xni.XMLDTDHandlerendAttlist in class AbstractXMLDocumentParseraugs - Additional information that may include infoset
                      augmentations.org.apache.xerces.xni.XNIException - Thrown by handler to signal an error.protected org.w3c.dom.Element createElementNode(org.apache.xerces.xni.QName element)
protected org.w3c.dom.Attr createAttrNode(org.apache.xerces.xni.QName attrQName)
protected void setCharacterData(boolean sawChars)
public void abort()
LSParser.abort()Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.