Package org.postgresql.xml
Class DefaultPGXmlFactoryFactory
- java.lang.Object
-
- org.postgresql.xml.DefaultPGXmlFactoryFactory
-
- All Implemented Interfaces:
PGXmlFactoryFactory
public class DefaultPGXmlFactoryFactory extends Object implements PGXmlFactoryFactory
Default implementation of PGXmlFactoryFactory that configures each factory per OWASP recommendations.
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultPGXmlFactoryFactoryINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLReadercreateXMLReader()DocumentBuildernewDocumentBuilder()SAXTransformerFactorynewSAXTransformerFactory()TransformerFactorynewTransformerFactory()XMLInputFactorynewXMLInputFactory()XMLOutputFactorynewXMLOutputFactory()
-
-
-
Field Detail
-
INSTANCE
public static final DefaultPGXmlFactoryFactory INSTANCE
-
-
Method Detail
-
newDocumentBuilder
public DocumentBuilder newDocumentBuilder() throws ParserConfigurationException
- Specified by:
newDocumentBuilderin interfacePGXmlFactoryFactory- Throws:
ParserConfigurationException
-
newTransformerFactory
public TransformerFactory newTransformerFactory()
- Specified by:
newTransformerFactoryin interfacePGXmlFactoryFactory
-
newSAXTransformerFactory
public SAXTransformerFactory newSAXTransformerFactory()
- Specified by:
newSAXTransformerFactoryin interfacePGXmlFactoryFactory
-
newXMLInputFactory
public XMLInputFactory newXMLInputFactory()
- Specified by:
newXMLInputFactoryin interfacePGXmlFactoryFactory
-
newXMLOutputFactory
public XMLOutputFactory newXMLOutputFactory()
- Specified by:
newXMLOutputFactoryin interfacePGXmlFactoryFactory
-
createXMLReader
public XMLReader createXMLReader() throws SAXException
- Specified by:
createXMLReaderin interfacePGXmlFactoryFactory- Throws:
SAXException
-
-