Open CASCADE Technology  7.4.0
Public Member Functions | Protected Member Functions

LDOM_Element Class Reference

#include <LDOM_Element.hxx>

Inheritance diagram for LDOM_Element:
Inheritance graph
[legend]

Public Member Functions

 LDOM_Element ()
 
 LDOM_Element (const LDOM_Element &anOther)
 
LDOM_Elementoperator= (const LDOM_Element &anOther)
 
LDOM_Elementoperator= (const LDOM_NullPtr *aNull)
 
LDOMString getTagName () const
 
LDOMString getAttribute (const LDOMString &aName) const
 
LDOM_Attr getAttributeNode (const LDOMString &aName) const
 
LDOM_NodeList getElementsByTagName (const LDOMString &aName) const
 
void setAttribute (const LDOMString &aName, const LDOMString &aValue)
 
void setAttributeNode (const LDOM_Attr &aNewAttr)
 
void removeAttribute (const LDOMString &aName)
 
LDOM_Element GetChildByTagName (const LDOMString &aTagName) const
 
LDOM_Element GetSiblingByTagName () const
 
void ReplaceElement (const LDOM_Element &anOther)
 
LDOM_NodeList GetAttributesList () const
 
- Public Member Functions inherited from LDOM_Node
 LDOM_Node ()
 
 LDOM_Node (const LDOM_Node &anOther)
 
const LDOM_MemManagergetOwnerDocument () const
 
LDOM_Nodeoperator= (const LDOM_Node &anOther)
 
LDOM_Nodeoperator= (const LDOM_NullPtr *aNull)
 
Standard_Boolean operator== (const LDOM_NullPtr *) const
 
Standard_Boolean operator!= (const LDOM_NullPtr *) const
 
Standard_Boolean operator== (const LDOM_Node &anOther) const
 
Standard_Boolean operator!= (const LDOM_Node &anOther) const
 
Standard_Boolean isNull () const
 
NodeType getNodeType () const
 
LDOMString getNodeName () const
 
LDOMString getNodeValue () const
 
LDOM_Node getFirstChild () const
 
LDOM_Node getLastChild () const
 
LDOM_Node getNextSibling () const
 
void removeChild (const LDOM_Node &aChild)
 
void appendChild (const LDOM_Node &aChild)
 
Standard_Boolean hasChildNodes () const
 
void SetValueClear () const
 

Protected Member Functions

 LDOM_Element (const LDOM_BasicElement &anElem, const Handle< LDOM_MemManager > &aDoc)
 
- Protected Member Functions inherited from LDOM_Node
const LDOM_BasicNodeOrigin () const
 
 LDOM_Node (const LDOM_BasicNode &anOrig, const Handle< LDOM_MemManager > &aDoc)
 

Additional Inherited Members

- Public Types inherited from LDOM_Node
enum  NodeType {
  UNKNOWN = 0, ELEMENT_NODE = 1, ATTRIBUTE_NODE = 2, TEXT_NODE = 3,
  CDATA_SECTION_NODE = 4, COMMENT_NODE = 8
}
 
- Protected Attributes inherited from LDOM_Node
Handle< LDOM_MemManagermyDocument
 
LDOM_BasicNodemyOrigin
 
const LDOM_BasicNodemyLastChild
 

Constructor & Destructor Documentation

◆ LDOM_Element() [1/3]

LDOM_Element::LDOM_Element ( )
inline

◆ LDOM_Element() [2/3]

LDOM_Element::LDOM_Element ( const LDOM_Element anOther)
inline

◆ LDOM_Element() [3/3]

LDOM_Element::LDOM_Element ( const LDOM_BasicElement anElem,
const Handle< LDOM_MemManager > &  aDoc 
)
protected

Member Function Documentation

◆ getAttribute()

LDOMString LDOM_Element::getAttribute ( const LDOMString &  aName) const

◆ getAttributeNode()

LDOM_Attr LDOM_Element::getAttributeNode ( const LDOMString &  aName) const

◆ GetAttributesList()

LDOM_NodeList LDOM_Element::GetAttributesList ( ) const

◆ GetChildByTagName()

LDOM_Element LDOM_Element::GetChildByTagName ( const LDOMString &  aTagName) const

◆ getElementsByTagName()

LDOM_NodeList LDOM_Element::getElementsByTagName ( const LDOMString &  aName) const

◆ GetSiblingByTagName()

LDOM_Element LDOM_Element::GetSiblingByTagName ( ) const

◆ getTagName()

LDOMString LDOM_Element::getTagName ( ) const
inline

◆ operator=() [1/2]

LDOM_Element& LDOM_Element::operator= ( const LDOM_Element anOther)
inline

◆ operator=() [2/2]

LDOM_Element& LDOM_Element::operator= ( const LDOM_NullPtr *  aNull)
inline

◆ removeAttribute()

void LDOM_Element::removeAttribute ( const LDOMString &  aName)

◆ ReplaceElement()

void LDOM_Element::ReplaceElement ( const LDOM_Element anOther)

◆ setAttribute()

void LDOM_Element::setAttribute ( const LDOMString &  aName,
const LDOMString &  aValue 
)

◆ setAttributeNode()

void LDOM_Element::setAttributeNode ( const LDOM_Attr aNewAttr)

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