public class NullValueSerializer extends SerializerSupport
| Constructor and Description |
|---|
NullValueSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Result |
serialize(QName xmlName,
QName xmlType,
Object value,
SerializationContext serContext,
NamedNodeMap attributes)
Serializes an object null value.
|
getMechanismType, serialize, wrapValueStrpublic Result serialize(QName xmlName, QName xmlType, Object value, SerializationContext serContext, NamedNodeMap attributes) throws BindingException
serialize in class SerializerSupportxmlName - The root element name of the resulting fragmentxmlType - The associated schema typevalue - The value to serializeserContext - The serialization contextattributes - The attributes on this elementBindingExceptionCopyright © 2012 JBoss, by Red Hat. All Rights Reserved.