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, wrapValueStr
public JBossXBSerializer() throws BindingException
BindingException
public Result serialize(QName xmlName, QName xmlType, Object value, SerializationContext serContext, NamedNodeMap attributes) throws BindingException
serialize
in class SerializerSupport
xmlName
- The root element name of the resulting fragmentxmlType
- The associated schema typevalue
- The value to serializeserContext
- The serialization contextattributes
- The attributes on this elementBindingException
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.