- java.lang.Object
-
- org.tentackle.model.parse.Line
-
- org.tentackle.model.parse.SingleLine
-
- org.tentackle.model.parse.GlobalOptionLine
-
public class GlobalOptionLine extends SingleLine
Global options line.Example:
[bind, autoselect, tracked, editedby, tableserial, generated]
- Author:
- harald
-
-
Constructor Summary
Constructors Constructor Description GlobalOptionLine(Document document, int offset, LineType lineType)Creates a global options line.
This line always spans only one line.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getOptions()Gets the option strings.java.util.List<java.lang.String>getSortings()Gets the sorting strings.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
-
-
-
-
Method Detail
-
parse
public void parse() throws ModelExceptionDescription copied from class:LineParses a line.- Overrides:
parsein classSingleLine- Throws:
ModelException- if parsing failed
-
getOptions
public java.util.List<java.lang.String> getOptions() throws ModelExceptionGets the option strings.- Returns:
- the options
- Throws:
ModelException- if not parsed
-
getSortings
public java.util.List<java.lang.String> getSortings() throws ModelExceptionGets the sorting strings.- Returns:
- the sortings
- Throws:
ModelException- if not parsed
-
-