#include <XalanElement.hpp>
Inherits XalanNode.
Inherited by XalanSourceTreeElement, XercesElementBridge, and XercesElementWrapper.
Definition at line 44 of file XalanElement.hpp.
XalanElement::XalanElement | ( | ) |
virtual XalanElement::~XalanElement | ( | ) | [virtual] |
XalanElement::XalanElement | ( | const XalanElement & | theSource | ) | [protected] |
virtual const XalanNamedNodeMap* XalanElement::getAttributes | ( | ) | const [pure virtual] |
Gets a NamedNodeMap
containing the attributes of this node (if it is an Element
) or null
otherwise.
Implements XalanNode.
Implemented in XalanSourceTreeElement, XalanSourceTreeElementNA, and XercesElementBridge.
virtual const XalanNodeList* XalanElement::getChildNodes | ( | ) | const [pure virtual] |
Gets a NodeList
that contains all children of this node.
If there are no children, this is a NodeList
containing no nodes.
Implements XalanNode.
Implemented in XalanSourceTreeElement, and XercesElementBridge.
virtual XalanNode* XalanElement::getFirstChild | ( | ) | const [pure virtual] |
Gets the first child of this node.
If there is no such node, this returns null
.
Implements XalanNode.
Implemented in XalanSourceTreeElement, and XercesElementBridge.
virtual IndexType XalanElement::getIndex | ( | ) | const [pure virtual] |
Get the node's index.
Valid only if the owner document reports that the document is node-order indexed.
Implements XalanNode.
Implemented in XalanSourceTreeElement, and XercesElementBridge.
virtual XalanNode* XalanElement::getLastChild | ( | ) | const [pure virtual] |
Gets the last child of this node.
If there is no such node, this returns null
.
Implements XalanNode.
Implemented in XalanSourceTreeElement, and XercesElementBridge.
virtual const XalanDOMString& XalanElement::getLocalName | ( | ) | const [pure virtual] |
Returns the local part of the qualified name of this node.
For nodes created with a DOM Level 1 method, such as createElement
from the Document
interface, it is null.
Implements XalanNode.
Implemented in XalanSourceTreeElement, XalanSourceTreeElementNA, XalanSourceTreeElementNANS, and XercesElementBridge.
virtual const XalanDOMString& XalanElement::getNamespaceURI | ( | ) | const [pure virtual] |
Get the namespace URI of this node, or null
if it is unspecified.
This is not a computed value that is the result of a namespace lookup based on an examination of the namespace declarations in scope. It is merely the namespace URI given at creation time.
For nodes of any type other than ELEMENT_NODE
and ATTRIBUTE_NODE
and nodes created with a DOM Level 1 method, such as createElement
from the Document
interface, this is always null
.
Implements XalanNode.
Implemented in XalanSourceTreeElement, XalanSourceTreeElementNA, XalanSourceTreeElementNANS, and XercesElementBridge.
virtual XalanNode* XalanElement::getNextSibling | ( | ) | const [pure virtual] |
Gets the node immediately following this node.
If there is no such node, this returns null
.
Implements XalanNode.
Implemented in XalanSourceTreeElement, and XercesElementBridge.
virtual const XalanDOMString& XalanElement::getNodeName | ( | ) | const [pure virtual] |
Gets the name of this node, depending on its type.
Implements XalanNode.
Implemented in XalanSourceTreeElement, and XercesElementBridge.
virtual NodeType XalanElement::getNodeType | ( | ) | const [pure virtual] |
An enum value representing the type of the underlying object.
Implements XalanNode.
Implemented in XalanSourceTreeElement, and XercesElementBridge.
virtual const XalanDOMString& XalanElement::getNodeValue | ( | ) | const [pure virtual] |
Gets the value of this node, depending on its type.
Implements XalanNode.
Implemented in XalanSourceTreeElement, and XercesElementBridge.
virtual XalanDocument* XalanElement::getOwnerDocument | ( | ) | const [pure virtual] |
Gets the Document
object associated with this node.
This is also the Document
object used to create new nodes. When this node is a Document
or a DocumentType
which is not used with any Document
yet, this is null
.
Implements XalanNode.
Implemented in XalanSourceTreeElement, and XercesElementBridge.
virtual XalanNode* XalanElement::getParentNode | ( | ) | const [pure virtual] |
Gets the parent of this node.
All nodes, except Document
, DocumentFragment
, and Attr
may have a parent. However, if a node has just been created and not yet added to the tree, or if it has been removed from the tree, a null
Node is returned.
Implements XalanNode.
Implemented in XalanSourceTreeElement, and XercesElementBridge.
virtual const XalanDOMString& XalanElement::getPrefix | ( | ) | const [pure virtual] |
Get the namespace prefix of this node, or null
if it is unspecified.
Implements XalanNode.
Implemented in XalanSourceTreeElement, XalanSourceTreeElementNA, XalanSourceTreeElementNANS, and XercesElementBridge.
virtual XalanNode* XalanElement::getPreviousSibling | ( | ) | const [pure virtual] |
Gets the node immediately preceding this node.
If there is no such node, this returns null
.
Implements XalanNode.
Implemented in XalanSourceTreeElement, and XercesElementBridge.
virtual const XalanDOMString& XalanElement::getTagName | ( | ) | const [pure virtual] |
The name of the element.
For example, in: <elementExample id="demo"> ... </elementExample> , tagName
has the value "elementExample"
. Note that this is case-preserving in XML, as are all of the operations of the DOM.
Implemented in XalanSourceTreeElement, and XercesElementBridge.
virtual bool XalanElement::isIndexed | ( | ) | const [pure virtual] |
Determine if the document is node-order indexed.
Implements XalanNode.
Implemented in XalanSourceTreeElement, and XercesElementBridge.
XalanElement& XalanElement::operator= | ( | const XalanElement & | theSource | ) | [protected] |
bool XalanElement::operator== | ( | const XalanElement & | theRHS | ) | const [protected] |
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|