org.apache.axis.encoding.ser
Class SimpleListDeserializer
- Deserializer, java.io.Serializable, Callback, Deserializer, Deserializer
public class SimpleListDeserializer
Deserializer for
based on SimpleDeserializer
- Ias (iasandcb@tmax.co.kr)
void | characters(char[] chars, int start, int end) - Append any characters received to the value.
|
Object | makeValue(String source) - Convert the string that has been accumulated into an Object.
|
void | onEndElement(String namespace, String localName, DeserializationContext context) - Append any characters to the value.
|
SOAPHandler | onStartChild(String namespace, String localName, String prefix, Attributes attributes, DeserializationContext context) - There should not be nested elements, so thow and exception if this occurs.
|
void | onStartElement(String namespace, String localName, String prefix, Attributes attributes, DeserializationContext context) - Set the bean properties that correspond to element attributes.
|
void | reset() - Reset deserializer for re-use
|
void | setConstructor(Constructor c) - The Factory calls setConstructor.
|
addChildDeserializer , componentsReady , endElement , getDefaultType , getMechanismType , getValue , getValue , getValueTargets , moveValueTargets , onEndElement , onStartChild , onStartElement , registerValueTarget , removeValueTargets , setChildValue , setDefaultType , setValue , setValue , startElement , valueComplete |
cacheXMLType
protected QName cacheXMLType
javaType
public Class javaType
xmlType
public QName xmlType
SimpleListDeserializer
public SimpleListDeserializer(Class javaType,
QName xmlType)
The Deserializer is constructed with the xmlType and
javaType (which could be a java primitive like int.class)
SimpleListDeserializer
public SimpleListDeserializer(Class javaType,
QName xmlType,
TypeDesc typeDesc)
characters
public void characters(char[] chars,
int start,
int end)
throws SAXException
Append any characters received to the value. This method is defined
by Deserializer.
- characters in interface SimpleDeserializer
makeValue
public Object makeValue(String source)
throws Exception
Convert the string that has been accumulated into an Object. Subclasses
may override this.
- makeValue in interface SimpleDeserializer
source
- the serialized value to be deserialized
onStartElement
public void onStartElement(String namespace,
String localName,
String prefix,
Attributes attributes,
DeserializationContext context)
throws SAXException
Set the bean properties that correspond to element attributes.
This method is invoked after startElement when the element requires
deserialization (i.e. the element is not an href and the value is not nil.)
- onStartElement in interface Deserializer
- onStartElement in interface 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
Copyright © 2005 Apache Web Services Project. All Rights Reserved.