Package org.bremersee.xml
Enum Class SchemaMode
- All Implemented Interfaces:
Serializable
,Comparable<SchemaMode>
,Constable
The schema mode.
- Author:
- Christian Bremer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlways add schema to the jaxb marshaller or unmarshaller.Add only a schema to the marshaller or unmarshaller if an external schema specification is used.Add always a schema to the jaxb marshaller, but not to the unmarshaller.Never add a schema to the jaxb marshaller or unmarshaller.Add always a schema to the jaxb unmarshaller, but not to the marshaller. -
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaMode
Returns the enum constant of this class with the specified name.static SchemaMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEVER
Never add a schema to the jaxb marshaller or unmarshaller. -
ALWAYS
Always add schema to the jaxb marshaller or unmarshaller. -
MARSHAL
Add always a schema to the jaxb marshaller, but not to the unmarshaller. -
UNMARSHAL
Add always a schema to the jaxb unmarshaller, but not to the marshaller. -
EXTERNAL_XSD
Add only a schema to the marshaller or unmarshaller if an external schema specification is used.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-