Jive reference manual
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
jem::xml::Parser Class Referenceabstract

#include <jem/xml/Parser.h>

Inherits jem::Object.

Inherited by jem::xml::CompoundParser, jem::xml::DOMParser, jem::xml::EmptyTagParser, jem::xml::SkipTagParser, jem::xml::TagParser, jive::algebra::SparseMatrixParser, jive::util::ConstraintsParser, jive::util::DBaseParser, jive::util::FuncParser, jive::util::GroupSetParser, jive::util::ItemGroupParser, jive::util::MemberSetParser, jive::util::PartParser, jive::util::PointSetParser, and jive::util::TableParser.

Public Types

typedef ParserState State
 

Public Member Functions

virtual void reset ()
 
virtual void parse (State &state)=0
 
virtual void takeAction (const String &action, const Properties &params)
 
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 ClassgetClass () 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< Objectclone () const
 Returns a copy of this object. More...
 

Static Public Member Functions

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 ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Protected Member Functions

virtual ~Parser ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Member Typedef Documentation

Constructor & Destructor Documentation

virtual jem::xml::Parser::~Parser ( )
protectedvirtual

Member Function Documentation

virtual void jem::xml::Parser::reset ( )
virtual
virtual void jem::xml::Parser::parse ( State state)
pure virtual
virtual void jem::xml::Parser::takeAction ( const String action,
const Properties params 
)
virtual
void jem::xml::Parser::parseInput ( const Ref< Tokenizer > &  input,
const String source,
const Ref< ParseLog > &  log = NIL 
)
void jem::xml::Parser::parseFile ( const String fname,
const Ref< ParseLog > &  log = NIL 
)
static void jem::xml::Parser::pushInput ( State state,
const Ref< Tokenizer > &  input,
const String source,
const Ref< Parser > &  parser = NIL 
)
static
static void jem::xml::Parser::parseEndTag ( State state,
const String tagName 
)
static
static void jem::xml::Parser::parseError ( State state)
static
static void jem::xml::Parser::parseError ( State state,
const String msg 
)
static
static void jem::xml::Parser::inputError ( State state,
const String msg 
)
static
static void jem::xml::Parser::illegalTagError ( State state,
const String tagName 
)
static
static void jem::xml::Parser::illegalAttributeError ( State state,
const String attribName 
)
static
static void jem::xml::Parser::missingAttributeError ( State state,
const String attribName 
)
static