public abstract class SerializerSupport extends Object implements javax.xml.rpc.encoding.Serializer
| Constructor and Description |
|---|
SerializerSupport() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMechanismType() |
abstract Result |
serialize(QName xmlName,
QName xmlType,
Object value,
SerializationContext serContext,
NamedNodeMap attributes)
Serialize an object value to an XML fragment
|
Result |
serialize(SOAPContentElement soapElement,
SerializationContext serContext) |
protected String |
wrapValueStr(QName xmlName,
String valueStr,
org.jboss.xb.binding.NamespaceRegistry nsRegistry,
Set<String> nsExtras,
NamedNodeMap attributes,
boolean normalize)
Wrap the value string in a XML fragment with the given name
|
public Result serialize(SOAPContentElement soapElement, SerializationContext serContext) throws BindingException
BindingExceptionpublic abstract Result serialize(QName xmlName, QName xmlType, Object value, SerializationContext serContext, NamedNodeMap attributes) throws BindingException
xmlName - The root element name of the resulting fragmentxmlType - The associated schema typevalue - The value to serializeserContext - The serialization contextattributes - The attributes on this elementBindingExceptionprotected String wrapValueStr(QName xmlName, String valueStr, org.jboss.xb.binding.NamespaceRegistry nsRegistry, Set<String> nsExtras, NamedNodeMap attributes, boolean normalize)
public String getMechanismType()
getMechanismType in interface javax.xml.rpc.encoding.SerializerCopyright © 2012 JBoss, by Red Hat. All Rights Reserved.