org.glassfish.jersey.message.internal
Class SecureSaxParserFactory
java.lang.Object
javax.xml.parsers.SAXParserFactory
org.glassfish.jersey.message.internal.SecureSaxParserFactory
public class SecureSaxParserFactory
- extends SAXParserFactory
Secure SAX parser factory wrapper.
- Author:
- Martin Matula (martin.matula at oracle.com), Michal Gajdos (michal.gajdos at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecureSaxParserFactory
public SecureSaxParserFactory(SAXParserFactory spf)
- Create new secure SAX parser factory wrapper.
- Parameters:
spf - SAX parser factory.
setNamespaceAware
public void setNamespaceAware(boolean b)
- Overrides:
setNamespaceAware in class SAXParserFactory
setValidating
public void setValidating(boolean b)
- Overrides:
setValidating in class SAXParserFactory
isNamespaceAware
public boolean isNamespaceAware()
- Overrides:
isNamespaceAware in class SAXParserFactory
isValidating
public boolean isValidating()
- Overrides:
isValidating in class SAXParserFactory
getSchema
public Schema getSchema()
- Overrides:
getSchema in class SAXParserFactory
setSchema
public void setSchema(Schema schema)
- Overrides:
setSchema in class SAXParserFactory
setXIncludeAware
public void setXIncludeAware(boolean b)
- Overrides:
setXIncludeAware in class SAXParserFactory
isXIncludeAware
public boolean isXIncludeAware()
- Overrides:
isXIncludeAware in class SAXParserFactory
newSAXParser
public SAXParser newSAXParser()
throws ParserConfigurationException,
SAXException
- Specified by:
newSAXParser in class SAXParserFactory
- Throws:
ParserConfigurationException
SAXException
setFeature
public void setFeature(String s,
boolean b)
throws ParserConfigurationException,
SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
setFeature in class SAXParserFactory
- Throws:
ParserConfigurationException
SAXNotRecognizedException
SAXNotSupportedException
getFeature
public boolean getFeature(String s)
throws ParserConfigurationException,
SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
getFeature in class SAXParserFactory
- Throws:
ParserConfigurationException
SAXNotRecognizedException
SAXNotSupportedException
Copyright © 2007-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.