org.apache.axis.encoding.ser

Class HexDeserializer

Implemented Interfaces:
Deserializer, java.io.Serializable, Callback, Deserializer, Deserializer

public class HexDeserializer
extends SimpleDeserializer

Deserializer for hexBinary.

Author:
Davanum Srinivas Modified by @author Rich scheuerle

See Also:
XML Schema 3.2.16

Field Summary

Fields inherited from class org.apache.axis.encoding.ser.SimpleDeserializer

STRING_CLASS, cacheStringDSer, cacheXMLType, context, javaType, xmlType

Fields inherited from class org.apache.axis.encoding.DeserializerImpl

componentsReadyFlag, defaultType, id, isEnded, isHref, isNil, log, targets, value

Fields inherited from class org.apache.axis.message.SOAPHandler

myElement

Constructor Summary

HexDeserializer(Class javaType, QName xmlType)
The Deserializer is constructed with the xmlType and javaType (which could be a java primitive like int.class)

Method Summary

Object
makeValue(String source)
Convert the string that has been accumulated into an Object.

Methods inherited from class org.apache.axis.encoding.ser.SimpleDeserializer

characters, makeValue, onEndElement, onStartChild, onStartElement, reset, setConstructor

Methods inherited from class org.apache.axis.encoding.DeserializerImpl

addChildDeserializer, componentsReady, endElement, getDefaultType, getMechanismType, getValue, getValue, getValueTargets, moveValueTargets, onEndElement, onStartChild, onStartElement, registerValueTarget, removeValueTargets, setChildValue, setDefaultType, setValue, setValue, startElement, valueComplete

Methods inherited from class org.apache.axis.message.SOAPHandler

characters, endElement, makeNewElement, onEndChild, onStartChild, startElement

Constructor Details

HexDeserializer

public HexDeserializer(Class javaType,
                       QName xmlType)
The Deserializer is constructed with the xmlType and javaType (which could be a java primitive like int.class)

Method Details

makeValue

public Object makeValue(String source)
            throws Exception
Convert the string that has been accumulated into an Object. Subclasses may override this. Note that if the javaType is a primitive, the returned object is a wrapper class.
Overrides:
makeValue in interface SimpleDeserializer

Parameters:
source - the serialized value to be deserialized


Copyright B) 2005 Apache Web Services Project. All Rights Reserved.