Class CorrelationKeyXmlAdapter

java.lang.Object
jakarta.xml.bind.annotation.adapters.XmlAdapter<String,CorrelationKey>
org.kie.internal.jaxb.CorrelationKeyXmlAdapter

public class CorrelationKeyXmlAdapter extends jakarta.xml.bind.annotation.adapters.XmlAdapter<String,CorrelationKey>
  • Constructor Details

    • CorrelationKeyXmlAdapter

      public CorrelationKeyXmlAdapter()
  • Method Details

    • unmarshal

      public CorrelationKey unmarshal(String key) throws Exception
      Specified by:
      unmarshal in class jakarta.xml.bind.annotation.adapters.XmlAdapter<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 - A CorrelationKey
      Returns:
      A String equivalent of the key
    • marshal

      public String marshal(CorrelationKey key) throws Exception
      Specified by:
      marshal in class jakarta.xml.bind.annotation.adapters.XmlAdapter<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 - A CorrelationKey
      Returns:
      A String equivalent of the key