com.ibm.di.parser
Class SOAPParser

java.lang.Object
  extended by com.ibm.di.parser.ParserImpl
      extended by com.ibm.di.parser.XMLParser
          extended by com.ibm.di.parser.SOAPParser
All Implemented Interfaces:
ParserInterface, CheckpointRestartInterface, VersionInfoInterface, ErrorHandler

public class SOAPParser
extends XMLParser


Field Summary
 
Fields inherited from class com.ibm.di.parser.XMLParser
children, curindex, db, entrytag, inputDoc, outputDoc, toplevel, toplevelInput, useCData, valuetag
 
Fields inherited from class com.ibm.di.parser.ParserImpl
_debug, myConfiguration
 
Fields inherited from interface com.ibm.di.server.CheckpointRestartInterface
RESTART_AFTER, RESTART_BEFORE, RESTART_IN
 
Constructor Summary
SOAPParser()
           
 
Method Summary
 void dumpNodes(String prefix, NodeList list)
           
 Node findNamedElement(NodeList list, String name)
           
 Node getElement(Node parent, int index)
           
 Vector getElementList(Node parent)
           
 Node getFirstText(Node parent)
           
 String getVersion()
          Return version information
 String getXML(Entry e)
           
 void initOutput()
           
 void p(String s)
           
 Entry parseRequest(Object request)
           
 Node parseXML(String xml)
           
 void printNode(String prefix, Node n)
           
 Entry readEntry()
          Constructs the next entry from the data structure read in initially.
 void writeEntry(Entry entry)
          Write an entry to the current output stream
 
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
 

Constructor Detail

SOAPParser

public SOAPParser()
Method Detail

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