Class Parser.AbstractSyntaxHandler
- java.lang.Object
-
- com.tom_roush.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 aParser.SyntaxHandler.
-
-
Constructor Summary
Constructors Constructor Description AbstractSyntaxHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomment(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, wait
-
Methods inherited from interface com.tom_roush.pdfbox.pdmodel.common.function.type4.Parser.SyntaxHandler
token
-
-
-
-
Method Detail
-
comment
public void comment(CharSequence text)
Called for a comment.- Specified by:
commentin interfaceParser.SyntaxHandler- Parameters:
text- the comment
-
newLine
public void newLine(CharSequence text)
Indicates that a new line starts.- Specified by:
newLinein interfaceParser.SyntaxHandler- Parameters:
text- the new line character (CR, LF, CR/LF or FF)
-
whitespace
public void whitespace(CharSequence text)
Called when whitespace characters are encountered.- Specified by:
whitespacein interfaceParser.SyntaxHandler- Parameters:
text- the whitespace text
-
-