public class ElementSerializer extends SerializerSupport
| Constructor and Description |
|---|
ElementSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Result |
serialize(QName xmlName,
QName xmlType,
Object value,
SerializationContext serContext,
NamedNodeMap attributes)
Marshal the value for a given XMLSchema type
|
getMechanismType, serialize, wrapValueStrpublic Result serialize(QName xmlName, QName xmlType, Object value, SerializationContext serContext, NamedNodeMap attributes) throws BindingException
serialize in class SerializerSupportxmlType - local part of the schema typevalue - the value to marshalserContext - xmlName - The root element name of the resulting fragmentattributes - The attributes on this elementBindingExceptionCopyright © 2012 JBoss, by Red Hat. All Rights Reserved.