public abstract class AbstractXmlReader extends AbstractDataReader
Constructor and Description |
---|
AbstractXmlReader() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer | getSourcePosition()
It returns the source position of the data object returned by the next() method you called last time.
|
protected XmlHandler | getXmlHandler()
Gets the XML handler
|
protected java.io.File | getXSLTFile()
Gets the XSLT file
|
void | init()
Does some initialization.
|
ConfigProperties | initConfig(org.w3c.dom.Node dataReaderNode, ConfigProperties parentConfigProperties)
Do initialization for the configuration.
|
protected org.w3c.dom.Node | loadInputXMLFile()
Loads the input XML file.
|
protected abstract org.w3c.dom.Node | parseInputXMLFile(java.io.File xsltFile, java.lang.String inputXmlFile)
Parse the input XML file.
|
protected void | setXmlHandler(java.lang.String className)
Sets the XML handler
|
protected void | sourcePositionIncrement()
Increment the internal count for the source position.
|
protected static void | transform(java.io.File xsltFile, java.lang.String inputFileName, java.lang.String outputFileName)
Transforms the input XML file to output XML file.
|
public ConfigProperties initConfig(org.w3c.dom.Node dataReaderNode, ConfigProperties parentConfigProperties) throws DataLoadException
protected XmlHandler getXmlHandler()
protected java.io.File getXSLTFile()
public java.lang.Integer getSourcePosition()
protected void sourcePositionIncrement()
protected static void transform(java.io.File xsltFile, java.lang.String inputFileName, java.lang.String outputFileName)
protected abstract org.w3c.dom.Node parseInputXMLFile(java.io.File xsltFile, java.lang.String inputXmlFile) throws javax.xml.transform.TransformerException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
protected org.w3c.dom.Node loadInputXMLFile() throws DataLoadException
protected void setXmlHandler(java.lang.String className) throws DataLoadException
public void init() throws DataLoadException