Package org.apache.jena.util
Class JenaXMLInput
- java.lang.Object
-
- org.apache.jena.util.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 Summary
Constructors Constructor Description JenaXMLInput()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.xml.sax.XMLReader
createXMLReader()
static javax.xml.parsers.DocumentBuilderFactory
newDocumentBuilderFactory()
static javax.xml.stream.XMLStreamReader
newXMLStreamReader(java.io.InputStream in)
static javax.xml.stream.XMLStreamReader
newXMLStreamReader(java.io.Reader in)
-
-
-
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
-
-