com.ibm.di.parser
Class SOAPParser
java.lang.Object
com.ibm.di.parser.ParserImpl
com.ibm.di.parser.XMLParser
com.ibm.di.parser.SOAPParser
- All Implemented Interfaces:
- ParserInterface, CheckpointRestartInterface, VersionInfoInterface, ErrorHandler
public class SOAPParser
- extends XMLParser
Methods inherited from class com.ibm.di.parser.XMLParser |
closeParser, error, fatalError, flush, getCheckpointInformation, getOmitXMLDeclaration, initInput, initParser, 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 |
SOAPParser
public SOAPParser()
initOutput
public void initOutput()
throws Exception
- Overrides:
initOutput
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)
getElement
public Node getElement(Node parent,
int index)
getFirstText
public Node getFirstText(Node parent)
dumpNodes
public void dumpNodes(String prefix,
NodeList list)
printNode
public void printNode(String prefix,
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
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
parseXML
public Node parseXML(String xml)
throws Exception
- Throws:
Exception
getXML
public String getXML(Entry e)
throws Exception
- Throws:
Exception
getVersion
public String getVersion()
- Return version information
- Specified by:
getVersion
in interface VersionInfoInterface
- Overrides:
getVersion
in class XMLParser