java.lang.Object
org.tentackle.model.parse.Line
org.tentackle.model.parse.MultiLine
- Direct Known Subclasses:
OptionLine,RelationLine
A line consisting of multiple physical lines.
Such lines are concatenated by trailing commas or colons. The first empty line or line ending with a semicolon ends the multiline.
Such lines are concatenated by trailing commas or colons. The first empty line or line ending with a semicolon ends the multiline.
- Author:
- harald
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.tentackle.model.parse.Line
assertParsed, createModelException, createModelException, getDocument, getLength, getLineNumber, getLineType, getOffset, getSourceInfo, getText, setLength, toString
-
Constructor Details
-
MultiLine
Creates a multi-line.- Parameters:
document- the whole documentoffset- offset to first character within documentlineType- the line type
-
-
Method Details
-
parse
Description copied from class:LineParses a line.- Specified by:
parsein classLine- Throws:
ModelException- if parsing failed
-