com.ibm.di.parser
Class DSMLParser
java.lang.Object
com.ibm.di.parser.ParserImpl
com.ibm.di.parser.XMLParser
com.ibm.di.parser.DSMLParser
- All Implemented Interfaces:
- ParserInterface, CheckpointRestartInterface, VersionInfoInterface, ErrorHandler
public class DSMLParser
- extends XMLParser
Methods inherited from class com.ibm.di.parser.XMLParser |
closeParser, error, fatalError, flush, getCheckpointInformation, getOmitXMLDeclaration, isCheckpointRestartEnabled, prepareForRestart, registerScriptBeans, setOmitXMLDeclaration, warning |
Methods inherited from class com.ibm.di.parser.ParserImpl |
debug, debugMode, getClassInstance, getContext, getDebug, getInputStream, getOutputStream, getParam, getParser, getReader, getWriter, isDeltaSupported, logmsg, setConfiguration, setContext, setDebug, setInputStream, setInputStream, setInputStream, setOutputStream, setOutputStream, setParam, setParser |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DSMLParser
public DSMLParser()
initParser
public void initParser()
throws Exception
- Description copied from class:
ParserImpl
- Perform initialization of parser.
- Specified by:
initParser
in interface ParserInterface
- Overrides:
initParser
in class XMLParser
- Throws:
Exception
initOutput
public void initOutput()
throws Exception
- Overrides:
initOutput
in class XMLParser
- Throws:
Exception
initInput
public void initInput()
throws Exception
- Overrides:
initInput
in class XMLParser
- Throws:
Exception
parseRequest
public Entry parseRequest(Object request)
throws Exception
- Throws:
Exception
findNamedElement
public Node findNamedElement(NodeList list,
String name)
getElementList
public Vector getElementList(Node parent)
getFirstElement
public Node getFirstElement(Node parent)
getFirstText
public Node getFirstText(Node parent)
dumpNodes
public void dumpNodes(String indent,
NodeList list)
printNode
public void printNode(String indent,
Node n)
p
public void p(String s)
readEntry
public Entry readEntry()
throws Exception
- Description copied from class:
XMLParser
- Constructs the next entry from the data structure read in initially.
If end of data encountered a null value is returned.
- Specified by:
readEntry
in interface ParserInterface
- Overrides:
readEntry
in class XMLParser
- Returns:
- the next Entry
- Throws:
Exception
getNextNode
public Node getNextNode(Node node)
writeEntry
public void writeEntry(Entry entry)
throws Exception
- Description copied from interface:
ParserInterface
- Write an entry to the current output stream
- Specified by:
writeEntry
in interface ParserInterface
- Overrides:
writeEntry
in class XMLParser
- Parameters:
entry
- The entry to write
- Throws:
Exception
createAttribute
public Element createAttribute(Attribute attr)
throws Exception
- Throws:
Exception
createObjectClass
public Element createObjectClass(Attribute attr)
throws Exception
- Throws:
Exception
createValue
public Element createValue(String name,
Object elemValue)
throws Exception
- Throws:
Exception
getXML
public String getXML()
throws Exception
- Throws:
Exception
getVersion
public String getVersion()
- Return version information
- Specified by:
getVersion
in interface VersionInfoInterface
- Overrides:
getVersion
in class XMLParser