Jive reference manual
List of all members | Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions
jem::xml::DOMElement Class Reference

#include <jem/xml/DOMElement.h>

Inheritance diagram for jem::xml::DOMElement:
Inheritance graph

Public Types

typedef DOMElement Self
 
typedef Object Super
 
typedef Array< Ref< Self > > ChildArray
 

Public Member Functions

 DOMElement ()
 
 DOMElement (const String &typeName, const String &contents)
 
 DOMElement (const String &typeName, const Properties &attribs)
 
 DOMElement (const String &typeName, const Properties &attribs, const ChildArray &children)
 
bool isRoot () const
 
bool isText () const
 
bool isData () const
 
bool isEmpty () const
 
DOMElementgetParent () const
 
idx_t childCount () const
 
DOMElementgetChild (idx_t ichild) const
 
ChildArray getChildren () const
 
Array< StringgetAttribNames () const
 
String getContents () const
 
String getSource () const
 
idx_t getLineNumber () const
 
String getContext () const
 
- 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...
 

Public Attributes

String typeName
 
Properties attribs
 

Static Public Attributes

static const char * TEXT_TYPE_NAME
 
static const char * DATA_TYPE_NAME
 

Protected Member Functions

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

Additional Inherited Members

- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Member Typedef Documentation

Constructor & Destructor Documentation

jem::xml::DOMElement::DOMElement ( )
jem::xml::DOMElement::DOMElement ( const String typeName,
const String contents 
)
jem::xml::DOMElement::DOMElement ( const String typeName,
const Properties attribs 
)
jem::xml::DOMElement::DOMElement ( const String typeName,
const Properties attribs,
const ChildArray children 
)
virtual jem::xml::DOMElement::~DOMElement ( )
protectedvirtual

Member Function Documentation

bool jem::xml::DOMElement::isRoot ( ) const
bool jem::xml::DOMElement::isText ( ) const
bool jem::xml::DOMElement::isData ( ) const
bool jem::xml::DOMElement::isEmpty ( ) const
DOMElement * jem::xml::DOMElement::getParent ( ) const
idx_t jem::xml::DOMElement::childCount ( ) const
DOMElement * jem::xml::DOMElement::getChild ( idx_t  ichild) const
ChildArray jem::xml::DOMElement::getChildren ( ) const
Array<String> jem::xml::DOMElement::getAttribNames ( ) const
String jem::xml::DOMElement::getContents ( ) const
String jem::xml::DOMElement::getSource ( ) const
idx_t jem::xml::DOMElement::getLineNumber ( ) const
String jem::xml::DOMElement::getContext ( ) const

Member Data Documentation

const char* jem::xml::DOMElement::TEXT_TYPE_NAME
static
const char* jem::xml::DOMElement::DATA_TYPE_NAME
static
String jem::xml::DOMElement::typeName
Properties jem::xml::DOMElement::attribs