Package com.sun.msv.verifier.jaxp
Class SAXParserImpl
- java.lang.Object
-
- javax.xml.parsers.SAXParser
-
- com.sun.msv.verifier.jaxp.SAXParserImpl
-
class SAXParserImpl extends javax.xml.parsers.SAXParser
SAXParser implementation that supports validation.This class uses another SAXParser implementation and adds the validation capability to it.
-
-
Field Summary
Fields Modifier and Type Field Description private javax.xml.parsers.SAXParser
core
The underlying SAX parser.private org.iso_relax.verifier.VerifierFactory
factory
A reference to VerifierFactory that can be used to parse a schema.private org.iso_relax.verifier.Verifier
verifier
JARV verifier object that performs the validation for this SAXParserImpl.
-
Constructor Summary
Constructors Constructor Description SAXParserImpl(javax.xml.parsers.SAXParser core, org.iso_relax.verifier.VerifierFactory _jarvFactory, org.iso_relax.verifier.Verifier _verifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.xml.sax.Parser
getParser()
Deprecated.java.lang.Object
getProperty(java.lang.String name)
org.xml.sax.XMLReader
getXMLReader()
boolean
isNamespaceAware()
boolean
isValidating()
void
setProperty(java.lang.String name, java.lang.Object value)
-
-
-
Field Detail
-
core
private final javax.xml.parsers.SAXParser core
The underlying SAX parser.
-
verifier
private org.iso_relax.verifier.Verifier verifier
JARV 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 factory
A reference to VerifierFactory that can be used to parse a schema.
-
-
Method Detail
-
getParser
public org.xml.sax.Parser getParser() throws org.xml.sax.SAXException
Deprecated.- Specified by:
getParser
in classjavax.xml.parsers.SAXParser
- Throws:
org.xml.sax.SAXException
-
getProperty
public java.lang.Object getProperty(java.lang.String name) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
- Specified by:
getProperty
in classjavax.xml.parsers.SAXParser
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
-
setProperty
public void setProperty(java.lang.String name, java.lang.Object value) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
- Specified by:
setProperty
in classjavax.xml.parsers.SAXParser
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
-
getXMLReader
public org.xml.sax.XMLReader getXMLReader() throws org.xml.sax.SAXException
- Specified by:
getXMLReader
in classjavax.xml.parsers.SAXParser
- Throws:
org.xml.sax.SAXException
-
isNamespaceAware
public boolean isNamespaceAware()
- Specified by:
isNamespaceAware
in classjavax.xml.parsers.SAXParser
-
isValidating
public boolean isValidating()
- Specified by:
isValidating
in classjavax.xml.parsers.SAXParser
-
-