|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.encoding.ser.QNameSerializer
Serializer for QNames.
Constructor Summary | |
QNameSerializer()
|
Method Summary | |
String |
getMechanismType()
|
String |
getValueAsString(Object value,
SerializationContext context)
Return an XML compatible representation of the value. |
void |
serialize(javax.xml.namespace.QName name,
Attributes attributes,
Object value,
SerializationContext context)
Serialize a QName. |
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 QNameSerializer()
Method Detail |
public void serialize(javax.xml.namespace.QName name, Attributes attributes, Object value, SerializationContext context) throws IOException
serialize
in interface Serializer
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 SimpleValueSerializer
value
-
public String getMechanismType()
getMechanismType
in interface javax.xml.rpc.encoding.Serializer
public Element writeSchema(Class javaType, Types types) throws Exception
writeSchema
in interface Serializer
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |