public class Do extends Operator
Class representing Do operator (Invoke XObject).
Constructor and Description |
---|
Do()
Constructs new Do operator.
|
Do(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class.
|
Do(String name)
Constructs new Do operator.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
|
void |
fromCommand(com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
For internal usage only!
|
String |
getCommandName()
Gets command name
|
String |
getName()
Get name of XObject argument of the operator.
|
void |
setName(String value)
Set name of XObject argument of the operator.
|
com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand |
toCommand()
For internal usage only!
|
String |
toString()
Returns text representation of operator.
|
clear, getCommand, getIndex, getParameters, getTrailerable, isTextShowOperator, reset, setIndex, toString
public Do(int index, com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class.
index
- Index of operator.command
- Operator command.public Do(String name)
Constructs new Do operator.
name
- Name of invoked XObject.public Do()
Constructs new Do operator. Used for retrieving all Do operators, i.e. without checking their argument names.
public String getName()
Get name of XObject argument of the operator.
public void setName(String value)
Set name of XObject argument of the operator.
value
- String valuepublic void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
public String toString()
Returns text representation of operator.
public String getCommandName()
Gets command name
getCommandName
in class Operator
public com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand toCommand()
Operator
saves operator to command
public void fromCommand(com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Operator
Loads operator from command
command
- ICommand value