Abstract superclass of all XML builder classes. More...
Public Member Functions | |
Builder () | |
void | setParser (Parser parser) |
int | getParseOK () |
int | getParseErrorLineNumber () |
abstract void | begin () |
abstract void | beginElement (String element, String[] attributes, String[] values) |
abstract void | content (String s) |
abstract void | endElement (String element) |
abstract void | end () |
void | error (int lineNumber) |
void | error () |
void | Assert (boolean predicate) |
Static Public Attributes | |
static int | PARSER_OK = 0 |
static int | PARSER_FAIL = 1 |
static int | PARSER_OLDXML = 2 |
Protected Attributes | |
Parser | parser |
The parser which owns this builder. | |
int | parseOK |
Whether parsing was successful. | |
int | parseErrorLineNumber |
The line number of the first parse error in the file. |
Abstract superclass of all XML builder classes.
Definition at line 34 of file Builder.java.
edu.rice.cs.hpc.data.experiment.xml.Builder.Builder | ( | ) |
Definition at line 65 of file Builder.java.
References edu.rice.cs.hpc.data.experiment.xml.Builder.parseErrorLineNumber, and edu.rice.cs.hpc.data.experiment.xml.Builder.parser.
void edu.rice.cs.hpc.data.experiment.xml.Builder.Assert | ( | boolean | predicate | ) |
Definition at line 207 of file Builder.java.
References edu.rice.cs.hpc.data.experiment.xml.Builder.error().
Referenced by edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.do_TITLE(), and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.end_F().
abstract void edu.rice.cs.hpc.data.experiment.xml.Builder.begin | ( | ) | [pure virtual] |
Implemented in edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.
Referenced by edu.rice.cs.hpc.data.experiment.xml.Parser.parse().
abstract void edu.rice.cs.hpc.data.experiment.xml.Builder.beginElement | ( | String | element, | |
String[] | attributes, | |||
String[] | values | |||
) | [pure virtual] |
abstract void edu.rice.cs.hpc.data.experiment.xml.Builder.content | ( | String | s | ) | [pure virtual] |
Implemented in edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.
abstract void edu.rice.cs.hpc.data.experiment.xml.Builder.end | ( | ) | [pure virtual] |
Implemented in edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.
Referenced by edu.rice.cs.hpc.data.experiment.xml.Parser.parse().
abstract void edu.rice.cs.hpc.data.experiment.xml.Builder.endElement | ( | String | element | ) | [pure virtual] |
void edu.rice.cs.hpc.data.experiment.xml.Builder.error | ( | ) |
Definition at line 195 of file Builder.java.
References edu.rice.cs.hpc.data.experiment.xml.Parser.getLineNumber(), and edu.rice.cs.hpc.data.experiment.xml.Builder.parser.
Referenced by edu.rice.cs.hpc.data.experiment.xml.Builder.Assert(), and edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.end().
void edu.rice.cs.hpc.data.experiment.xml.Builder.error | ( | int | lineNumber | ) |
Definition at line 179 of file Builder.java.
References edu.rice.cs.hpc.data.experiment.xml.Builder.parseErrorLineNumber, and edu.rice.cs.hpc.data.experiment.xml.Builder.parseOK.
Referenced by edu.rice.cs.hpc.data.experiment.xml.Parser.parse().
int edu.rice.cs.hpc.data.experiment.xml.Builder.getParseErrorLineNumber | ( | ) |
Definition at line 114 of file Builder.java.
References edu.rice.cs.hpc.data.experiment.xml.Builder.parseErrorLineNumber.
Referenced by edu.rice.cs.hpc.data.experiment.xml.ExperimentFileXML.parse().
int edu.rice.cs.hpc.data.experiment.xml.Builder.getParseOK | ( | ) |
Definition at line 102 of file Builder.java.
References edu.rice.cs.hpc.data.experiment.xml.Builder.parseOK.
Referenced by edu.rice.cs.hpc.data.experiment.xml.ExperimentFileXML.parse().
void edu.rice.cs.hpc.data.experiment.xml.Builder.setParser | ( | Parser | parser | ) |
Definition at line 83 of file Builder.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.Parser.Parser().
int edu.rice.cs.hpc.data.experiment.xml.Builder.parseErrorLineNumber [protected] |
The line number of the first parse error in the file.
Definition at line 49 of file Builder.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.Builder.Builder(), edu.rice.cs.hpc.data.experiment.xml.Builder.error(), and edu.rice.cs.hpc.data.experiment.xml.Builder.getParseErrorLineNumber().
int edu.rice.cs.hpc.data.experiment.xml.Builder.parseOK [protected] |
Whether parsing was successful.
Definition at line 46 of file Builder.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.Builder.error(), and edu.rice.cs.hpc.data.experiment.xml.Builder.getParseOK().
The parser which owns this builder.
Definition at line 43 of file Builder.java.
Referenced by edu.rice.cs.hpc.data.experiment.xml.Builder.Builder(), edu.rice.cs.hpc.data.experiment.xml.BaseExperimentBuilder.endScope(), and edu.rice.cs.hpc.data.experiment.xml.Builder.error().
int edu.rice.cs.hpc.data.experiment.xml.Builder.PARSER_FAIL = 1 [static] |
Definition at line 39 of file Builder.java.
int edu.rice.cs.hpc.data.experiment.xml.Builder.PARSER_OK = 0 [static] |
Definition at line 38 of file Builder.java.
int edu.rice.cs.hpc.data.experiment.xml.Builder.PARSER_OLDXML = 2 [static] |
Definition at line 40 of file Builder.java.