Jive reference manual
|
#include <jive/util/IncludeParser.h>
Public Member Functions | |
IncludeParser (const Ref< MPContext > &mpx=NIL) | |
virtual Ref< Reader > | openFile (State &state, const String &fname) |
Public Member Functions inherited from jem::xml::IncludeTagParser | |
IncludeTagParser () | |
virtual void | reset () |
virtual void | processTag (State &state) |
Public Member Functions inherited from jem::xml::EmptyTagParser | |
EmptyTagParser (const String &attribs="") | |
virtual void | parse (State &state) |
virtual void | takeAction (const String &action, const Properties ¶ms) |
const String & | getTagName () const |
Public Member Functions inherited from jem::xml::Parser | |
void | parseInput (const Ref< Tokenizer > &input, const String &source, const Ref< ParseLog > &log=NIL) |
void | parseFile (const String &fname, const Ref< ParseLog > &log=NIL) |
Public Member Functions inherited from jem::Object | |
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 | ~IncludeParser () |
Protected Member Functions inherited from jem::xml::IncludeTagParser | |
virtual | ~IncludeTagParser () |
virtual void | handleAttribute (State &state, const String &name, const String &value, idx_t index) |
Protected Member Functions inherited from jem::xml::EmptyTagParser | |
virtual | ~EmptyTagParser () |
Protected Member Functions inherited from jem::xml::Parser | |
virtual | ~Parser () |
Protected Member Functions inherited from jem::Collectable | |
Collectable () | |
Creates an empty Collectable . More... | |
~Collectable () | |
Frees resources. More... | |
Protected Member Functions inherited from jem::xml::AttributeParser | |
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) |
Additional Inherited Members | |
Public Types inherited from jem::xml::IncludeTagParser | |
typedef jem::io::Reader | Reader |
Public Types inherited from jem::xml::EmptyTagParser | |
typedef EmptyTagParser | Self |
typedef Parser | Super |
Public Types inherited from jem::xml::Parser | |
typedef ParserState | State |
Static Public Member Functions inherited from jem::xml::Parser | |
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 Public Member Functions inherited from jem::Object | |
static Class * | getType () |
Returns the Class instance representing the Object class. More... | |
Static Public Attributes inherited from jem::xml::IncludeTagParser | |
static const char * | TAG_NAME |
static const int | MAX_DEPTH |
Protected Types inherited from jem::xml::AttributeParser | |
enum | Kind { OPTIONAL, REQUIRED } |
Static Protected Member Functions inherited from jem::xml::AttributeParser | |
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) |
Protected Attributes inherited from jem::xml::EmptyTagParser | |
bool | isLenient_ |
|
protectedvirtual |
|
virtual |
Reimplemented from jem::xml::IncludeTagParser.