com.infoengine.soap.util.sax
Class EnvelopeDeserializer
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.infoengine.soap.util.sax.EnvelopeDeserializer
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
- public class EnvelopeDeserializer
- extends DefaultHandler
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
protected static boolean DEBUG
request
private boolean request
SOAP_ENV_NS
static final String SOAP_ENV_NS
- See Also:
- Constant Field Values
ENVELOPE
static final String ENVELOPE
- See Also:
- Constant Field Values
HEADER
static final String HEADER
- See Also:
- Constant Field Values
BODY
static final String BODY
- See Also:
- Constant Field Values
envOpen
private boolean envOpen
body
private BodyDeserializer body
header
private HeaderDeserializer header
currentHandler
private DefaultHandler currentHandler
source
private InputSource source
EnvelopeDeserializer
public EnvelopeDeserializer(InputStream is,
boolean request)
process
public void process()
throws Exception
- Throws:
Exception
process
public static EnvelopeDeserializer process(InputStream is,
boolean request)
throws Exception
- Throws:
Exception
characters
public void characters(char[] ch,
int start,
int length)
throws SAXException
- Throws:
SAXException
startDocument
public void startDocument()
throws SAXException
- Throws:
SAXException
endDocument
public void endDocument()
throws SAXException
- Throws:
SAXException
startElement
public void startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
throws SAXException
- Throws:
SAXException
endElement
public void endElement(String namespaceURI,
String localName,
String qName)
throws SAXException
- Throws:
SAXException
getMethodName
public String getMethodName()
getParameters
public SOAPParameter[] getParameters()
getObject
public Object getObject()
getHeaders
public SOAPParameter[] getHeaders()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception