Package org.kie.internal.jaxb
Class CorrelationKeyXmlAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<String,CorrelationKey>
-
- org.kie.internal.jaxb.CorrelationKeyXmlAdapter
-
public class CorrelationKeyXmlAdapter extends XmlAdapter<String,CorrelationKey>
-
-
Constructor Summary
Constructors Constructor Description CorrelationKeyXmlAdapter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringmarshal(CorrelationKey key)static StringmarshalCorrelationKey(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.CorrelationKeyunmarshal(String key)static CorrelationKeyunmarshalCorrelationKey(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.
-
-
-
Method Detail
-
unmarshal
public CorrelationKey unmarshal(String key) throws Exception
- Specified by:
unmarshalin classXmlAdapter<String,CorrelationKey>- Throws:
Exception
-
unmarshalCorrelationKey
public 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.- Parameters:
key- ACorrelationKey- Returns:
- A
Stringequivalent of the key
-
marshal
public String marshal(CorrelationKey key) throws Exception
- Specified by:
marshalin classXmlAdapter<String,CorrelationKey>- Throws:
Exception
-
marshalCorrelationKey
public 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.- Parameters:
key- ACorrelationKey- Returns:
- A
Stringequivalent of the key
-
-