com.aspose.pdf.elements
Class AsposeXMLReader
java.lang.Object
com.aspose.pdf.elements.AsposeXMLReader
public class AsposeXMLReader
- extends java.lang.Object
Constructor Summary |
AsposeXMLReader(org.xml.sax.InputSource filename)
creates a configuration reader |
Method Summary |
static org.xml.sax.XMLReader |
createParser()
creates a SAX parser |
Pdf |
getPdfFromXML()
|
void |
start()
intantiates parser and starts parsing of config file |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsposeXMLReader
public AsposeXMLReader(org.xml.sax.InputSource filename)
- creates a configuration reader
- Parameters:
filename
- the file which contains the configuration information
getPdfFromXML
public Pdf getPdfFromXML()
start
public void start()
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
- intantiates parser and starts parsing of config file
- Throws:
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
createParser
public static org.xml.sax.XMLReader createParser()
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
- creates a SAX parser
- Returns:
- the created SAX parser
- Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException