Top Description Inners Constructors Methods
org.apache.pdfbox.pdmodel.common.function.type4

pack-priv Class RelationalOperators

extends Object
Class Inheritance
Imports
java.util.Stack

Provides the relational operators such as "eq" and "le".

Nested and Inner Type Summary

Modifier and TypeClass and Description
private abstract static class
RelationalOperators.AbstractNumberComparisonOperator

Abstract base class for number comparison operators.

pack-priv static class
RelationalOperators.Eq

Implements the "eq" operator.

pack-priv static class
RelationalOperators.Ge

Implements the "ge" operator.

pack-priv static class
RelationalOperators.Gt

Implements the "gt" operator.

pack-priv static class
RelationalOperators.Le

Implements the "le" operator.

pack-priv static class
RelationalOperators.Lt

Implements the "lt" operator.

pack-priv static class
RelationalOperators.Ne

Implements the "ne" operator.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

RelationalOperatorsback to summary
private RelationalOperators()
org.apache.pdfbox.pdmodel.common.function.type4 back to summary

private abstract Class RelationalOperators.AbstractNumberComparisonOperator

extends Object
implements Operator
Class Inheritance
  • java.lang.Object
  • org.apache.pdfbox.pdmodel.common.function.type4.RelationalOperators.AbstractNumberComparisonOperator
All Implemented Interfaces
org.apache.pdfbox.pdmodel.common.function.type4.Operator
Known Direct Subclasses
org.apache.pdfbox.pdmodel.common.function.type4.RelationalOperators.Ge, org.apache.pdfbox.pdmodel.common.function.type4.RelationalOperators.Gt, org.apache.pdfbox.pdmodel.common.function.type4.RelationalOperators.Le, org.apache.pdfbox.pdmodel.common.function.type4.RelationalOperators.Lt

Abstract base class for number comparison operators.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
protected abstract boolean
compare(Number num1, Number num2)

public void
execute(ExecutionContext
the execution context
context
)

Implements org.apache.pdfbox.pdmodel.common.function.type4.Operator.execute.

Executes the operator.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractNumberComparisonOperatorback to summary
private AbstractNumberComparisonOperator()

Method Detail

compareback to summary
protected abstract boolean compare(Number num1, Number num2)
executeback to summary
public void execute(ExecutionContext context)

Implements org.apache.pdfbox.pdmodel.common.function.type4.Operator.execute.

Doc from org.apache.pdfbox.pdmodel.common.function.type4.Operator.execute.

Executes the operator. The method can inspect and manipulate the stack.

Parameters
context:ExecutionContext

the execution context

Annotations
@Override
org.apache.pdfbox.pdmodel.common.function.type4 back to summary

pack-priv Class RelationalOperators.Eq

extends Object
implements Operator
Class Inheritance
  • java.lang.Object
  • org.apache.pdfbox.pdmodel.common.function.type4.RelationalOperators.Eq
All Implemented Interfaces
org.apache.pdfbox.pdmodel.common.function.type4.Operator
Known Direct Subclasses
org.apache.pdfbox.pdmodel.common.function.type4.RelationalOperators.Ne

Implements the "eq" operator.

Constructor Summary

AccessConstructor and Description
pack-priv
Eq()

Method Summary

Modifier and TypeMethod and Description
public void
execute(ExecutionContext
the execution context
context
)

Implements org.apache.pdfbox.pdmodel.common.function.type4.Operator.execute.

Executes the operator.

protected boolean
isEqual(Object op1, Object op2)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Eqback to summary
pack-priv Eq()

Method Detail

executeback to summary
public void execute(ExecutionContext context)

Implements org.apache.pdfbox.pdmodel.common.function.type4.Operator.execute.

Doc from org.apache.pdfbox.pdmodel.common.function.type4.Operator.execute.

Executes the operator. The method can inspect and manipulate the stack.

Parameters
context:ExecutionContext

the execution context

