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>
Exception
public static CorrelationKey unmarshalCorrelationKey(String key)
key
- A CorrelationKey
String
equivalent of the keypublic String marshal(CorrelationKey key) throws Exception
marshal
in class XmlAdapter<String,CorrelationKey>
Exception
public static String marshalCorrelationKey(CorrelationKey key)
key
- A CorrelationKey
String
equivalent of the keyCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.