| Modifier and Type | Field and Description |
|---|---|
| private static final List | |
| private static final List | |
| private static final List | |
| private static final List | |
| private static final List | |
| private static final List | |
| private static final List | |
| private static final List | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | checkArrayOperands(List<COSBase> arguments, int length)
If the arguments list of Operator doesn't have Array parameter, this method throws a ContentStreamException. |
| private void | checkNoOperands(List<COSBase> arguments)
If the arguments list of Operator isn't empty, this method throws a ContentStreamException. |
| private void | checkNumberOperands(List<COSBase>
the arguments list to check arguments, int the expected size of the list length)If the arguments list of Operator doesn't have Number parameters (Int, float...), this method throws a ContentStreamException. |
| private void | checkStringOperands(List<COSBase> arguments, int length)
If the arguments list of Operator doesn't have String parameter, this method throws a ContentStreamException. |
| private void | checkTagAndPropertyOperands(List<COSBase> arguments)
The given arguments list is valid only if the first argument is a Tag (A String) and if the second argument is a String or a Dictionary |
| private ContentStreamException | Returns: the ContentStreamException created.Create a ContentStreamException with ERROR_SYNTAX_CONTENT_STREAM_INVALID_ARGUMENT. |
| private ContentStreamException | Returns: the ContentStreamException created.Create a ContentStreamException with ERROR_SYNTAX_CONTENT_STREAM_INVALID_ARGUMENT. |
| public String | getName()
Implements abstract org. Returns the name of this operator, e.g. "BI". |
| public void | process(Operator
the operator to process operator, List<COSBase> the operands to use when processing arguments)Implements abstract org. Process the operator. |
| CHECK_ARRAY_OPERANDS | back to summary |
|---|---|
| private static final List<String> CHECK_ARRAY_OPERANDS | |
| CHECK_NO_OPERANDS | back to summary |
|---|---|
| private static final List<String> CHECK_NO_OPERANDS | |
| CHECK_NUMBER_OPERANDS | back to summary |
|---|---|
| private static final List<String> CHECK_NUMBER_OPERANDS | |
| CHECK_NUMBER_OPERANDS_2 | back to summary |
|---|---|
| private static final List<String> CHECK_NUMBER_OPERANDS_2 | |
| CHECK_NUMBER_OPERANDS_4 | back to summary |
|---|---|
| private static final List<String> CHECK_NUMBER_OPERANDS_4 | |
| CHECK_NUMBER_OPERANDS_6 | back to summary |
|---|---|
| private static final List<String> CHECK_NUMBER_OPERANDS_6 | |
| CHECK_STRING_OPERANDS | back to summary |
|---|---|
| private static final List<String> CHECK_STRING_OPERANDS | |
| CHECK_TAG_AND_PROPERTY_OPERANDS | back to summary |
|---|---|
| private static final List<String> CHECK_TAG_AND_PROPERTY_OPERANDS | |
| name | back to summary |
|---|---|
| private final String name | |
| StubOperator | back to summary |
|---|---|
| public StubOperator(PDFStreamEngine context, String name) | |
| checkArrayOperands | back to summary |
|---|---|
| private void checkArrayOperands(List<COSBase> arguments, int length) throws ContentStreamException If the arguments list of Operator doesn't have Array parameter, this method throws a ContentStreamException. | |
| checkNoOperands | back to summary |
|---|---|
| private void checkNoOperands(List<COSBase> arguments) throws ContentStreamException If the arguments list of Operator isn't empty, this method throws a ContentStreamException. | |
| checkNumberOperands | back to summary |
|---|---|
| private void checkNumberOperands(List<COSBase> arguments, int length) throws ContentStreamException If the arguments list of Operator doesn't have Number parameters (Int, float...), this method throws a ContentStreamException. | |
| checkStringOperands | back to summary |
|---|---|
| private void checkStringOperands(List<COSBase> arguments, int length) throws ContentStreamException If the arguments list of Operator doesn't have String parameter, this method throws a ContentStreamException. | |
| checkTagAndPropertyOperands | back to summary |
|---|---|
| private void checkTagAndPropertyOperands(List<COSBase> arguments) throws ContentStreamException The given arguments list is valid only if the first argument is a Tag (A String) and if the second argument is a String or a Dictionary | |
| createInvalidArgumentsError | back to summary |
|---|---|
| private ContentStreamException createInvalidArgumentsError() Create a ContentStreamException with ERROR_SYNTAX_CONTENT_STREAM_INVALID_ARGUMENT.
| |
| createLimitError | back to summary |
|---|---|
| private ContentStreamException createLimitError(String errorCode, String details) Create a ContentStreamException with ERROR_SYNTAX_CONTENT_STREAM_INVALID_ARGUMENT.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract org. Doc from org. Returns the name of this operator, e.g. "BI". | |
| process | back to summary |
|---|---|
| public void process(Operator operator, List<COSBase> arguments) throws IOException Implements abstract org. Doc from org. Process the operator.
| |