public class CorrelationKeyXmlAdapter extends XmlAdapter<String,CorrelationKey>
| Constructor and Description |
|---|
CorrelationKeyXmlAdapter() |
| Modifier and Type | Method and Description |
|---|---|
String |
marshal(CorrelationKey key) |
static String |
marshalCorrelationKey(CorrelationKey key)
This method has been made "static"ally available so that
non-JAXB code does not have to (unnecesarily) instantiate
an instance fo this class.
|
CorrelationKey |
unmarshal(String key) |
static CorrelationKey |
unmarshalCorrelationKey(String key)
This method has been made "static"ally available so that
non-JAXB code does not have to (unnecesarily) instantiate
an instance fo this class.
|
public CorrelationKey unmarshal(String key) throws Exception
unmarshal in class XmlAdapter<String,CorrelationKey>Exceptionpublic static CorrelationKey unmarshalCorrelationKey(String key)
key - A CorrelationKeyString equivalent of the keypublic String marshal(CorrelationKey key) throws Exception
marshal in class XmlAdapter<String,CorrelationKey>Exceptionpublic static String marshalCorrelationKey(CorrelationKey key)
key - A CorrelationKeyString equivalent of the keyCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.