Package lumis.portal
Enum PortalPrintWriter.WritePosition
- java.lang.Object
-
- java.lang.Enum<PortalPrintWriter.WritePosition>
-
- lumis.portal.PortalPrintWriter.WritePosition
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PortalPrintWriter.WritePosition>
- Enclosing class:
- PortalPrintWriter
@StableMinor(version="17.0", sinceVersion="7.0") public static enum PortalPrintWriter.WritePosition extends java.lang.Enum<PortalPrintWriter.WritePosition>
Defines the position the item will be written.- Since:
- 7.0.0
- Version:
- $Revision$ $Date$
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BODY
The item will be written in the HTML body.HEAD_END
The item will be written in the end of the head (after the head content).HEAD_START
The item will be written in the beginning of the head (before the head content).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PortalPrintWriter.WritePosition
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PortalPrintWriter.WritePosition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BODY
public static final PortalPrintWriter.WritePosition BODY
The item will be written in the HTML body.- Since:
- 7.0.0
-
HEAD_START
public static final PortalPrintWriter.WritePosition HEAD_START
The item will be written in the beginning of the head (before the head content).- Since:
- 7.0.0
-
HEAD_END
public static final PortalPrintWriter.WritePosition HEAD_END
The item will be written in the end of the head (after the head content).- Since:
- 7.0.0
-
-
Method Detail
-
values
public static PortalPrintWriter.WritePosition[] 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 (PortalPrintWriter.WritePosition c : PortalPrintWriter.WritePosition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PortalPrintWriter.WritePosition 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
-
-