public class PDFAction
extends java.lang.Object
Constructor and Description |
---|
PDFAction(java.lang.String type)
Creates a new instance of PDFAction
|
Modifier and Type | Method and Description |
---|---|
static PDFAction |
getAction(PDFObject obj,
PDFObject root)
Get an action of the appropriate type from a PDFObject
|
PDFObject |
getNext()
Get the next action or array of actions
|
java.lang.String |
getType()
Get the type of this action
|
void |
setNext(PDFObject next)
Set the next action or array of actions
|
public PDFAction(java.lang.String type)
public static PDFAction getAction(PDFObject obj, PDFObject root) throws java.io.IOException
obj
- the PDF object containing the action to parseroot
- the root of the PDF object treejava.io.IOException
public java.lang.String getType()
public PDFObject getNext()
public void setNext(PDFObject next)