Package org.ametys.cms.tag
Enum CMSTag.TagVisibility
- java.lang.Object
-
- java.lang.Enum<CMSTag.TagVisibility>
-
- org.ametys.cms.tag.CMSTag.TagVisibility
-
- All Implemented Interfaces:
Serializable
,Comparable<CMSTag.TagVisibility>
- Enclosing class:
- CMSTag
public static enum CMSTag.TagVisibility extends Enum<CMSTag.TagVisibility>
Tag visibility
-
-
Constructor Summary
Constructors Modifier Constructor Description private
TagVisibility()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CMSTag.TagVisibility
valueOf(String name)
Returns the enum constant of this type with the specified name.static CMSTag.TagVisibility[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUBLIC
public static final CMSTag.TagVisibility PUBLIC
Public tag.
-
PRIVATE
public static final CMSTag.TagVisibility PRIVATE
Private tag.
-
-
Constructor Detail
-
TagVisibility
private TagVisibility()
-
-
Method Detail
-
values
public static CMSTag.TagVisibility[] 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 (CMSTag.TagVisibility c : CMSTag.TagVisibility.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CMSTag.TagVisibility 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
-
-