Class HexDeserializer

All Implemented Interfaces:
Serializable, Deserializer, Callback, Deserializer, ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class HexDeserializer extends SimpleDeserializer
Deserializer for hexBinary.
Author:
Davanum Srinivas invalid input: '<'dims@yahoo.com> Modified by @author Rich scheuerle invalid input: '<'scheu@us.ibm.com>
See Also:
  • Constructor Details

    • HexDeserializer

      public HexDeserializer(Class javaType, QName xmlType)
  • 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 class SimpleDeserializer
      Parameters:
      source - the serialized value to be deserialized
      Throws:
      Exception - any exception thrown by this method will be wrapped