Class Parser.AbstractSyntaxHandler
java.lang.Object
org.apache.pdfbox.pdmodel.common.function.type4.Parser.AbstractSyntaxHandler
- All Implemented Interfaces:
Parser.SyntaxHandler
- Direct Known Subclasses:
InstructionSequenceBuilder
- Enclosing class:
- Parser
public abstract static class Parser.AbstractSyntaxHandler
extends Object
implements Parser.SyntaxHandler
Abstract base class for a
Parser.SyntaxHandler
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
comment
(CharSequence text) Called for a comment.void
newLine
(CharSequence text) Indicates that a new line starts.void
whitespace
(CharSequence text) Called when whitespace characters are encountered.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.pdfbox.pdmodel.common.function.type4.Parser.SyntaxHandler
token
-
Constructor Details
-
AbstractSyntaxHandler
public AbstractSyntaxHandler()
-
-
Method Details
-
comment
Called for a comment.- Specified by:
comment
in interfaceParser.SyntaxHandler
- Parameters:
text
- the comment
-
newLine
Indicates that a new line starts.- Specified by:
newLine
in interfaceParser.SyntaxHandler
- Parameters:
text
- the new line character (CR, LF, CR/LF or FF)
-
whitespace
Called when whitespace characters are encountered.- Specified by:
whitespace
in interfaceParser.SyntaxHandler
- Parameters:
text
- the whitespace text
-