javax.xml.parsers.SAXParser.
| Modifier and Type | Class and Description |
|---|---|
| public static class | SAXParserImpl.
References Deprecated
Extension of SAXParser.
SAXParser is deprecated or references (maybe indirectly) at least one deprecated element.
|
| Modifier and Type | Field and Description |
|---|---|
| private final EntityResolver | fInitEntityResolver
Initial EntityResolver |
| private final ErrorHandler | fInitErrorHandler
Initial ErrorHandler |
| private final ValidationManager | |
| private final XMLComponent | |
| private final XMLComponentManager | |
| private final XMLSecurityManager | |
| private final XMLSecurityPropertyManager | |
| private final UnparsedEntityHandler | |
| private final Schema | |
| private static final String | NAMESPACE_PREFIXES_FEATURE
Feature identifier: namespace prefixes. |
| private static final String | NAMESPACES_FEATURE
Feature identifier: namespaces. |
| private String | |
| private static final String | SECURITY_MANAGER
Property identifier: security manager. |
| private static final String | VALIDATION_FEATURE
Feature identifier: validation. |
| private static final String | XINCLUDE_FEATURE
Feature identifier: XInclude processing |
| private static final String | XML_SECURITY_PROPERTY_MANAGER
Property identifier: Security property manager. |
| private final SAXParserImpl. | xmlReader
References Deprecated
SAXParserImpl.JAXPSAXParser is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static final String | XMLSCHEMA_VALIDATION_FEATURE
Feature identifier: XML Schema validation |
| Access | Constructor and Description |
|---|---|
| pack-priv | SAXParserImpl(SAXParserFactoryImpl spf, Map<String, Boolean>
Map of SAX features, may be null features)Create a SAX parser with the associated features |
| pack-priv | SAXParserImpl(SAXParserFactoryImpl spf, Map<String, Boolean>
Map of SAX features, may be null features, boolean secureProcessing)Create a SAX parser with the associated features |
| Modifier and Type | Method and Description |
|---|---|
| public AttributePSVI | getAttributePSVI(int index)
Implements com. Provides |
| public AttributePSVI | getAttributePSVIByName(String uri, String localname)
Implements com. Provides |
| public ElementPSVI | getElementPSVI()
Implements com. Provides the post schema validation item for the current element information item. |
| public Parser | getParser()
Implements abstract javax.
References Deprecated
Parser is deprecated or references (maybe indirectly) at least one deprecated element.
Returns the SAX parser that is encapsulated by the implementation of this class. |
| public Object | getProperty(String name)
Implements abstract javax. returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader. |
| public Schema | getSchema()
Overrides javax. Get a reference to the |
| public XMLReader | getXMLReader()
Implements abstract javax. Returns the XMLReader that is encapsulated by the implementation of this class. |
| public boolean | isNamespaceAware()
Implements abstract javax. Indicates whether or not this parser is configured to understand namespaces. |
| public boolean | isValidating()
Implements abstract javax. Indicates whether or not this parser is configured to validate XML documents. |
| public boolean | Returns: the state of XInclude processing modeOverrides javax. Gets the XInclude processing mode for this parser |
| public void | parse(InputSource is, DefaultHandler dh)
Overrides javax. Parse the content given |
| public void | parse(InputSource is, HandlerBase hb)
Overrides javax.
References Deprecated
HandlerBase is deprecated or references (maybe indirectly) at least one deprecated element.
Parse the content given |
| public void | reset()
Overrides javax. Reset this |
| private void | setFeatures(Map<String, Boolean> features)
Set any features of our XMLReader based on any features set on the SAXParserFactory. |
| public void | setProperty(String name, Object value)
Implements abstract javax. Sets the particular property in the underlying implementation of org.xml.sax.XMLReader. |
| fInitEntityResolver | back to summary |
|---|---|
| private final EntityResolver fInitEntityResolver Initial EntityResolver | |
| fInitErrorHandler | back to summary |
|---|---|
| private final ErrorHandler fInitErrorHandler Initial ErrorHandler | |
| fSchemaValidationManager | back to summary |
|---|---|
| private final ValidationManager fSchemaValidationManager | |
| fSchemaValidator | back to summary |
|---|---|
| private final XMLComponent fSchemaValidator | |
| fSchemaValidatorComponentManager | back to summary |
|---|---|
| private final XMLComponentManager fSchemaValidatorComponentManager | |
| fSecurityManager | back to summary |
|---|---|
| private final XMLSecurityManager fSecurityManager | |
| fSecurityPropertyMgr | back to summary |
|---|---|
| private final XMLSecurityPropertyManager fSecurityPropertyMgr | |
| fUnparsedEntityHandler | back to summary |
|---|---|
| private final UnparsedEntityHandler fUnparsedEntityHandler | |
| grammar | back to summary |
|---|---|
| private final Schema grammar | |
| NAMESPACE_PREFIXES_FEATURE | back to summary |
|---|---|
| private static final String NAMESPACE_PREFIXES_FEATURE Feature identifier: namespace prefixes. | |
| NAMESPACES_FEATURE | back to summary |
|---|---|
| private static final String NAMESPACES_FEATURE Feature identifier: namespaces. | |
| schemaLanguage | back to summary |
|---|---|
| private String schemaLanguage | |
| SECURITY_MANAGER | back to summary |
|---|---|
| private static final String SECURITY_MANAGER Property identifier: security manager. | |
| VALIDATION_FEATURE | back to summary |
|---|---|
| private static final String VALIDATION_FEATURE Feature identifier: validation. | |
| XINCLUDE_FEATURE | back to summary |
|---|---|
| private static final String XINCLUDE_FEATURE Feature identifier: XInclude processing | |
| XML_SECURITY_PROPERTY_MANAGER | back to summary |
|---|---|
| private static final String XML_SECURITY_PROPERTY_MANAGER Property identifier: Security property manager. | |
| xmlReader | back to summary |
|---|---|
| private final SAXParserImpl. References Deprecated
See corresponding docs for further information. | |
| XMLSCHEMA_VALIDATION_FEATURE | back to summary |
|---|---|
| private static final String XMLSCHEMA_VALIDATION_FEATURE Feature identifier: XML Schema validation | |
| SAXParserImpl | back to summary |
|---|---|
| pack-priv SAXParserImpl(SAXParserFactoryImpl spf, Map<String, Boolean> features) throws SAXException Create a SAX parser with the associated features | |
| SAXParserImpl | back to summary |
|---|---|
| pack-priv SAXParserImpl(SAXParserFactoryImpl spf, Map<String, Boolean> features, boolean secureProcessing) throws SAXException Create a SAX parser with the associated features | |
| getAttributePSVI | back to summary |
|---|---|
| public AttributePSVI getAttributePSVI(int index) Implements com. Doc from com. Provides | |
| getAttributePSVIByName | back to summary |
|---|---|
| public AttributePSVI getAttributePSVIByName(String uri, String localname) Implements com. Doc from com. Provides | |
| getElementPSVI | back to summary |
|---|---|
| public ElementPSVI getElementPSVI() Implements com. Doc from com. Provides the post schema validation item for the current element
information item. The method must be called by an application while
in the scope of the methods which report the start and end of an
element. For example, for SAX the method must be called within the
scope of the document handler's | |
| getParser | back to summary |
|---|---|
| public Parser getParser() throws SAXException Implements abstract javax. Doc from javax. References Deprecated
See corresponding docs for further information. Returns the SAX parser that is encapsulated by the implementation of this class.
| |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException Implements abstract javax. returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader.
| |
| getSchema | back to summary |
|---|---|
| public Schema getSchema() Overrides javax. Doc from javax. Get a reference to the If no schema is being used, | |
| getXMLReader | back to summary |
|---|---|
| public XMLReader getXMLReader() Implements abstract javax. Returns the XMLReader that is encapsulated by the implementation of this class. | |
| isNamespaceAware | back to summary |
|---|---|
| public boolean isNamespaceAware() Implements abstract javax. Doc from javax. Indicates whether or not this parser is configured to understand namespaces. | |
| isValidating | back to summary |
|---|---|
| public boolean isValidating() Implements abstract javax. Doc from javax. Indicates whether or not this parser is configured to validate XML documents. | |
| isXIncludeAware | back to summary |
|---|---|
| public boolean isXIncludeAware() Overrides javax. Gets the XInclude processing mode for this parser
| |
| parse | back to summary |
|---|---|
| public void parse(InputSource is, DefaultHandler dh) throws SAXException, IOException Overrides javax. Doc from javax. Parse the content given
| |
| parse | back to summary |
|---|---|
| public void parse(InputSource is, HandlerBase hb) throws SAXException, IOException Overrides javax. Doc from javax. References Deprecated
See corresponding docs for further information. Parse the content given
| |
| reset | back to summary |
|---|---|
| public void reset() Overrides javax. Doc from javax. Reset this
The reset | |
| setFeatures | back to summary |
|---|---|
| private void setFeatures(Map<String, Boolean> features) throws SAXNotSupportedException, SAXNotRecognizedException Set any features of our XMLReader based on any features set on the SAXParserFactory. XXX Does not handle possible conflicts between SAX feature names and JAXP specific feature names, eg. SAXParserFactory.isValidating() | |
| setProperty | back to summary |
|---|---|
| public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException Implements abstract javax. Sets the particular property in the underlying implementation of org.xml.sax.XMLReader.
| |
References Deprecated
SAXParser is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final Map | |
| private final SAXParserImpl | |
| private XMLSecurityManager | |
| private XMLSecurityPropertyManager |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv | JAXPSAXParser(SAXParserImpl saxParser, XMLSecurityPropertyManager securityPropertyMgr, XMLSecurityManager securityManager)
|
| Modifier and Type | Method and Description |
|---|---|
| public synchronized boolean | getFeature(String name)
Overrides com. Implements org. Query the state of a feature. |
| pack-priv boolean | |
| pack-priv Locale | |
| public synchronized Object | getProperty(String name)
Overrides com. Implements org. Query the value of a property. |
| pack-priv Object | |
| pack-priv XMLParserConfiguration | |
| public void | parse(InputSource inputSource)
Overrides com. Implements org. parse |
| public void | parse(String systemId)
Overrides com. Implements org. Parses the input source specified by the given system identifier. |
| private void | |
| pack-priv synchronized void | |
| public synchronized void | setFeature(String name, boolean value)
Overrides com. Implements org. Override SAXParser's setFeature method to track the initial state of features. |
| pack-priv void | |
| public synchronized void | setProperty(String name, Object value)
Overrides com. Implements org. Override SAXParser's setProperty method to track the initial state of properties. |
| pack-priv void | |
| private void | |
| private void |
| fInitFeatures | back to summary |
|---|---|
| private final Map<String, Boolean> fInitFeatures | |
| fInitProperties | back to summary |
|---|---|
| private final Map<String, Object> fInitProperties | |
| fSAXParser | back to summary |
|---|---|
| private final SAXParserImpl fSAXParser | |
| fSecurityManager | back to summary |
|---|---|
| private XMLSecurityManager fSecurityManager | |
| fSecurityPropertyMgr | back to summary |
|---|---|
| private XMLSecurityPropertyManager fSecurityPropertyMgr | |
| JAXPSAXParser | back to summary |
|---|---|
| public JAXPSAXParser() | |
| JAXPSAXParser | back to summary |
|---|---|
| pack-priv JAXPSAXParser(SAXParserImpl saxParser, XMLSecurityPropertyManager securityPropertyMgr, XMLSecurityManager securityManager) | |
| getFeature | back to summary |
|---|---|
| public synchronized boolean getFeature(String name) throws SAXNotRecognizedException, SAXNotSupportedException Overrides com. Implements org. Doc from com. Query the state of a feature. Query the current state of any feature in a SAX2 parser. The parser might not recognize the feature.
| |
| getFeature0 | back to summary |
|---|---|
| pack-priv boolean getFeature0(String name) throws SAXNotRecognizedException, SAXNotSupportedException | |
| getLocale | back to summary |
|---|---|
| pack-priv Locale getLocale() | |
| getProperty | back to summary |
|---|---|
| public synchronized Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException Overrides com. Implements org. Doc from com. Query the value of a property. Return the current value of a property in a SAX2 parser. The parser might not recognize the property.
| |
| getProperty0 | back to summary |
|---|---|
| pack-priv Object getProperty0(String name) throws SAXNotRecognizedException, SAXNotSupportedException | |
| getXMLParserConfiguration | back to summary |
|---|---|
| pack-priv XMLParserConfiguration getXMLParserConfiguration() | |
| parse | back to summary |
|---|---|
| public void parse(InputSource inputSource) throws SAXException, IOException Overrides com. Implements org. Doc from com. parse
| |
| parse | back to summary |
|---|---|
| public void parse(String systemId) throws SAXException, IOException Overrides com. Implements org. Doc from com. Parses the input source specified by the given system identifier. This method is equivalent to the following:
parse(new InputSource(systemId));
| |
| resetSchemaValidator | back to summary |
|---|---|
| private void resetSchemaValidator() throws SAXException | |
| restoreInitState | back to summary |
|---|---|
| pack-priv synchronized void restoreInitState() throws SAXNotRecognizedException, SAXNotSupportedException | |
| setFeature | back to summary |
|---|---|
| public synchronized void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException Overrides com. Implements org. Override SAXParser's setFeature method to track the initial state of features. This keeps us from affecting the performance of the SAXParser when it is created with XMLReaderFactory.
| |
| setFeature0 | back to summary |
|---|---|
| pack-priv void setFeature0(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException | |
| setProperty | back to summary |
|---|---|
| public synchronized void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException Overrides com. Implements org. Override SAXParser's setProperty method to track the initial state of properties. This keeps us from affecting the performance of the SAXParser when it is created with XMLReaderFactory.
| |
| setProperty0 | back to summary |
|---|---|
| pack-priv void setProperty0(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException | |
| setSchemaValidatorFeature | back to summary |
|---|---|
| private void setSchemaValidatorFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException | |
| setSchemaValidatorProperty | back to summary |
|---|---|
| private void setSchemaValidatorProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException | |