Class TextParser
java.lang.Object
org.thymeleaf.templateparser.text.TextParser
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TextParser.BufferPoolprivate final booleanprivate final boolean -
Constructor Summary
ConstructorsConstructorDescriptionTextParser(int poolSize, int bufferSize, boolean processCommentsAndLiterals, boolean standardDialectPresent) -
Method Summary
Modifier and TypeMethodDescriptionvoidparse(Reader reader, ITextHandler handler) voidparse(String document, ITextHandler handler) private voidparseBuffer(char[] buffer, int offset, int len, ITextHandler handler, TextParseStatus status) (package private) voidparseDocument(Reader reader, int suggestedBufferSize, ITextHandler handler)
-
Field Details
-
pool
-
processCommentsAndLiterals
private final boolean processCommentsAndLiterals -
standardDialectPresent
private final boolean standardDialectPresent
-
-
Constructor Details
-
TextParser
TextParser(int poolSize, int bufferSize, boolean processCommentsAndLiterals, boolean standardDialectPresent)
-
-
Method Details
-
parse
- Throws:
TextParseException
-
parse
- Throws:
TextParseException
-
parseDocument
void parseDocument(Reader reader, int suggestedBufferSize, ITextHandler handler) throws TextParseException - Throws:
TextParseException
-
parseBuffer
private void parseBuffer(char[] buffer, int offset, int len, ITextHandler handler, TextParseStatus status) throws TextParseException - Throws:
TextParseException
-