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