LLXmlTreeParser Class Reference

#include <llxmltree.h>

Inheritance diagram for LLXmlTreeParser:

Inheritance graph
[legend]
Collaboration diagram for LLXmlTreeParser:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLXmlTreeParser (LLXmlTree *tree)
virtual ~LLXmlTreeParser ()
BOOL parseFile (const std::string &path, LLXmlTreeNode **root, BOOL keep_contents)

Protected Member Functions

const std::string & tabs ()
virtual void startElement (const char *name, const char **attributes)
virtual void endElement (const char *name)
virtual void characterData (const char *s, int len)
virtual void processingInstruction (const char *target, const char *data)
virtual void comment (const char *data)
virtual void startCdataSection ()
virtual void endCdataSection ()
virtual void defaultData (const char *s, int len)
virtual void unparsedEntityDecl (const char *entity_name, const char *base, const char *system_id, const char *public_id, const char *notation_name)
virtual LLXmlTreeNodeCreateXmlTreeNode (const std::string &name, LLXmlTreeNode *parent)

Protected Attributes

LLXmlTreemTree
LLXmlTreeNodemRoot
LLXmlTreeNodemCurrent
BOOL mDump
BOOL mKeepContents


Detailed Description

Definition at line 201 of file llxmltree.h.


Constructor & Destructor Documentation

LLXmlTreeParser::LLXmlTreeParser ( LLXmlTree tree  ) 

Definition at line 508 of file llxmltree.cpp.

LLXmlTreeParser::~LLXmlTreeParser (  )  [virtual]

Definition at line 516 of file llxmltree.cpp.


Member Function Documentation

BOOL LLXmlTreeParser::parseFile ( const std::string &  path,
LLXmlTreeNode **  root,
BOOL  keep_contents 
)

Definition at line 520 of file llxmltree.cpp.

References llassert, mCurrent, mKeepContents, mRoot, NULL, and LLXmlParser::parseFile().

Referenced by LLXmlTree::parseFile().

Here is the call graph for this function:

Here is the caller graph for this function:

const std::string & LLXmlTreeParser::tabs (  )  [protected]

Definition at line 542 of file llxmltree.cpp.

References LLXmlParser::getDepth(), i, and S32.

Referenced by characterData(), comment(), defaultData(), endCdataSection(), endElement(), processingInstruction(), startCdataSection(), startElement(), and unparsedEntityDecl().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLXmlTreeParser::startElement ( const char *  name,
const char **  attributes 
) [protected, virtual]

Reimplemented from LLXmlParser.

Definition at line 554 of file llxmltree.cpp.

References LLXmlTreeNode::addAttribute(), LLXmlTreeNode::addChild(), CreateXmlTreeNode(), i, llassert, llendl, llinfos, mCurrent, mDump, mRoot, S32, and tabs().

Here is the call graph for this function:

void LLXmlTreeParser::endElement ( const char *  name  )  [protected, virtual]

Reimplemented from LLXmlParser.

Definition at line 596 of file llxmltree.cpp.

References LLXmlTreeNode::getParent(), llendl, llinfos, LLXmlTreeNode::mContents, mCurrent, mDump, LLStringBase< char >::removeCRLF(), tabs(), and LLStringBase< char >::trim().

Here is the call graph for this function:

void LLXmlTreeParser::characterData ( const char *  s,
int  len 
) [protected, virtual]

Reimplemented from LLXmlParser.

Definition at line 612 of file llxmltree.cpp.

References LLXmlTreeNode::appendContents(), llendl, llinfos, mCurrent, mDump, mKeepContents, and tabs().

Here is the call graph for this function:

void LLXmlTreeParser::processingInstruction ( const char *  target,
const char *  data 
) [protected, virtual]

Reimplemented from LLXmlParser.

Definition at line 626 of file llxmltree.cpp.

References llendl, llinfos, mDump, and tabs().

Here is the call graph for this function:

void LLXmlTreeParser::comment ( const char *  data  )  [protected, virtual]

Reimplemented from LLXmlParser.

Definition at line 634 of file llxmltree.cpp.

References llendl, llinfos, mDump, and tabs().

Here is the call graph for this function:

void LLXmlTreeParser::startCdataSection (  )  [protected, virtual]

Reimplemented from LLXmlParser.

Definition at line 642 of file llxmltree.cpp.

References llendl, llinfos, mDump, and tabs().

Here is the call graph for this function:

void LLXmlTreeParser::endCdataSection (  )  [protected, virtual]

Reimplemented from LLXmlParser.

Definition at line 650 of file llxmltree.cpp.

References llendl, llinfos, mDump, and tabs().

Here is the call graph for this function:

void LLXmlTreeParser::defaultData ( const char *  s,
int  len 
) [protected, virtual]

Reimplemented from LLXmlParser.

Definition at line 658 of file llxmltree.cpp.

References llendl, llinfos, mDump, and tabs().

Here is the call graph for this function:

void LLXmlTreeParser::unparsedEntityDecl ( const char *  entity_name,
const char *  base,
const char *  system_id,
const char *  public_id,
const char *  notation_name 
) [protected, virtual]

Reimplemented from LLXmlParser.

Definition at line 667 of file llxmltree.cpp.

References llendl, llinfos, mDump, and tabs().

Here is the call graph for this function:

LLXmlTreeNode * LLXmlTreeParser::CreateXmlTreeNode ( const std::string &  name,
LLXmlTreeNode parent 
) [protected, virtual]

Definition at line 590 of file llxmltree.cpp.

References mTree.

Referenced by startElement().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 232 of file llxmltree.h.

Referenced by CreateXmlTreeNode().

Definition at line 233 of file llxmltree.h.

Referenced by parseFile(), and startElement().

Definition at line 234 of file llxmltree.h.

Referenced by characterData(), endElement(), parseFile(), and startElement().

Definition at line 236 of file llxmltree.h.

Referenced by characterData(), and parseFile().


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:41:47 2008 for SecondLife by  doxygen 1.5.5