public static enum PDPageContentStream.AppendMode extends Enum<PDPageContentStream.AppendMode>
Enum Constant and Description |
---|
APPEND
Append the content stream after all existing page content streams.
|
OVERWRITE
Overwrite the existing page content streams.
|
PREPEND
Insert before all other page content streams.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isOverwrite() |
boolean |
isPrepend() |
static PDPageContentStream.AppendMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PDPageContentStream.AppendMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PDPageContentStream.AppendMode OVERWRITE
public static final PDPageContentStream.AppendMode APPEND
public static final PDPageContentStream.AppendMode PREPEND
public static PDPageContentStream.AppendMode[] values()
for (PDPageContentStream.AppendMode c : PDPageContentStream.AppendMode.values()) System.out.println(c);
public static PDPageContentStream.AppendMode 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 boolean isOverwrite()
public boolean isPrepend()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.