com.sun.msv.reader.trex
public abstract class TREXBaseReader extends GrammarReader
Nested Class Summary | |
---|---|
abstract static class | TREXBaseReader.StateFactory
creates various State object, which in turn parses grammar.
parsing behavior can be customized by implementing custom StateFactory. |
Field Summary | |
---|---|
static String | ERR_BAD_COMBINE |
static String | ERR_COMBINE_MISSING |
static String | ERR_DUPLICATE_DEFINITION |
static String | ERR_INTERLEAVED_ANYSTRING |
static String | ERR_INTERLEAVED_STRING |
static String | ERR_MISSING_CHILD_NAMECLASS |
static String | ERR_MORE_THAN_ONE_NAMECLASS |
static String | ERR_NONEXISTENT_PARENT_GRAMMAR |
static String | ERR_REPEATED_STRING |
static String | ERR_SEQUENCED_STRING |
static String | ERR_UNDECLARED_PREFIX |
static String | ERR_UNDEFINED_PATTERN |
static String | ERR_UNKNOWN_DATATYPE_VOCABULARY |
TREXBaseReader.StateFactory | sfactory |
static String | WRN_COMBINE_IGNORED |
static String | WRN_OBSOLETED_XMLSCHEMA_NAMSPACE |
Constructor Summary | |
---|---|
TREXBaseReader(GrammarReaderController controller, SAXParserFactory parserFactory, ExpressionPool pool, TREXBaseReader.StateFactory stateFactory, State rootState) full constructor |
Method Summary | |
---|---|
State | createExpressionChildState(State parent, StartTagInfo tag) |
void | endElement(String a, String b, String c) |
TREXGrammar | getResult() obtains parsed grammar object only if parsing was successful. |
Grammar | getResultAsGrammar() |
String | getTargetNamespace() |
void | startElement(String a, String b, String c, Attributes d) |
void | wrapUp()
performs final wrap-up.
|
This method has to be called after the run-away expression check is done.