public class JBossXBSerializer extends SerializerSupport
| Constructor and Description |
|---|
JBossXBSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Result |
serialize(QName xmlName,
QName xmlType,
Object value,
SerializationContext serContext,
NamedNodeMap attributes)
For marshalling the WS layer passes to the JAXB layer
- optional java object instance
- required map of packaged or generated XSDSchema
- required QName of the root element
- optional QName of the root complex type
- optional instance of JavaWsdlMapping
If the object value is null, the corresponding XML representation of the nillable element should be marshalled.
|
getMechanismType, serialize, wrapValueStrpublic JBossXBSerializer()
throws BindingException
BindingExceptionpublic 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.