Enum Class JaxbSupport

java.lang.Object
java.lang.Enum<JaxbSupport>
org.faktorips.runtime.xml.jakarta.JaxbSupport
All Implemented Interfaces:
Serializable, Comparable<JaxbSupport>, Constable, org.faktorips.runtime.xml.IXmlBindingSupport<jakarta.xml.bind.JAXBContext>

public enum JaxbSupport extends Enum<JaxbSupport> implements org.faktorips.runtime.xml.IXmlBindingSupport<jakarta.xml.bind.JAXBContext>
Jakarta JAXB version of the IXmlBindingSupport, to be used with Java EE 9 or newer.
  • Enum Constant Details

  • Method Details

    • values

      public static JaxbSupport[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JaxbSupport valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • newJAXBContext

      public jakarta.xml.bind.JAXBContext newJAXBContext(org.faktorips.runtime.IRuntimeRepository repository)
      Specified by:
      newJAXBContext in interface org.faktorips.runtime.xml.IXmlBindingSupport<jakarta.xml.bind.JAXBContext>
    • newJAXBContext

      public jakarta.xml.bind.JAXBContext newJAXBContext(jakarta.xml.bind.JAXBContext ctx, org.faktorips.runtime.IRuntimeRepository repository)
      Specified by:
      newJAXBContext in interface org.faktorips.runtime.xml.IXmlBindingSupport<jakarta.xml.bind.JAXBContext>
    • wrap

      public static <ValueType, BoundType> jakarta.xml.bind.annotation.adapters.XmlAdapter<ValueType,BoundType> wrap(org.faktorips.runtime.xml.IIpsXmlAdapter<ValueType,BoundType> xmlAdapter)