public class QNameDeserializer extends SimpleDeserializer
cacheStringDSer, cacheXMLType, javaType, STRING_CLASS, xmlTypecomponentsReadyFlag, defaultType, id, isEnded, isHref, isNil, log, targets, valuemyElement| Constructor and Description |
|---|
QNameDeserializer(Class javaType,
QName xmlType)
The Deserializer is constructed with the xmlType and
javaType
|
| Modifier and Type | Method and Description |
|---|---|
Object |
makeValue(String source)
The simple deserializer provides most of the stuff.
|
void |
onStartElement(String namespace,
String localName,
String prefix,
Attributes attributes,
DeserializationContext context)
Set the bean properties that correspond to element attributes.
|
characters, onEndElement, onStartChild, reset, setConstructoraddChildDeserializer, componentsReady, endElement, getDefaultType, getMechanismType, getValue, getValue, getValueTargets, moveValueTargets, registerValueTarget, removeValueTargets, setChildValue, setDefaultType, setValue, setValue, startElement, valueCompletemakeNewElement, onEndChildendDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warningpublic Object makeValue(String source)
makeValue in class SimpleDeserializersource - the serialized value to be deserializedpublic void onStartElement(String namespace, String localName, String prefix, Attributes attributes, DeserializationContext context) throws SAXException
SimpleDeserializeronStartElement in class SimpleDeserializernamespace - 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 DeserializationContextSAXExceptionCopyright © The Apache Software Foundation. All Rights Reserved.