|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.xml.parsers.SAXParserFactory
com.sun.msv.verifier.jaxp.SAXParserFactoryImpl
public class SAXParserFactoryImpl
SAXParserFactory implementation that supports validation.
This class uses another SAXParserFactory implementation and adds the validation capability to it.
Constructor Summary | |
---|---|
SAXParserFactoryImpl()
Creates a new instance by using the default SAXParserFactory implementation as the underlying parser. |
|
SAXParserFactoryImpl(File schemaAsFile)
Creates a new instance that validates documents against the specified schema. |
|
SAXParserFactoryImpl(InputSource _schema)
Creates a new instance that validates documents against the specified schema. |
|
SAXParserFactoryImpl(SAXParserFactory _factory)
Creates a new instance by specifying the underlying SAXParserFactory implementation. |
|
SAXParserFactoryImpl(SAXParserFactory _factory,
Schema _schema)
|
|
SAXParserFactoryImpl(Schema schema)
Creates a new instance by using a default SAXParserFactory implementation and the specified schema object. |
|
SAXParserFactoryImpl(String schemaUrl)
Creates a new instance that validates documents against the specified schema. |
Method Summary | |
---|---|
boolean |
getFeature(String name)
|
boolean |
isNamespaceAware()
|
boolean |
isValidating()
|
SAXParser |
newSAXParser()
|
void |
setFeature(String name,
boolean value)
|
void |
setNamespaceAware(boolean awareness)
|
void |
setValidating(boolean validating)
|
Methods inherited from class javax.xml.parsers.SAXParserFactory |
---|
getSchema, isXIncludeAware, newInstance, newInstance, setSchema, setXIncludeAware |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SAXParserFactoryImpl()
public SAXParserFactoryImpl(SAXParserFactory _factory)
public SAXParserFactoryImpl(Schema schema)
public SAXParserFactoryImpl(File schemaAsFile) throws VerifierConfigurationException, SAXException, IOException
VerifierConfigurationException
SAXException
IOException
public SAXParserFactoryImpl(InputSource _schema) throws VerifierConfigurationException, SAXException, IOException
VerifierConfigurationException
SAXException
IOException
public SAXParserFactoryImpl(String schemaUrl) throws VerifierConfigurationException, SAXException, IOException
VerifierConfigurationException
SAXException
IOException
public SAXParserFactoryImpl(SAXParserFactory _factory, Schema _schema)
Method Detail |
---|
public boolean getFeature(String name) throws ParserConfigurationException, SAXNotRecognizedException, SAXNotSupportedException
getFeature
in class SAXParserFactory
ParserConfigurationException
SAXNotRecognizedException
SAXNotSupportedException
public void setFeature(String name, boolean value) throws ParserConfigurationException, SAXNotRecognizedException, SAXNotSupportedException
setFeature
in class SAXParserFactory
ParserConfigurationException
SAXNotRecognizedException
SAXNotSupportedException
public SAXParser newSAXParser() throws ParserConfigurationException, SAXException
newSAXParser
in class SAXParserFactory
ParserConfigurationException
SAXException
public void setNamespaceAware(boolean awareness)
setNamespaceAware
in class SAXParserFactory
public boolean isNamespaceAware()
isNamespaceAware
in class SAXParserFactory
public void setValidating(boolean validating)
setValidating
in class SAXParserFactory
public boolean isValidating()
isValidating
in class SAXParserFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |