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, wrapValueStr
public Result serialize(QName xmlName, QName xmlType, Object value, SerializationContext serContext, NamedNodeMap attributes) throws BindingException
serialize
in class SerializerSupport
xmlType
- local part of the schema typevalue
- the value to marshalserContext
- xmlName
- The root element name of the resulting fragmentattributes
- The attributes on this elementBindingException
Copyright © 2018 JBoss by Red Hat. All rights reserved.