public class QNameDeserializer extends SimpleDeserializer
cacheStringDSer, cacheXMLType, javaType, STRING_CLASS, xmlTypecomponentsReadyFlag, defaultType, id, isEnded, isHref, isNil, log, targets, valuemyElement| Constructor and Description |
|---|
QNameDeserializer(java.lang.Class javaType,
QName xmlType)
The Deserializer is constructed with the xmlType and
javaType
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 QNameDeserializer(java.lang.Class javaType,
QName xmlType)
public java.lang.Object makeValue(java.lang.String source)
makeValue in class SimpleDeserializersource - 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
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 DeserializationContextorg.xml.sax.SAXExceptionCopyright ? 2005 Apache Web Services Project. All Rights Reserved.