public abstract class DeserializerSupport extends Object implements Deserializer
Constructor and Description |
---|
DeserializerSupport() |
Modifier and Type | Method and Description |
---|---|
abstract Object |
deserialize(QName xmlName,
QName xmlType,
Source xmlFragment,
SerializationContext serContext)
Deserialize an XML fragment to an object value
|
Object |
deserialize(SOAPContentElement soapElement,
SerializationContext serContext) |
String |
getMechanismType() |
protected Element |
sourceToElement(Source source) |
protected String |
sourceToString(Source source) |
protected String |
unwrapValueStr(Element xmlFragment)
Unwrap the value string from the XML fragment
|
public Object deserialize(SOAPContentElement soapElement, SerializationContext serContext) throws BindingException
BindingException
public abstract Object deserialize(QName xmlName, QName xmlType, Source xmlFragment, SerializationContext serContext) throws BindingException
xmlName
- The root element name of the resulting fragmentxmlType
- The associated schema typexmlFragment
- The XML fragment to deserializeserContext
- The serialization contextBindingException
protected String unwrapValueStr(Element xmlFragment)
public String getMechanismType()
getMechanismType
in interface Deserializer
Copyright © 2018 JBoss by Red Hat. All rights reserved.