This class uses another SAXParser implementation and adds the validation capability to it.
| Modifier and Type | Field and Description |
|---|---|
| private final SAXParser | core
The underlying SAX parser. |
| private final VerifierFactory | factory
A reference to VerifierFactory that can be used to parse a schema. |
| private Verifier | verifier
JARV verifier object that performs the validation for this SAXParserImpl. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Parser | getParser()
Implements abstract javax.
Deprecated
Returns the SAX parser that is encapsulated by the
implementation of this class.
|
| public Object | getProperty(String
The name of the property to be retrieved. name)Implements abstract javax. Returns the particular property requested for in the underlying
implementation of |
| public XMLReader | getXMLReader()
Implements abstract javax. org.xml.sax.XMLReader that is encapsulated by the
implementation of this class.
|
| public boolean | isNamespaceAware()
Implements abstract javax. |
| public boolean | isValidating()
Implements abstract javax. |
| public void | setProperty(String
The name of the property to be set. name, Object The value of the property to be set. value)Implements abstract javax. Sets the particular property in the underlying implementation of
|
| core | back to summary |
|---|---|
| private final SAXParser core The underlying SAX parser. | |
| factory | back to summary |
|---|---|
| private final VerifierFactory factory A reference to VerifierFactory that can be used to parse a schema. | |
| verifier | back to summary |
|---|---|
| private Verifier verifier JARV verifier object that performs the validation for this SAXParserImpl. This field is null when no schema is set. | |
| SAXParserImpl | back to summary |
|---|---|
| pack-priv SAXParserImpl(SAXParser core, VerifierFactory _jarvFactory, Verifier _verifier) | |
| getParser | back to summary |
|---|---|
| public Parser getParser() throws SAXException Implements abstract javax. Doc from javax. Deprecated
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. Doc from javax. Returns the particular property requested for in the underlying
implementation of
| |
| getXMLReader | back to summary |
|---|---|
| public XMLReader getXMLReader() throws SAXException Implements abstract javax. Doc from javax. Returns the
| |
| 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.
| |
| setProperty | back to summary |
|---|---|
| public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException Implements abstract javax. Doc from javax. Sets the particular property in the underlying implementation of
All implementations that implement JAXP 1.5 or newer are required to
support the
| |