|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis.encoding.ser.TimeSerializer
public class TimeSerializer
Serializer for Time.
| Constructor Summary | |
|---|---|
TimeSerializer()
|
|
| 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 Time. |
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 |
| Constructor Detail |
|---|
public TimeSerializer()
| 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 | |||||||||