#include <XalanSourceTreeAttr.hpp>
Inherits XalanAttr.
Inherited by XalanSourceTreeAttrNS.
Definition at line 52 of file XalanSourceTreeAttr.hpp.
XalanSourceTreeAttr::XalanSourceTreeAttr | ( | const XalanDOMString & | theName, | |
const XalanDOMString & | theValue, | |||
XalanSourceTreeElement * | theOwnerElement = 0 , |
|||
IndexType | theIndex = 0 | |||
) |
Constructor.
theName | The name of the attribute | |
theValue | The value of the attribute | |
theOwnerDocument | The document that owns the instance | |
theOwnerElement | The element that owns the instance | |
theIndex | The document-order index of the node. |
virtual XalanSourceTreeAttr::~XalanSourceTreeAttr | ( | ) | [virtual] |
virtual const XalanNamedNodeMap* XalanSourceTreeAttr::getAttributes | ( | ) | const [virtual] |
Gets a XalanNamedNodeMap containing the attributes of this node (if it is an XalanElement) or a null pointer otherwise.
Implements XalanAttr.
virtual const XalanNodeList* XalanSourceTreeAttr::getChildNodes | ( | ) | const [virtual] |
Gets a XalanNodeList that contains all children of this node.
If there are no children, this is a XalanNodeList containing no nodes.
Implements XalanAttr.
virtual XalanNode* XalanSourceTreeAttr::getFirstChild | ( | ) | const [virtual] |
Gets the first child of this node.
If there is no such node, this returns a null pointer.
Implements XalanAttr.
virtual IndexType XalanSourceTreeAttr::getIndex | ( | ) | const [virtual] |
Get the node's index.
Valid only if the owner document reports that the document is node-order indexed.
Implements XalanAttr.
virtual XalanNode* XalanSourceTreeAttr::getLastChild | ( | ) | const [virtual] |
Gets the last child of this node.
If there is no such node, this returns a null pointer.
Implements XalanAttr.
virtual const XalanDOMString& XalanSourceTreeAttr::getLocalName | ( | ) | const [virtual] |
Returns the local part of the qualified name of this node.
Implements XalanAttr.
Reimplemented in XalanSourceTreeAttrNS.
virtual const XalanDOMString& XalanSourceTreeAttr::getName | ( | ) | const [virtual] |
Returns the name of this attribute.
Implements XalanAttr.
virtual const XalanDOMString& XalanSourceTreeAttr::getNamespaceURI | ( | ) | const [virtual] |
virtual XalanNode* XalanSourceTreeAttr::getNextSibling | ( | ) | const [virtual] |
Gets the node immediately following this node.
If there is no such node, this returns a null pointer.
Implements XalanAttr.
virtual const XalanDOMString& XalanSourceTreeAttr::getNodeName | ( | ) | const [virtual] |
Gets the name of this node, depending on its type.
Implements XalanAttr.
virtual NodeType XalanSourceTreeAttr::getNodeType | ( | ) | const [virtual] |
An enum value representing the type of the underlying object.
Implements XalanAttr.
virtual const XalanDOMString& XalanSourceTreeAttr::getNodeValue | ( | ) | const [virtual] |
Gets the value of this node, depending on its type.
Implements XalanAttr.
virtual XalanDocument* XalanSourceTreeAttr::getOwnerDocument | ( | ) | const [virtual] |
Gets the XalanDocument object associated with this node.
This may be a null pointer.
Implements XalanAttr.
virtual XalanElement* XalanSourceTreeAttr::getOwnerElement | ( | ) | const [virtual] |
The XalanElement node this attribute is attached to.
If there is no such node, this returns a null pointer.
Implements XalanAttr.
virtual XalanNode* XalanSourceTreeAttr::getParentNode | ( | ) | const [virtual] |
Gets the parent of this node.
If there is no such node, this returns a null pointer.
Implements XalanAttr.
virtual const XalanDOMString& XalanSourceTreeAttr::getPrefix | ( | ) | const [virtual] |
Get the namespace prefix of this node.
Implements XalanAttr.
Reimplemented in XalanSourceTreeAttrNS.
virtual XalanNode* XalanSourceTreeAttr::getPreviousSibling | ( | ) | const [virtual] |
Gets the node immediately preceding this node.
If there is no such node, this returns a null pointer.
Implements XalanAttr.
virtual bool XalanSourceTreeAttr::getSpecified | ( | ) | const [virtual] |
virtual const XalanDOMString& XalanSourceTreeAttr::getValue | ( | ) | const [virtual] |
Returns the value of the attribute.
The value of the attribute is returned as a string.
Implements XalanAttr.
virtual bool XalanSourceTreeAttr::isIndexed | ( | ) | const [virtual] |
Determine if the document is node-order indexed.
Implements XalanAttr.
void XalanSourceTreeAttr::setIndex | ( | IndexType | theIndex | ) | [inline] |
Definition at line 146 of file XalanSourceTreeAttr.hpp.
void XalanSourceTreeAttr::setOwnerElement | ( | XalanSourceTreeElement * | theElement | ) | [inline] |
Definition at line 140 of file XalanSourceTreeAttr.hpp.
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|