 |
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
18 #if !defined(XALANSOURCETREEELEMENT_HEADER_GUARD_1357924680)
19 #define XALANSOURCETREEELEMENT_HEADER_GUARD_1357924680
37 class XalanSourceTreeAttr;
38 class XalanSourceTreeComment;
39 class XalanSourceTreeDocument;
40 class XalanSourceTreeDocumentFragment;
41 class XalanSourceTreeProcessingInstruction;
42 class XalanSourceTreeText;
63 MemoryManager& theManager,
77 return m_memoryManager;
138 return m_ownerDocument;
144 m_parentNode = theParent;
229 MemoryManager& m_memoryManager;
250 #endif // !defined(XALANSOURCETREEELEMENT_HEADER_GUARD_1357924680)
XalanSourceTreeDocument * getDocument() const
virtual const XalanDOMString & getLocalName() const =0
Returns the local part of the qualified name of this node.
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
void appendSiblingNode(XalanSourceTreeElement *theSibling)
virtual IndexType getIndex() const
Get the node's index.
virtual const XalanDOMString & getPrefix() const =0
Get the namespace prefix of this node, or null if it is unspecified.
void appendSiblingNode(XalanSourceTreeProcessingInstruction *theSibling)
XalanSourceTreeElement(MemoryManager &theManager, const XalanDOMString &theTagName, XalanSourceTreeDocument *theOwnerDocument, XalanNode *theParentNode=0, XalanNode *thePreviousSibling=0, XalanNode *theNextSibling=0, IndexType theIndex=0)
Constructor.
void setParent(XalanSourceTreeElement *theParent)
virtual XalanNode * getLastChild() const
Gets the last child of this node.
virtual const XalanNamedNodeMap * getAttributes() const =0
Gets a NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise.
virtual NodeType getNodeType() const
An enum value representing the type of the underlying object.
virtual XalanDocument * getOwnerDocument() const
Gets the Document object associated with this node.
void setPreviousSibling(XalanSourceTreeComment *thePreviousSibling)
virtual XalanNode * getFirstChild() const
Gets the first child of this node.
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
virtual ~XalanSourceTreeElement()
const XalanDOMString & m_tagName
void appendSiblingNode(XalanSourceTreeComment *theSibling)
virtual bool isIndexed() const
Determine if the document is node-order indexed.
virtual const XalanDOMString & getNodeValue() const
Gets the value of this node, depending on its type.
void clearChildren()
Removes all of the children.
void setParent(XalanSourceTreeDocumentFragment *theParent)
void appendSiblingNode(XalanSourceTreeText *theSibling)
void setPreviousSibling(XalanSourceTreeElement *thePreviousSibling)
MemoryManager & getMemoryManager()
void appendChildNode(XalanSourceTreeElement *theChild)
virtual const XalanDOMString & getTagName() const
The name of the element.
virtual XalanNode * getParentNode() const
Gets the parent of this node.
virtual const XalanNodeList * getChildNodes() const
Gets a NodeList that contains all children of this node.
void appendChildNode(XalanSourceTreeProcessingInstruction *theChild)
static const XalanDOMString s_emptyString
virtual const XalanDOMString & getNodeName() const
Gets the name of this node, depending on its type.
void appendChildNode(XalanSourceTreeComment *theChild)
virtual const XalanDOMString & getNamespaceURI() const =0
Get the namespace URI of this node, or null if it is unspecified.
void setPreviousSibling(XalanSourceTreeText *thePreviousSibling)
virtual XalanNode * getNextSibling() const
Gets the node immediately following this node.
#define XALAN_XALANSOURCETREE_EXPORT
void setIndex(IndexType theIndex)
void setPreviousSibling(XalanSourceTreeProcessingInstruction *thePreviousSibling)
void appendChildNode(XalanSourceTreeText *theChild)
virtual XalanNode * getPreviousSibling() const
Gets the node immediately preceding this node.