Package org.apache.uima.adapter.soap
Class XmlDeserializer
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.apache.axis.message.SOAPHandler
-
- org.apache.axis.encoding.DeserializerImpl
-
- org.apache.uima.adapter.soap.XmlDeserializer
-
- All Implemented Interfaces:
Serializable
,javax.xml.rpc.encoding.Deserializer
,org.apache.axis.encoding.Callback
,org.apache.axis.encoding.Deserializer
,ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
public class XmlDeserializer extends org.apache.axis.encoding.DeserializerImpl
An Axis deserializer for anyXMLizable
object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XmlDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
characters(char[] ch, int start, int length)
void
onEndElement(String arg0, String arg1, org.apache.axis.encoding.DeserializationContext arg2)
org.apache.axis.message.SOAPHandler
onStartChild(String namespace, String localName, String prefix, Attributes attributes, org.apache.axis.encoding.DeserializationContext context)
This method is invoked when an element start tag is encountered.void
onStartElement(String arg0, String arg1, String arg2, Attributes arg3, org.apache.axis.encoding.DeserializationContext arg4)
void
valueComplete()
-
Methods inherited from class org.apache.axis.encoding.DeserializerImpl
addChildDeserializer, componentsReady, endElement, getDefaultType, getMechanismType, getValue, getValue, getValueTargets, moveValueTargets, registerValueTarget, removeValueTargets, setChildValue, setDefaultType, setValue, setValue, startElement
-
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
-
-
-
-
Method Detail
-
onStartChild
public org.apache.axis.message.SOAPHandler onStartChild(String namespace, String localName, String prefix, Attributes attributes, org.apache.axis.encoding.DeserializationContext context) throws SAXException
This method is invoked when an element start tag is encountered.- Specified by:
onStartChild
in interfaceorg.apache.axis.encoding.Deserializer
- Overrides:
onStartChild
in classorg.apache.axis.encoding.DeserializerImpl
- Parameters:
namespace
- is the namespace of the elementlocalName
- is the name of the elementprefix
- is the element's prefixattributes
- are the attributes on the element...used to get the typecontext
- is the DeserializationContext- Throws:
SAXException
-
onStartElement
public void onStartElement(String arg0, String arg1, String arg2, Attributes arg3, org.apache.axis.encoding.DeserializationContext arg4) throws SAXException
- Specified by:
onStartElement
in interfaceorg.apache.axis.encoding.Deserializer
- Overrides:
onStartElement
in classorg.apache.axis.encoding.DeserializerImpl
- Throws:
SAXException
- See Also:
SOAPHandler.onStartChild(String, String, String, Attributes, DeserializationContext)
-
characters
public void characters(char[] ch, int start, int length) throws SAXException
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classorg.apache.axis.message.SOAPHandler
- Throws:
SAXException
- See Also:
ContentHandler.characters(char[], int, int)
-
onEndElement
public void onEndElement(String arg0, String arg1, org.apache.axis.encoding.DeserializationContext arg2) throws SAXException
- Specified by:
onEndElement
in interfaceorg.apache.axis.encoding.Deserializer
- Overrides:
onEndElement
in classorg.apache.axis.encoding.DeserializerImpl
- Throws:
SAXException
- See Also:
Deserializer.onEndElement(java.lang.String, java.lang.String, org.apache.axis.encoding.DeserializationContext)
-
valueComplete
public void valueComplete() throws SAXException
- Specified by:
valueComplete
in interfaceorg.apache.axis.encoding.Deserializer
- Overrides:
valueComplete
in classorg.apache.axis.encoding.DeserializerImpl
- Throws:
SAXException
- See Also:
Deserializer.valueComplete()
-
-