Module org.sejda.sambox
Class Parser.AbstractSyntaxHandler
java.lang.Object
org.sejda.sambox.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 TypeMethodDescriptionvoidcomment(CharSequence text) Called for a comment.voidnewLine(CharSequence text) Indicates that a new line starts.voidwhitespace(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, waitMethods inherited from interface org.sejda.sambox.pdmodel.common.function.type4.Parser.SyntaxHandler
token
-
Constructor Details
-
AbstractSyntaxHandler
public AbstractSyntaxHandler()
-
-
Method Details
-
comment
Called for a comment.- Specified by:
commentin interfaceParser.SyntaxHandler- Parameters:
text- the comment
-
newLine
Indicates that a new line starts.- Specified by:
newLinein interfaceParser.SyntaxHandler- Parameters:
text- the new line character (CR, LF, CR/LF or FF)
-
whitespace
Called when whitespace characters are encountered.- Specified by:
whitespacein interfaceParser.SyntaxHandler- Parameters:
text- the whitespace text
-