Package com.sun.msv.verifier.jaxp
Class SAXParserImpl
java.lang.Object
javax.xml.parsers.SAXParser
com.sun.msv.verifier.jaxp.SAXParserImpl
SAXParser implementation that supports validation.
This class uses another SAXParser implementation and adds the validation capability to it.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SAXParser
The underlying SAX parser.private final org.iso_relax.verifier.VerifierFactory
A reference to VerifierFactory that can be used to parse a schema.private org.iso_relax.verifier.Verifier
JARV verifier object that performs the validation for this SAXParserImpl. -
Constructor Summary
ConstructorsConstructorDescriptionSAXParserImpl
(SAXParser core, org.iso_relax.verifier.VerifierFactory _jarvFactory, org.iso_relax.verifier.Verifier _verifier) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.getProperty
(String name) boolean
boolean
void
setProperty
(String name, Object value)
-
Field Details
-
core
The underlying SAX parser. -
verifier
private org.iso_relax.verifier.Verifier verifierJARV verifier object that performs the validation for this SAXParserImpl. This field is null when no schema is set. -
factory
private final org.iso_relax.verifier.VerifierFactory factoryA reference to VerifierFactory that can be used to parse a schema.
-
-
Constructor Details
-
SAXParserImpl
SAXParserImpl(SAXParser core, org.iso_relax.verifier.VerifierFactory _jarvFactory, org.iso_relax.verifier.Verifier _verifier)
-
-
Method Details
-
getParser
Deprecated.- Specified by:
getParser
in classSAXParser
- Throws:
SAXException
-
getProperty
- Specified by:
getProperty
in classSAXParser
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
-
setProperty
public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException - Specified by:
setProperty
in classSAXParser
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
-
getXMLReader
- Specified by:
getXMLReader
in classSAXParser
- Throws:
SAXException
-
isNamespaceAware
public boolean isNamespaceAware()- Specified by:
isNamespaceAware
in classSAXParser
-
isValidating
public boolean isValidating()- Specified by:
isValidating
in classSAXParser
-