public class ConfigurationLine extends SingleLine
<key> := <config>[;]| Constructor and Description |
|---|
ConfigurationLine(Document document,
int offset,
LineType lineType)
Creates a configuration line.
This line always spans only one line. |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Gets the key's name.
|
String |
getValue()
Gets the key's value.
|
void |
parse()
Parses a line.
|
assertParsed, createModelException, createModelException, getDocument, getLength, getLineNumber, getLineType, getOffset, getSourceInfo, getText, setLength, toStringpublic void parse()
throws ModelException
Lineparse in class SingleLineModelException - if parsing failedpublic String getKey() throws ModelException
ModelException - if not parsedpublic String getValue() throws ModelException
ModelException - if not parsedTentackle - a domain driven enterprise framework