◆ AbstractParser()
org.turro.parser.AbstractParser.AbstractParser |
( |
| ) |
|
◆ doExecute()
abstract boolean org.turro.parser.AbstractParser.doExecute |
( |
| ) |
|
|
abstractprotected |
Reimplemented in org.turro.parser.NavigationParser, org.turro.parser.DocumentationParser, org.turro.parser.CoreParser, org.turro.parser.StudentsParser, org.turro.parser.DaoParser, org.turro.parser.WebParser, org.turro.parser.ElephantParser, org.turro.parser.PublicationParser, org.turro.parser.DossierParser, org.turro.parser.CalendarParser, org.turro.parser.AttachParser, org.turro.parser.ContactsParser, and org.turro.parser.FinancialsParser.
◆ execute()
boolean org.turro.parser.AbstractParser.execute |
( |
IConstructor |
constructor, |
|
|
PrintWriter |
out, |
|
|
String[] |
tokens |
|
) |
| |
◆ explainMacros()
abstract void org.turro.parser.AbstractParser.explainMacros |
( |
ParserMacroSet |
macros | ) |
|
|
abstractprotected |
Reimplemented in org.turro.parser.NavigationParser, org.turro.parser.DocumentationParser, org.turro.parser.CoreParser, org.turro.parser.StudentsParser, org.turro.parser.DaoParser, org.turro.parser.WebParser, org.turro.parser.ElephantParser, org.turro.parser.PublicationParser, org.turro.parser.DossierParser, org.turro.parser.CalendarParser, org.turro.parser.AttachParser, org.turro.parser.ContactsParser, and org.turro.parser.FinancialsParser.
◆ getDefaultFor()
String org.turro.parser.AbstractParser.getDefaultFor |
( |
int |
index | ) |
|
|
protected |
Definition at line 111 of file AbstractParser.java.
112 ParserParameter pp = getParameter(index);
113 return pp !=
null ? pp.getDefaultValue() :
null;
◆ getMacroName()
String org.turro.parser.AbstractParser.getMacroName |
( |
| ) |
|
|
protected |
◆ getParserMacros()
◆ getParserName()
abstract String org.turro.parser.AbstractParser.getParserName |
( |
| ) |
|
|
abstract |
Reimplemented in org.turro.parser.NavigationParser, org.turro.parser.DocumentationParser, org.turro.parser.CoreParser, org.turro.parser.StudentsParser, org.turro.parser.DaoParser, org.turro.parser.WebParser, org.turro.parser.ElephantParser, org.turro.parser.PublicationParser, org.turro.parser.DossierParser, org.turro.parser.CalendarParser, org.turro.parser.AttachParser, org.turro.parser.ContactsParser, and org.turro.parser.FinancialsParser.
◆ getToken() [1/6]
String org.turro.parser.AbstractParser.getToken |
( |
int |
index | ) |
|
|
protected |
◆ getToken() [2/6]
String org.turro.parser.AbstractParser.getToken |
( |
int |
index, |
|
|
boolean |
defParameter |
|
) |
| |
|
protected |
◆ getToken() [3/6]
String org.turro.parser.AbstractParser.getToken |
( |
int |
index, |
|
|
String |
def |
|
) |
| |
|
protected |
◆ getToken() [4/6]
String org.turro.parser.AbstractParser.getToken |
( |
String |
name | ) |
|
|
protected |
◆ getToken() [5/6]
String org.turro.parser.AbstractParser.getToken |
( |
String |
name, |
|
|
boolean |
defParameter |
|
) |
| |
|
protected |
Definition at line 79 of file AbstractParser.java.
80 ParserParameter pp = getParameter(name);
81 return pp !=
null ?
tokens[pp.getOrder()] : pp.getDefaultValue();
◆ getToken() [6/6]
String org.turro.parser.AbstractParser.getToken |
( |
String |
name, |
|
|
String |
def |
|
) |
| |
|
protected |
Definition at line 84 of file AbstractParser.java.
85 ParserParameter pp = getParameter(name);
86 return pp !=
null ?
tokens[pp.getOrder()] : def;
◆ getTokenSize()
int org.turro.parser.AbstractParser.getTokenSize |
( |
| ) |
|
|
protected |
◆ prepareProperties()
void org.turro.parser.AbstractParser.prepareProperties |
( |
ElephantMarker |
marker, |
|
|
String |
properties |
|
) |
| |
|
protected |
Definition at line 116 of file AbstractParser.java.
118 File file = Files.file(marker.getConstructor(), properties +
".properties");
120 marker.put(
"props", FileUtil.getOrderedProperties(file));
122 }
catch (IOException ex) {
123 Logger.getLogger(DocumentationParser.class.getName()).log(Level.SEVERE,
null, ex);
◆ constructor
◆ out
PrintWriter org.turro.parser.AbstractParser.out |
|
protected |
◆ parserMacros
◆ parserName
String org.turro.parser.AbstractParser.parserName |
|
protected |
◆ tokens
String [] org.turro.parser.AbstractParser.tokens |
|
protected |
The documentation for this class was generated from the following file: