Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Member Functions

XalanSourceTreeAttr Class Reference

#include <XalanSourceTreeAttr.hpp>

Inherits XalanAttr.

Inherited by XalanSourceTreeAttrNS.

Collaboration diagram for XalanSourceTreeAttr:
Collaboration graph
[legend]

List of all members.

Public Member Functions


Detailed Description

Definition at line 52 of file XalanSourceTreeAttr.hpp.


Constructor & Destructor Documentation

XalanSourceTreeAttr::XalanSourceTreeAttr ( const XalanDOMString theName,
const XalanDOMString theValue,
XalanSourceTreeElement theOwnerElement = 0,
IndexType  theIndex = 0 
)

Constructor.

Parameters:
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]

Member Function Documentation

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.

Returns:
The index value, or 0 if the node is not 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]

Get the namespace URI of this node.

Implements XalanAttr.

Reimplemented in XalanSourceTreeAttrNS.

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.

Returns:
true if the document is indexed, otherwise false.

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.


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

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo