public static enum AFPResourceLevel.ResourceType extends java.lang.Enum<AFPResourceLevel.ResourceType>
Enum Constant and Description |
---|
DOCUMENT
document level
|
EXTERNAL
external level
|
INLINE
directly in page
|
PAGE
page level
|
PAGE_GROUP
page group level
|
PRINT_FILE
print file level
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
static AFPResourceLevel.ResourceType |
getValueOf(java.lang.String levelString) |
static AFPResourceLevel.ResourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AFPResourceLevel.ResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AFPResourceLevel.ResourceType INLINE
public static final AFPResourceLevel.ResourceType PAGE
public static final AFPResourceLevel.ResourceType PAGE_GROUP
public static final AFPResourceLevel.ResourceType DOCUMENT
public static final AFPResourceLevel.ResourceType PRINT_FILE
public static final AFPResourceLevel.ResourceType EXTERNAL
public static AFPResourceLevel.ResourceType[] values()
for (AFPResourceLevel.ResourceType c : AFPResourceLevel.ResourceType.values()) System.out.println(c);
public static AFPResourceLevel.ResourceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static AFPResourceLevel.ResourceType getValueOf(java.lang.String levelString)
public java.lang.String getName()
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.