Package net.sf.saxon.type
Enum OpenContentVariety
- java.lang.Object
-
- java.lang.Enum<OpenContentVariety>
-
- net.sf.saxon.type.OpenContentVariety
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<OpenContentVariety>
public enum OpenContentVariety extends java.lang.Enum<OpenContentVariety>
The different varieties of open content for complex types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSENT
INTERLEAVE
NONE
SUFFIX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OpenContentVariety
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static OpenContentVariety[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABSENT
public static final OpenContentVariety ABSENT
-
NONE
public static final OpenContentVariety NONE
-
INTERLEAVE
public static final OpenContentVariety INTERLEAVE
-
SUFFIX
public static final OpenContentVariety SUFFIX
-
-
Method Detail
-
values
public static OpenContentVariety[] 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 (OpenContentVariety c : OpenContentVariety.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpenContentVariety valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-