Deprecated
as a consequence of Parser being deprecated. See corresponding docs for further information.
| Modifier and Type | Class and Description |
|---|---|
| protected static class | AbstractSAXParser.AttributesProxy
Deprecated
as a consequence of
AttributeList being deprecated.
|
| protected static class |
| Modifier and Type | Field and Description |
|---|---|
| protected static final String | ALLOW_UE_AND_NOTATION_EVENTS
Feature identifier: allow notation and unparsed entity events to be sent out of order. |
| protected static final String | DECLARATION_HANDLER
Property id: declaration handler. |
| protected static final String | DOM_NODE
Property id: DOM node. |
| private final AbstractSAXParser. | fAttributesProxy
Deprecated
as a consequence of
AbstractSAXParser.AttributesProxy being deprecated.
|
| private Augmentations | |
| protected ContentHandler | fContentHandler
Content handler. |
| protected SymbolHash | |
| protected DeclHandler | fDeclHandler
Decl handler. |
| protected DocumentHandler | fDocumentHandler
Document handler. |
| protected DTDHandler | fDTDHandler
DTD handler. |
| protected LexicalHandler | fLexicalHandler
Lexical handler. |
| protected boolean | fLexicalHandlerParameterEntities
Lexical handler parameter entities. |
| protected NamespaceContext | fNamespaceContext
Namespace context |
| protected boolean | fNamespacePrefixes
Namespace prefixes. |
| protected boolean | fNamespaces
Namespaces. |
| protected boolean | fParseInProgress
True if a parse is in progress. |
| protected final QName | |
| protected boolean | fResolveDTDURIs
Resolve DTD URIs. |
| protected boolean | fStandalone
Standalone document declaration. |
| protected boolean | fUseEntityResolver2
Use EntityResolver2. |
| protected String | |
| protected boolean | fXMLNSURIs
XMLNS URIs: Namespace declarations in the http://www.w3.org/2000/xmlns/ namespace. |
| protected static final String | LEXICAL_HANDLER
Property id: lexical handler. |
| protected static final String | NAMESPACES
Feature identifier: namespaces. |
| private static final String[] | RECOGNIZED_FEATURES
Recognized features. |
| private static final String[] | RECOGNIZED_PROPERTIES
Hides org. |
| protected static final String | STRING_INTERNING
Feature id: string interning. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | attributeDecl(String
The name of the element that this attribute
is associated with. elementName, String The name of the attribute. attributeName, String The attribute type. This value will be one of
the following: "CDATA", "ENTITY", "ENTITIES",
"ENUMERATION", "ID", "IDREF", "IDREFS",
"NMTOKEN", "NMTOKENS", or "NOTATION". type, String[] If the type has the value "ENUMERATION" or
"NOTATION", this array holds the allowed attribute
values; otherwise, this array is null. enumeration, String The attribute default type. This value will be
one of the following: "#FIXED", "#IMPLIED",
"#REQUIRED", or null. defaultType, XMLString The attribute default value, or null if no
default value is specified. defaultValue, XMLString The attribute default value with no normalization
performed, or null if no default value is specified. nonNormalizedDefaultValue, Augmentations Additional information that may include infoset
augmentations. augs)Overrides org. Implements org. |
| public void | characters(XMLString
The content. text, Augmentations Additional information that may include infoset augmentations augs)Overrides org. Implements org. |
| public void | comment(XMLString
The text in the comment. text, Augmentations Additional information that may include infoset augmentations augs)Overrides org. Implements org. |
| public void | doctypeDecl(String
The name of the root element. rootElement, String The public identifier if an external DTD or null
if the external DTD is specified using SYSTEM. publicId, String The system identifier if an external DTD, null
otherwise. systemId, Augmentations Additional information that may include infoset augmentations augs)Overrides org. Implements org. |
| public void | elementDecl(String
The name of the element. name, String The element content model. contentModel, Augmentations Additional information that may include infoset
augmentations. augs)Overrides org. Implements org. |
| public void | endCDATA(Augmentations
Additional information that may include infoset augmentations augs)Overrides org. Implements org. |
| public void | endDocument(Augmentations
Additional information that may include infoset augmentations augs)Overrides org. Implements org. |
| public void | endDTD(Augmentations
Additional information that may include infoset
augmentations. augs)Overrides org. Implements org. |
| public void | endElement(QName
The name of the element. element, Augmentations Additional information that may include infoset augmentations augs)Overrides org. Implements org. |
| public void | endExternalSubset(Augmentations
Additional information that may include infoset
augmentations. augs)Overrides org. Implements org. |
| public void | endGeneralEntity(String
The name of the entity. name, Augmentations Additional information that may include infoset augmentations augs)Overrides org. Implements org. |
| protected final void | |
| public void | endParameterEntity(String
The name of the parameter entity. name, Augmentations Additional information that may include infoset
augmentations. augs)Overrides org. Implements org. |
| public void | externalEntityDecl(String
The name of the entity. Parameter entity names start
with '%', whereas the name of a general entity is just
the entity name. name, XMLResourceIdentifier An object containing all location information
pertinent to this entity. identifier, Augmentations Additional information that may include infoset
augmentations. augs)Overrides org. Implements org. |
| public AttributePSVI | getAttributePSVI(int
The attribute index. index)Implements org. AttributePSVI given the index of an attribute
information item in the current element's attribute list.
|
| public AttributePSVI | getAttributePSVIByName(String
The namespace name of an attribute. uri, String The local name of an attribute. localname)Implements org. AttributePSVI given the namespace name and the
local name of an attribute information item in the current element's
attribute list.
|
| public ContentHandler | Returns: The current content handler, or null if none has been registered.Implements org. |
| protected DeclHandler | |
| public DTDHandler | Returns: The current DTD handler, or null if none has been registered.Implements org. |
| public ElementPSVI | getElementPSVI()
Implements org. |
| public EntityResolver | Returns: The current entity resolver, or null if none has been registered.Implements org. |
| public ErrorHandler | Returns: The current error handler, or null if none has been registered.Implements org. |
| public boolean | Returns: The current state of the feature.The unique identifier (URI) of the feature
being set. featureId)Implements org. |
| protected LexicalHandler | |
| public Object | Returns: The current value of the property.The unique identifier (URI) of the property
being set. propertyId)Implements org. |
| public void | ignorableWhitespace(XMLString
The ignorable whitespace. text, Augmentations Additional information that may include infoset augmentations augs)Overrides org. Implements org. |
| public void | internalEntityDecl(String
The name of the entity. Parameter entity names start with
'%', whereas the name of a general entity is just the
entity name. name, XMLString The value of the entity. text, XMLString 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. nonNormalizedText, Augmentations Additional information that may include infoset
augmentations. augs)Overrides org. Implements org. |
| public void | notationDecl(String
The name of the notation. name, XMLResourceIdentifier An object containing all location information
pertinent to this notation. identifier, Augmentations Additional information that may include infoset
augmentations. augs)Overrides org. Implements org. |
| public void | parse(String
The system identifier (URI). systemId)Implements org. |
| public void | parse(InputSource inputSource)
Implements org. |
| public void | processingInstruction(String
The target. target, XMLString The data or null if none specified. data, Augmentations Additional information that may include infoset augmentations augs)Overrides org. Implements org. |
| public void | reset()
Overrides org. |
| public void | setContentHandler(ContentHandler
The content handler. contentHandler)Implements org. |
| protected void | |
| public void | setDocumentHandler(DocumentHandler
The document handler. documentHandler)Implements org.
Deprecated
as a consequence of
Allow an application to register a document event handler.
DocumentHandler being deprecated.
|
| public void | setDTDHandler(DTDHandler
The DTD handler. dtdHandler)Implements org. |
| public void | setEntityResolver(EntityResolver
The new entity resolver. Passing a null value will
uninstall the currently installed resolver. resolver)Implements org. |
| public void | setErrorHandler(ErrorHandler
The error handler. errorHandler)Implements org. |
| public void | setFeature(String
The unique identifier (URI) of the feature. featureId, boolean The requested state of the feature (true or false). state)Implements org. |
| protected void | |
| public void | setLocale(Locale
The locale object to use for localization of messages. locale)Implements org. |
| public void | setProperty(String
The unique identifier (URI) of the property
being set. propertyId, Object The value to which the property is being set. value)Implements org. |
| public void | startCDATA(Augmentations
Additional information that may include infoset augmentations augs)Overrides org. Implements org. |
| public void | startDocument(XMLLocator
The document locator, or null if the document
location cannot be reported during the parsing
of this document. However, it is strongly
recommended that a locator be supplied that can
at least report the system identifier of the
document. locator, String 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). encoding, 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. namespaceContext, Augmentations Additional information that may include infoset augmentations augs)Overrides org. Implements org. |
| public void | startElement(QName
The name of the element. element, XMLAttributes The element attributes. attributes, Augmentations Additional information that may include infoset augmentations augs)Overrides org. Implements org. |
| public void | startExternalSubset(XMLResourceIdentifier
The resource identifier. identifier, Augmentations Additional information that may include infoset
augmentations. augs)Overrides org. Implements org. |
| public void | startGeneralEntity(String
The name of the entity. name, XMLResourceIdentifier The resource identifier. identifier, String 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). encoding, Augmentations Additional information that may include infoset augmentations augs)Overrides org. Implements org. |
| protected final void | |
| public void | startParameterEntity(String
The name of the parameter entity. name, XMLResourceIdentifier The resource identifier. identifier, String 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). encoding, Augmentations Additional information that may include infoset
augmentations. augs)Overrides org. Implements org. |
| public void | unparsedEntityDecl(String
The name of the entity. name, XMLResourceIdentifier An object containing all location information
pertinent to this entity. identifier, String The name of the notation. notation, Augmentations Additional information that may include infoset
augmentations. augs)Overrides org. Implements org. |
| public void | xmlDecl(String
The XML version. version, String The IANA encoding name of the document, or null if
not specified. encoding, String The standalone value, or null if not specified. standalone, Augmentations Additional information that may include infoset augmentations augs)Overrides org. Implements org. |