Package com.adaptris.core.poi
Enum XmlStyle.ElementNaming
- java.lang.Object
-
- java.lang.Enum<XmlStyle.ElementNaming>
-
- com.adaptris.core.poi.XmlStyle.ElementNaming
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<XmlStyle.ElementNaming>
- Enclosing class:
- XmlStyle
public static enum XmlStyle.ElementNaming extends java.lang.Enum<XmlStyle.ElementNaming>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CELL_POSITION
HEADER_ROW
SIMPLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
createColumnNames(org.apache.poi.ss.usermodel.Sheet sheet, XmlStyle style)
static XmlStyle.ElementNaming
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static XmlStyle.ElementNaming[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIMPLE
public static final XmlStyle.ElementNaming SIMPLE
-
CELL_POSITION
public static final XmlStyle.ElementNaming CELL_POSITION
-
HEADER_ROW
public static final XmlStyle.ElementNaming HEADER_ROW
-
-
Method Detail
-
values
public static XmlStyle.ElementNaming[] 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 (XmlStyle.ElementNaming c : XmlStyle.ElementNaming.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XmlStyle.ElementNaming 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
-
createColumnNames
public java.lang.String[] createColumnNames(org.apache.poi.ss.usermodel.Sheet sheet, XmlStyle style)
-
-