Instantiate this parser to parse a fast infoset document in accordance with the SAX API.
More than one fast infoset document may be decoded from the
java..
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| protected EncodingAlgorithmContentHandler | |
| protected AttributesHolder | |
| protected boolean | |
| protected ContentHandler | _contentHandler
Reference to content handler. |
| protected DeclHandler | _declHandler
Reference to DTD declaration handler. |
| protected DTDHandler | _dtdHandler
Reference to dtd handler. |
| protected EntityResolver | _entityResolver
Reference to entity resolver. |
| protected ErrorHandler | _errorHandler
Reference to error handler. |
| protected LexicalHandler | _lexicalHandler
Reference to lexical handler. |
| protected int[] | |
| protected boolean | _namespacePrefixesFeature
SAX Namespace attributes features |
| protected int | |
| protected PrimitiveTypeContentHandler | |
| protected BuiltInEncodingAlgorithmState | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ContentHandler | getContentHandler()
Implements org. Return the current content handler. |
| public DeclHandler | getDeclHandler()
Implements org. Return the current DTD declaration handler. |
| public DTDHandler | |
| public EncodingAlgorithmContentHandler | getEncodingAlgorithmContentHandler()
Implements org. Return the current encoding algorithm handler. |
| public EntityResolver | getEntityResolver()
Implements org. Return the current entity resolver. |
| public ErrorHandler | getErrorHandler()
Implements org. Return the current error handler. |
| public boolean | getFeature(String name)
Implements org. Look up the value of a feature flag. |
| public LexicalHandler | getLexicalHandler()
Implements org. Return the current lexical handler. |
| public PrimitiveTypeContentHandler | getPrimitiveTypeContentHandler()
Implements org. Return the current primitive type handler. |
| public Object | getProperty(String name)
Implements org. Look up the value of a property. |
| public void | |
| public void | parse(String systemId)
Implements org. Parse an XML document from a system identifier (URI). |
| public final void | parse(InputStream s)
Implements org. Parse a fast infoset document from an InputStream. |
| public final void | |
| protected final void | |
| protected final void | |
| protected final void | |
| protected final void | processBuiltInEncodingAlgorithmAsCharacters(StringBuffer buffer)
Deprecated
for removal since 2.1.1. Use
processBuiltInEncodingAlgorithmAsCharacters(StringBuilder) instead.
|
| protected final Object | |
| protected final void | |
| protected final void | |
| protected final void | |
| protected final void | |
| protected final void | |
| protected final void | |
| protected final void | |
| protected final void | |
| protected final void | |
| private void | |
| protected void | |
| public void | setContentHandler(ContentHandler handler)
Implements org. Allow an application to register a content event handler. |
| public void | setDeclHandler(DeclHandler handler)
Implements org. Allow an application to register a DTD declaration handler. |
| public void | setDTDHandler(DTDHandler handler)
Implements org. Allow an application to register a DTD event handler. |
| public void | setEncodingAlgorithmContentHandler(EncodingAlgorithmContentHandler handler)
Implements org. Allow an application to register an encoding algorithm handler. |
| public void | setEntityResolver(EntityResolver resolver)
Implements org. Allow an application to register an entity resolver. |
| public void | setErrorHandler(ErrorHandler handler)
Implements org. Allow an application to register an error event handler. |
| public void | setFeature(String name, boolean value)
Implements org. Set the value of a feature flag. |
| public void | setLexicalHandler(LexicalHandler handler)
Implements org. Allow an application to register a lexical handler. |
| public void | setPrimitiveTypeContentHandler(PrimitiveTypeContentHandler handler)
Implements org. Allow an application to register a primitive type handler. |
| public void | setProperty(String name, Object value)
Implements org. Set the value of a property. |