Class JenaXMLInput


  • public class JenaXMLInput
    extends java.lang.Object
    Create XML input methods. External DTD processing is disabled and will be silently ignored to prevent XXE Processing problems.
    • Constructor Detail

      • JenaXMLInput

        public JenaXMLInput()
    • Method Detail

      • createXMLReader

        public static org.xml.sax.XMLReader createXMLReader()
                                                     throws javax.xml.parsers.ParserConfigurationException,
                                                            org.xml.sax.SAXException
        Throws:
        javax.xml.parsers.ParserConfigurationException
        org.xml.sax.SAXException
      • newXMLStreamReader

        public static javax.xml.stream.XMLStreamReader newXMLStreamReader​(java.io.InputStream in)
                                                                   throws javax.xml.stream.XMLStreamException
        Throws:
        javax.xml.stream.XMLStreamException
      • newXMLStreamReader

        public static javax.xml.stream.XMLStreamReader newXMLStreamReader​(java.io.Reader in)
                                                                   throws javax.xml.stream.XMLStreamException
        Throws:
        javax.xml.stream.XMLStreamException
      • newDocumentBuilderFactory

        public static javax.xml.parsers.DocumentBuilderFactory newDocumentBuilderFactory()
                                                                                  throws javax.xml.parsers.ParserConfigurationException
        Throws:
        javax.xml.parsers.ParserConfigurationException