Deprecated
as a consequence of Parser being deprecated. See corresponding docs for further information.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | SAXParserImpl.AttributesWrapper
Deprecated
as a consequence of
AttributeList being deprecated.
|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| protected AttributeCollector | |
| private int | |
| protected ContentHandler | |
| private DeclHandler | |
| protected DTDHandler | |
| private EntityResolver | |
| private ErrorHandler | |
| private LexicalHandler | |
| protected XmlScanner | _scanner
Since the stream reader would mostly be just a wrapper around the underlying scanner (its main job is to implement Stax interface), we can and should just use the scanner. |
| pack-priv final InputFactoryImpl |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private final void | |
| private final void | |
| private final void | fireEvents()
This is the actual "tight event loop" that will send all events between start and end document events. |
| private final void | |
| public int | getColumnNumber()
Implements org. |
| public ContentHandler | getContentHandler()
Implements org. |
| public DTDHandler | |
| public String | getEncoding()
Implements org. |
| public EntityResolver | getEntityResolver()
Implements org. |
| public ErrorHandler | getErrorHandler()
Implements org. |
| public boolean | getFeature(String
The feature name, which is a fully-qualified URI. name)Implements org. |
| public int | getIndex(String
The qualified (prefixed) name. qName)Implements org. |
| public int | getIndex(String
The Namespace URI, or the empty string if
the name has no Namespace URI. uri, String The attribute's local name. localName)Implements org. |
| public int | getLength()
Implements org. |
| public int | getLineNumber()
Implements org. |
| public String | getLocalName(int
The attribute index (zero-based). index)Implements org. |
| public final Parser | getParser()
Implements abstract javax.
Deprecated
as a consequence of
Returns the SAX parser that is encapsulated by the
implementation of this class.
Parser being deprecated.
|
| public Object | getProperty(String
The property name, which is a fully-qualified URI. name)Implements abstract javax. Implements org. |
| public String | getPublicId()
Implements org. |
| public String | getQName(int
The attribute index (zero-based). index)Implements org. |
| public String | getSystemId()
Implements org. |
| public String | getType(int
The attribute index (zero-based). index)Implements org. |
| public String | getType(String
The XML qualified name. qName)Implements org. |
| public String | getType(String
The Namespace URI, or the empty String if the
name has no Namespace URI. uri, String The local name of the attribute. localName)Implements org. |
| public String | getURI(int
The attribute index (zero-based). index)Implements org. |
| public String | getValue(int
The attribute index (zero-based). index)Implements org. |
| public String | getValue(String
The XML qualified name. qName)Implements org. |
| public String | getValue(String
The Namespace URI, or the empty String if the
name has no Namespace URI. uri, String The local name of the attribute. localName)Implements org. |
| public final XMLReader | getXMLReader()
Implements abstract javax. org.xml.sax.XMLReader that is encapsulated by the
implementation of this class.
|
| public String | getXMLVersion()
Implements org. |
| public boolean | isDeclared(int
The attribute index (zero-based). index)Implements org. |
| public boolean | isDeclared(String
The XML qualified (prefixed) name. qName)Implements org. |
| public boolean | isDeclared(String
The Namespace URI, or the empty string if
the name has no Namespace URI. uri, String The attribute's local name. localName)Implements org. |
| public boolean | isNamespaceAware()
Implements abstract javax. |
| public boolean | isSpecified(int
The attribute index (zero-based). index)Implements org. |
| public boolean | isSpecified(String
The XML qualified (prefixed) name. qName)Implements org. |
| public boolean | isSpecified(String
The Namespace URI, or the empty string if
the name has no Namespace URI. uri, String The attribute's local name. localName)Implements org. |
| public boolean | isValidating()
Implements abstract javax. |
| public void | parse(InputSource
The InputSource containing the content to be parsed. is, HandlerBase The SAX HandlerBase to use. hb)Overrides javax.
Deprecated
as a consequence of
Parse the content given HandlerBase being deprecated.
org.xml.sax.InputSource
as XML using the specified
org.xml.sax.HandlerBase.
|
| public void | parse(InputSource
The InputSource containing the content to be parsed. is, DefaultHandler The SAX DefaultHandler to use. dh)Overrides javax. org.xml.sax.InputSource
as XML using the specified
org.xml.sax.helpers.DefaultHandler.
|
| public void | parse(InputSource
The input source for the top-level of the
XML document. input)Implements org. |
| public void | parse(String
The system identifier (URI). systemId)Implements org. |
| public void | setContentHandler(ContentHandler
The content handler. handler)Implements org. |
| public void | setDocumentHandler(DocumentHandler
The document handler. handler)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. handler)Implements org. |
| public void | setEntityResolver(EntityResolver
The object for resolving entities. resolver)Implements org. |
| public void | setErrorHandler(ErrorHandler
The error handler. handler)Implements org. |
| public void | setFeature(String
The feature name, which is a fully-qualified URI. name, boolean The requested value of the feature (true or false). value)Implements org. |
| public void | setLocale(Locale
A Java Locale object. locale)Implements org. |
| public void | setProperty(String
The property name, which is a fully-qualified URI. name, Object The requested value for the property. value)Implements abstract javax. Implements org. |
| private void | |
| private void |