Package org.faktorips.runtime.xml.javax
Enum JaxbSupport
- All Implemented Interfaces:
Serializable,Comparable<JaxbSupport>,java.lang.constant.Constable,org.faktorips.runtime.xml.IXmlBindingSupport<JAXBContext>
public enum JaxbSupport
extends Enum<JaxbSupport>
implements org.faktorips.runtime.xml.IXmlBindingSupport<JAXBContext>
Classic
JAXB version of the IXmlBindingSupport, to be used with Java 8 and Java
EE up to 8.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionnewJAXBContext(JAXBContext ctx, org.faktorips.runtime.IRuntimeRepository repository) newJAXBContext(org.faktorips.runtime.IRuntimeRepository repository) static JaxbSupportReturns the enum constant of this type with the specified name.static JaxbSupport[]values()Returns an array containing the constants of this enum type, in the order they are declared.static <ValueType,BoundType>
XmlAdapter<ValueType,BoundType> wrap(org.faktorips.runtime.xml.IIpsXmlAdapter<ValueType, BoundType> xmlAdapter)
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
newJAXBContext
- Specified by:
newJAXBContextin interfaceorg.faktorips.runtime.xml.IXmlBindingSupport<JAXBContext>
-
newJAXBContext
public JAXBContext newJAXBContext(JAXBContext ctx, org.faktorips.runtime.IRuntimeRepository repository) - Specified by:
newJAXBContextin interfaceorg.faktorips.runtime.xml.IXmlBindingSupport<JAXBContext>
-
wrap
public static <ValueType,BoundType> XmlAdapter<ValueType,BoundType> wrap(org.faktorips.runtime.xml.IIpsXmlAdapter<ValueType, BoundType> xmlAdapter)
-