public interface Serializer extends Serializer
Modifier and Type | Method and Description |
---|---|
void |
serialize(QName name,
Attributes attributes,
Object value,
SerializationContext context)
Serialize an element named name, with the indicated attributes
and value.
|
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.
|
getMechanismType
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 SerializationContextIOException
Copyright © The Apache Software Foundation. All Rights Reserved.