public static enum PDOptionalContentProperties.BaseState extends Enum<PDOptionalContentProperties.BaseState>
Enum Constant and Description |
---|
OFF
The "OFF" value.
|
ON
The "ON" value.
|
UNCHANGED
The "Unchanged" value.
|
Modifier and Type | Method and Description |
---|---|
COSName |
getName()
Returns the PDF name for the state.
|
static PDOptionalContentProperties.BaseState |
valueOf(COSName state)
Returns the base state represented by the given
COSName . |
static PDOptionalContentProperties.BaseState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PDOptionalContentProperties.BaseState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PDOptionalContentProperties.BaseState ON
public static final PDOptionalContentProperties.BaseState OFF
public static final PDOptionalContentProperties.BaseState UNCHANGED
public static PDOptionalContentProperties.BaseState[] values()
for (PDOptionalContentProperties.BaseState c : PDOptionalContentProperties.BaseState.values()) System.out.println(c);
public static PDOptionalContentProperties.BaseState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic COSName getName()
public static PDOptionalContentProperties.BaseState valueOf(COSName state)
COSName
.state
- the state nameCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.