public class ElementSerializer extends Object implements Serializer
Constructor and Description |
---|
ElementSerializer() |
Modifier and Type | Method and Description |
---|---|
String |
getMechanismType()
Gets the type of the XML processing mechanism and representation used by this Serializer.
|
void |
serialize(QName name,
Attributes attributes,
Object value,
SerializationContext context)
Serialize a DOM Element
|
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.
|
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 SerializationContextIOException
public String getMechanismType()
Serializer
getMechanismType
in interface Serializer
Copyright © The Apache Software Foundation. All Rights Reserved.