Operator

Inheritance: java.lang.Object, com.aspose.pdf.Operator

public abstract class Operator extends Object

Abstract class representing operator.

Constructors

ConstructorDescription
OperatorFor internal usage only!

Methods

MethodDescription
acceptAccepts visitor IOperatorSelector which provides operators processing.
createFromCommandNameCreates operator by name of com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand instance.
equalsCompares this instance with the given object.
getCommandGets command
getCommandNameGets operator name.
getIndexGet Operator index in page operators list.
isTextShowOperatorDetermines if the operator is operator which responsible for text output (Tj, TJ, etc)
setIndexSet Operator index in page operators list.
toStringTranslates command and parameters into string representation.
valueEqualsCompares 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:

ParameterTypeDescription
valueint value

toString

public String toString()

Translates command and parameters into string representation.

Returns: Operator text

valueEquals

Compares this instance with the given object.