public class SAXParser extends AbstractSAXParser
AbstractSAXParser.AttributesProxy, AbstractSAXParser.LocatorProxy| Modifier and Type | Field and Description |
|---|---|
protected static String |
NOTIFY_BUILTIN_REFS
Feature identifier: notify built-in refereces.
|
protected static String |
REPORT_WHITESPACE |
protected static String |
SYMBOL_TABLE
Property identifier: symbol table.
|
protected static String |
XMLGRAMMAR_POOL
Property identifier: XML grammar pool.
|
ALLOW_UE_AND_NOTATION_EVENTS, DECLARATION_HANDLER, DOM_NODE, fContentHandler, fDeclaredAttrs, fDeclHandler, fDocumentHandler, fDTDHandler, fLexicalHandler, fLexicalHandlerParameterEntities, fNamespaceContext, fNamespacePrefixes, fNamespaces, fParseInProgress, fQName, fResolveDTDURIs, fStandalone, fUseEntityResolver2, fVersion, fXMLNSURIs, LEXICAL_HANDLER, NAMESPACE_PREFIXES, NAMESPACES, STRING_INTERNINGfDocumentSource, fDTDContentModelSource, fDTDSource, fInDTDENTITY_RESOLVER, ERROR_HANDLER, fConfigurationCONDITIONAL_IGNORE, CONDITIONAL_INCLUDEOCCURS_ONE_OR_MORE, OCCURS_ZERO_OR_MORE, OCCURS_ZERO_OR_ONE, SEPARATOR_CHOICE, SEPARATOR_SEQUENCE| Constructor and Description |
|---|
SAXParser()
Constructs a SAX parser using the dtd/xml schema parser configuration.
|
SAXParser(SymbolTable symbolTable)
Constructs a SAX parser using the specified symbol table.
|
SAXParser(SymbolTable symbolTable,
XMLGrammarPool grammarPool)
Constructs a SAX parser using the specified symbol table and
grammar pool.
|
SAXParser(XMLParserConfiguration config)
Constructs a SAX parser using the specified parser configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setProperty(String name,
Object value)
Sets the particular property in the underlying implementation of
org.xml.sax.XMLReader.
|
attributeDecl, characters, comment, doctypeDecl, elementDecl, endCDATA, endDocument, endDTD, endElement, endExternalSubset, endGeneralEntity, endNamespaceMapping, endParameterEntity, externalEntityDecl, getAttributePSVI, getAttributePSVIByName, getContentHandler, getDeclHandler, getDTDHandler, getElementPSVI, getEntityResolver, getErrorHandler, getFeature, getLexicalHandler, getProperty, ignorableWhitespace, internalEntityDecl, notationDecl, parse, parse, processingInstruction, reset, setContentHandler, setDeclHandler, setDocumentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setLexicalHandler, setLocale, startCDATA, startDocument, startElement, startExternalSubset, startGeneralEntity, startNamespaceMapping, startParameterEntity, unparsedEntityDecl, xmlDeclany, element, empty, emptyElement, endAttlist, endConditional, endContentModel, endGroup, getDocumentSource, getDTDContentModelSource, getDTDSource, ignoredCharacters, occurrence, pcdata, separator, setDocumentSource, setDTDContentModelSource, setDTDSource, startAttlist, startConditional, startContentModel, startDTD, startGroup, textDeclprotected static final String NOTIFY_BUILTIN_REFS
protected static final String REPORT_WHITESPACE
protected static final String SYMBOL_TABLE
protected static final String XMLGRAMMAR_POOL
public SAXParser(XMLParserConfiguration config)
public SAXParser()
public SAXParser(SymbolTable symbolTable)
public SAXParser(SymbolTable symbolTable, XMLGrammarPool grammarPool)
public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException
setProperty in interface XMLReadersetProperty in class AbstractSAXParsername - The unique identifier (URI) of the property
being set.value - The value to which the property is being set.SAXNotRecognizedException - If the
requested property is not known.SAXNotSupportedException - If the
requested property is known, but the requested
value is not supported.Copyright © 2018–2021 mhoffrogge. All rights reserved.