|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis.encoding.ser.SimpleListSerializer
public class SimpleListSerializer
Serializer for
| Field Summary | |
|---|---|
Class |
javaType
|
QName |
xmlType
|
| Constructor Summary | |
|---|---|
SimpleListSerializer(Class javaType,
QName xmlType)
|
|
SimpleListSerializer(Class javaType,
QName xmlType,
TypeDesc typeDesc)
|
|
| Method Summary | |
|---|---|
String |
getMechanismType()
Gets the type of the XML processing mechanism and representation used by this Serializer. |
String |
getValueAsString(Object value,
SerializationContext context)
Return an XML compatible representation of the value. |
void |
serialize(QName name,
Attributes attributes,
Object value,
SerializationContext context)
Serialize a list of primitives or simple values. |
Element |
writeSchema(Class javaType,
Types types)
Return XML schema for the specified type, suitable for insertion into the <types> element of a WSDL document, or underneath an <element> or <attribute> declaration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public QName xmlType
public Class javaType
| Constructor Detail |
|---|
public SimpleListSerializer(Class javaType,
QName xmlType)
public SimpleListSerializer(Class javaType,
QName xmlType,
TypeDesc typeDesc)
| Method Detail |
|---|
public void serialize(QName name,
Attributes attributes,
Object value,
SerializationContext context)
throws IOException
name - is the element nameattributes - are the attributes...serialize is free to add more.value - is the valuecontext - is the SerializationContext
IOException
public String getValueAsString(Object value,
SerializationContext context)
SimpleValueSerializer
getValueAsString in interface SimpleValueSerializerpublic String getMechanismType()
Serializer
getMechanismType in interface Serializer
public Element writeSchema(Class javaType,
Types types)
throws Exception
javaType - the Java Class we're writing out schema fortypes - the Java2WSDL Types object which holds the context
for the WSDL being generated.
ExceptionTypes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||