Annotations
@Override
isEqualback to summary
protected boolean isEqual(Object op1, Object op2)
org.apache.pdfbox.pdmodel.common.function.type4 back to summary

pack-priv Class RelationalOperators.Ge

extends AbstractNumberComparisonOperator
Class Inheritance

Implements the "ge" operator.

Constructor Summary

AccessConstructor and Description
pack-priv
Ge()

Method Summary

Modifier and TypeMethod and Description
protected boolean
Inherited from org.apache.pdfbox.pdmodel.common.function.type4.RelationalOperators.AbstractNumberComparisonOperator:
execute

Constructor Detail

Geback to summary
pack-priv Ge()

Method Detail

compareback to summary
protected boolean compare(Number num1, Number num2)

Implements abstract org.apache.pdfbox.pdmodel.common.function.type4.RelationalOperators.AbstractNumberComparisonOperator.compare.

Annotations
@Override
org.apache.pdfbox.pdmodel.common.function.type4 back to summary

pack-priv Class RelationalOperators.Gt

extends AbstractNumberComparisonOperator
Class Inheritance

Implements the "gt" operator.

Constructor Summary

AccessConstructor and Description
pack-priv
Gt()

Method Summary

Modifier and TypeMethod and Description
protected boolean
Inherited from org.apache.pdfbox.pdmodel.common.function.type4.RelationalOperators.AbstractNumberComparisonOperator:
execute

Constructor Detail

Gtback to summary
pack-priv Gt()

Method Detail

compareback to summary
protected boolean compare(Number num1, Number num2)

Implements abstract org.apache.pdfbox.pdmodel.common.function.type4.RelationalOperators.AbstractNumberComparisonOperator.compare.

Annotations
@Override
org.apache.pdfbox.pdmodel.common.function.type4 back to summary

pack-priv Class RelationalOperators.Le

extends AbstractNumberComparisonOperator
Class Inheritance

Implements the "le" operator.

Constructor Summary

AccessConstructor and Description
pack-priv
Le()

Method Summary

Modifier and TypeMethod and Description
protected boolean
Inherited from org.apache.pdfbox.pdmodel.common.function.type4.RelationalOperators.AbstractNumberComparisonOperator:
execute

Constructor Detail

Leback to summary
pack-priv Le()

Method Detail

compareback to summary
protected boolean compare(Number num1, Number num2)

Implements abstract org.apache.pdfbox.pdmodel.common.function.type4.RelationalOperators.AbstractNumberComparisonOperator.compare.

Annotations
@Override
org.apache.pdfbox.pdmodel.common.function.type4 back to summary

pack-priv Class RelationalOperators.Lt

extends AbstractNumberComparisonOperator
Class Inheritance

Implements the "lt" operator.

Constructor Summary

AccessConstructor and Description
pack-priv
Lt()

Method Summary

Modifier and TypeMethod and Description
protected boolean
Inherited from org.apache.pdfbox.pdmodel.common.function.type4.RelationalOperators.AbstractNumberComparisonOperator:
execute

Constructor Detail

Ltback to summary
pack-priv Lt()

Method Detail

compareback to summary
protected boolean compare(Number num1, Number num2)

Implements abstract org.apache.pdfbox.pdmodel.common.function.type4.RelationalOperators.AbstractNumberComparisonOperator.compare.

Annotations
@Override
org.apache.pdfbox.pdmodel.common.function.type4 back to summary

pack-priv Class RelationalOperators.Ne

extends Eq
Class Inheritance

Implements the "ne" operator.

Constructor Summary

AccessConstructor and Description
pack-priv
Ne()

Method Summary

Modifier and TypeMethod and Description
protected boolean
Inherited from org.apache.pdfbox.pdmodel.common.function.type4.RelationalOperators.Eq:
execute

Constructor Detail

Neback to summary
pack-priv Ne()

Method Detail

isEqualback to summary
protected boolean isEqual(Object op1, Object op2)

Overrides org.apache.pdfbox.pdmodel.common.function.type4.RelationalOperators.Eq.isEqual.

Annotations
@Override