Jive reference manual
|
#include <jem/xml/TagParser.h>
Public Types | |
typedef TagParser | Self |
typedef Parser | Super |
![]() | |
typedef ParserState | State |
Public Member Functions | |
TagParser (const String &attribs="") | |
virtual void | reset () |
virtual void | parse (State &state) |
virtual void | takeAction (const String &action, const Properties ¶ms) |
virtual void | parseContents (State &state) |
virtual void | handleEmptyContents (State &state) |
virtual void | finish (State &state) |
const String & | getTagName () const |
![]() | |
void | parseInput (const Ref< Tokenizer > &input, const String &source, const Ref< ParseLog > &log=NIL) |
void | parseFile (const String &fname, const Ref< ParseLog > &log=NIL) |
![]() | |
virtual Class * | getClass () const |
Returns the Class instance representing the runtime class of this object. More... | |
virtual String | toString () const |
Returns a short textual description of this object. More... | |
virtual long | hashValue () const |
Returns a hash value for this object. More... | |
virtual bool | equals (const Ref< Object > &obj) const |
Tests whether two objects are equal. More... | |
Ref< Object > | clone () const |
Returns a copy of this object. More... | |
Protected Member Functions | |
virtual | ~TagParser () |
![]() | |
virtual | ~Parser () |
![]() | |
Collectable () | |
Creates an empty Collectable . More... | |
~Collectable () | |
Frees resources. More... | |
![]() | |
AttributeParser () | |
AttributeParser (const String &attribs) | |
virtual | ~AttributeParser () |
void | clear () |
idx_t | declareAttribute (const String &name, Kind kind) |
idx_t | declareAttributes (const String &attribs) |
int | parseAttributes (ParserState &state, bool lenient=false) |
virtual void | handleAttribute (ParserState &state, const String &name, const String &value, idx_t index)=0 |
Protected Attributes | |
bool | isLenient_ |
Additional Inherited Members | |
![]() | |
static void | pushInput (State &state, const Ref< Tokenizer > &input, const String &source, const Ref< Parser > &parser=NIL) |
static void | parseEndTag (State &state, const String &tagName) |
static void | parseError (State &state) |
static void | parseError (State &state, const String &msg) |
static void | inputError (State &state, const String &msg) |
static void | illegalTagError (State &state, const String &tagName) |
static void | illegalAttributeError (State &state, const String &attribName) |
static void | missingAttributeError (State &state, const String &attribName) |
![]() | |
static Class * | getType () |
Returns the Class instance representing the Object class. More... | |
![]() | |
enum | Kind { OPTIONAL, REQUIRED } |
![]() | |
static bool | parseBoolean (ParserState &state, const String &name, const String &value) |
static lint | parseInteger (ParserState &state, const String &name, const String &value) |
static lint | parseInteger (ParserState &state, const String &name, const String &value, lint min, lint max) |
static double | parseFloat (ParserState &state, const String &name, const String &value) |
static double | parseFloat (ParserState &state, const String &name, const String &value, double min, double max) |
typedef TagParser jem::xml::TagParser::Self |
typedef Parser jem::xml::TagParser::Super |
|
explicit |
|
protectedvirtual |
|
virtual |
Reimplemented from jem::xml::Parser.
Reimplemented in jive::util::DBasesParser, jive::util::TablesParser, jive::util::ItemGroupsParser, jive::util::FuncsParser, and jem::xml::SimpleTagParser.
|
virtual |
Implements jem::xml::Parser.
|
virtual |
Reimplemented from jem::xml::Parser.
Reimplemented in jive::util::DBasesParser, jive::util::TablesParser, jive::util::ItemGroupsParser, jive::util::FuncsParser, and jem::xml::SimpleTagParser.
|
virtual |
|
virtual |
Reimplemented in jive::util::DBasesParser, jive::util::TablesParser, jive::util::ItemGroupsParser, and jive::util::FuncsParser.
|
virtual |
Reimplemented in jive::util::DBasesParser, jive::util::TablesParser, jive::util::ItemGroupsParser, and jive::util::FuncsParser.
const String& jem::xml::TagParser::getTagName | ( | ) | const |
|
protected |