Package org.apache.axis.message
Class SOAPHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.axis.message.SOAPHandler
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Direct Known Subclasses:
BodyBuilder
,DeserializerImpl
,EnvelopeBuilder
,EnvelopeHandler
,HeaderBuilder
,RPCHandler
,SOAPFaultBuilder
,SOAPFaultCodeBuilder
,SOAPFaultDetailsBuilder
,SOAPFaultReasonBuilder
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSOAPHandler
(MessageElement[] elements, int index) This constructor allows deferred setting of any elements -
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] chars, int start, int end) void
endElement
(String namespace, String localName, DeserializationContext context) makeNewElement
(String namespace, String localName, String prefix, Attributes attributes, DeserializationContext context) void
onEndChild
(String namespace, String localName, DeserializationContext context) onStartChild
(String namespace, String localName, String prefix, Attributes attributes, DeserializationContext context) void
startElement
(String namespace, String localName, String prefix, Attributes attributes, DeserializationContext context) Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
myElement
-
-
Constructor Details
-
SOAPHandler
public SOAPHandler() -
SOAPHandler
This constructor allows deferred setting of any elements- Parameters:
elements
- array of message elements to be populatedindex
- position in array where the message element is to be created
-
-
Method Details
-
startElement
public void startElement(String namespace, String localName, String prefix, Attributes attributes, DeserializationContext context) throws SAXException - Throws:
SAXException
-
makeNewElement
public MessageElement makeNewElement(String namespace, String localName, String prefix, Attributes attributes, DeserializationContext context) throws AxisFault - Throws:
AxisFault
-
endElement
public void endElement(String namespace, String localName, DeserializationContext context) throws SAXException - Throws:
SAXException
-
onStartChild
public SOAPHandler onStartChild(String namespace, String localName, String prefix, Attributes attributes, DeserializationContext context) throws SAXException - Throws:
SAXException
-
onEndChild
public void onEndChild(String namespace, String localName, DeserializationContext context) throws SAXException - Throws:
SAXException
-
characters
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
- Throws:
SAXException
-