|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.xml.sax.helpers.DefaultHandler | +--org.apache.axis.message.SOAPHandler | +--org.apache.axis.encoding.DeserializerImpl | +--org.apache.axis.encoding.ser.SimpleDeserializer | +--org.apache.axis.encoding.ser.QNameDeserializer
The DateSerializer deserializes a Date. Much of the work is done in the base class.
Field Summary |
Fields inherited from class org.apache.axis.encoding.ser.SimpleDeserializer |
cacheStringDSer, cacheXMLType, javaType, xmlType |
Fields inherited from class org.apache.axis.encoding.DeserializerImpl |
defaultType, id, isEnded, isHref, isNil, log, targets, value |
Fields inherited from class org.apache.axis.message.SOAPHandler |
myElement |
Constructor Summary | |
QNameDeserializer(java.lang.Class javaType,
QName xmlType)
The Deserializer is constructed with the xmlType and javaType |
Method Summary | |
java.lang.Object |
makeValue(java.lang.String source)
The simple deserializer provides most of the stuff. |
void |
onStartElement(java.lang.String namespace,
java.lang.String localName,
java.lang.String prefix,
org.xml.sax.Attributes attributes,
DeserializationContext context)
Set the bean properties that correspond to element attributes. |
Methods inherited from class org.apache.axis.encoding.ser.SimpleDeserializer |
characters, onEndElement, onStartChild, removeValueTargets, reset, setConstructor |
Methods inherited from class org.apache.axis.encoding.DeserializerImpl |
addChildDeserializer, componentsReady, endElement, getDefaultType, getMechanismType, getValue, getValue, getValueTargets, moveValueTargets, registerValueTarget, setChildValue, setDefaultType, setValue, setValue, startElement, valueComplete |
Methods inherited from class org.apache.axis.message.SOAPHandler |
makeNewElement, onEndChild |
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 |
Constructor Detail |
public QNameDeserializer(java.lang.Class javaType, QName xmlType)
Method Detail |
public java.lang.Object makeValue(java.lang.String source)
makeValue
in class SimpleDeserializer
source
- the serialized value to be deserializedpublic void onStartElement(java.lang.String namespace, java.lang.String localName, java.lang.String prefix, org.xml.sax.Attributes attributes, DeserializationContext context) throws org.xml.sax.SAXException
SimpleDeserializer
onStartElement
in interface Deserializer
onStartElement
in class SimpleDeserializer
namespace
- is the namespace of the elementlocalName
- is the name of the elementprefix
- is the prefix of the elementattributes
- are the attributes on the element...used to get the typecontext
- is the DeserializationContext
org.xml.sax.SAXException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |