java.lang.Object
org.tentackle.model.parse.Line
org.tentackle.model.parse.SingleLine
org.tentackle.model.parse.GlobalOptionLine
Global options line.
Example:
[tokenlock, tableserial]
- Author:
- harald
-
Constructor Summary
ConstructorsConstructorDescriptionGlobalOptionLine(Document document, int offset, LineType lineType) Creates a global options line.
This line always spans only one line. -
Method Summary
Modifier and TypeMethodDescriptionGets the option strings.Gets the sorting strings.Gets the stereotypes.voidparse()Parses a line.Methods inherited from class org.tentackle.model.parse.Line
assertParsed, createModelException, createModelException, getDocument, getLength, getLineNumber, getLineType, getOffset, getSourceInfo, getText, setLength, toString
-
Constructor Details
-
GlobalOptionLine
Creates a global options line.
This line always spans only one 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.- Overrides:
parsein classSingleLine- Throws:
ModelException- if parsing failed
-
getOptions
Gets the option strings.- Returns:
- the options
- Throws:
ModelException- if not parsed
-
getStereotypes
Gets the stereotypes.- Returns:
- the stereotypes
- Throws:
ModelException- if not parsed
-
getSortings
Gets the sorting strings.- Returns:
- the sortings
- Throws:
ModelException- if not parsed
-