Operator
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.Operator
public abstract class Operator extends Object
Abstract class representing operator.
Constructors
| Constructor | Description |
|---|---|
| Operator | For internal usage only! |
Methods
| Method | Description |
|---|---|
| accept | Accepts visitor IOperatorSelector which provides operators processing. |
| createFromCommandName | Creates operator by name of com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand instance. |
| equals | Compares this instance with the given object. |
| getCommand | Gets command |
| getCommandName | Gets operator name. |
| getIndex | Get Operator index in page operators list. |
| isTextShowOperator | Determines if the operator is operator which responsible for text output (Tj, TJ, etc) |
| setIndex | Set Operator index in page operators list. |
| toString | Translates command and parameters into string representation. |
| valueEquals | Compares this instance with the given object. |
Operator
For internal usage only!
accept
Accepts visitor IOperatorSelector which provides operators processing.
createFromCommandName
Creates operator by name of com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand instance.
equals
Compares this instance with the given object.
getCommand
public com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand getCommand()
Gets command
Returns: ICommand object
getCommandName
public String getCommandName()
Gets operator name.
Returns: String value
getIndex
public int getIndex()
Get Operator index in page operators list.
Returns: int value
isTextShowOperator
Determines if the operator is operator which responsible for text output (Tj, TJ, etc)
setIndex
public void setIndex(int value)
Set Operator index in page operators list.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int value |
toString
public String toString()
Translates command and parameters into string representation.
Returns: Operator text
valueEquals
Compares this instance with the given object.