Do
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.Operator
public class Do extends Operator
Class representing Do operator (Invoke XObject).
Constructors
Constructor | Description |
---|---|
Do(int index, ICommand command) | Constructor for operator class. |
Do(String name) | Constructs new Do operator. |
Do() | Constructs new Do operator. |
Methods
Method | Description |
---|---|
getName() | Get name of XObject argument of the operator. |
setName(String value) | Set name of XObject argument of the operator. |
accept(IOperatorSelector visitor) | Accepts visitor object to process operator. |
toString() | Returns text representation of operator. |
getCommandName() | Gets command name |
toCommand() | |
fromCommand(ICommand command) |
Do(int index, ICommand command)
public Do(int index, ICommand command)
Constructor for operator class.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | Index of operator. |
command | ICommand | Operator command. |
Do(String name)
public Do(String name)
Constructs new Do operator.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | Name of invoked XObject. |
Do()
public Do()
Constructs new Do operator. Used for retrieving all Do operators, i.e. without checking their argument names.
getName()
public String getName()
Get name of XObject argument of the operator.
Returns: java.lang.String - String value
setName(String value)
public void setName(String value)
Set name of XObject argument of the operator.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | String value |
accept(IOperatorSelector visitor)
public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
Parameters:
Parameter | Type | Description |
---|---|---|
visitor | IOperatorSelector | Visitor object. |
toString()
public String toString()
Returns text representation of operator.
Returns: java.lang.String - Text representation of operator.
getCommandName()
public String getCommandName()
Gets command name
Returns: java.lang.String - String value
toCommand()
public ICommand toCommand()
Returns: ICommand
fromCommand(ICommand command)
public void fromCommand(ICommand command)
Parameters:
Parameter | Type | Description |
---|---|---|
command | ICommand |