Package org.n52.svalbard.encode
Enum XmlEncoderFlags
- java.lang.Object
-
- java.lang.Enum<XmlEncoderFlags>
-
- org.n52.svalbard.encode.XmlEncoderFlags
-
- All Implemented Interfaces:
Serializable,Comparable<XmlEncoderFlags>
public enum XmlEncoderFlags extends Enum<XmlEncoderFlags>
TODO JavaDoc
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_SCHEMA_LOCATIONShould be of typeboolean.ENCODE_NAMESPACEShould be of typeString.XML_OPTIONSShould be of typejava.util.function.Supplier<org.apache.xmlbeans.XmlOptions>.XML_VERSIONShould be of typeString.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XmlEncoderFlagsvalueOf(String name)Returns the enum constant of this type with the specified name.static XmlEncoderFlags[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENCODE_NAMESPACE
public static final XmlEncoderFlags ENCODE_NAMESPACE
Should be of typeString.
-
ADD_SCHEMA_LOCATION
public static final XmlEncoderFlags ADD_SCHEMA_LOCATION
Should be of typeboolean.
-
XML_VERSION
public static final XmlEncoderFlags XML_VERSION
Should be of typeString.
-
XML_OPTIONS
public static final XmlEncoderFlags XML_OPTIONS
Should be of typejava.util.function.Supplier<org.apache.xmlbeans.XmlOptions>.
-
-
Method Detail
-
values
public static XmlEncoderFlags[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (XmlEncoderFlags c : XmlEncoderFlags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XmlEncoderFlags valueOf(String name)
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
-
-