16 #if !defined(XALANSOURCETREEELEMENT_HEADER_GUARD_1357924680)
17 #define XALANSOURCETREEELEMENT_HEADER_GUARD_1357924680
31 XALAN_CPP_NAMESPACE_BEGIN
75 return m_memoryManager;
196 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
704 return m_ownerDocument;
710 m_parentNode = theParent;
809 XALAN_CPP_NAMESPACE_END
813 #endif // !defined(XALANSOURCETREEELEMENT_HEADER_GUARD_1357924680)
virtual XalanNode * removeChild(XalanNode *oldChild)=0
Removes the child node indicated by oldChild from the list of children, and returns it...
void setIndex(IndexType theIndex)
Definition: XalanSourceTreeElement.hpp:753
virtual const XalanDOMString & getPrefix() const =0
Get the namespace prefix of this node, or null if it is unspecified.
Definition: XalanNode.hpp:44
Definition: XalanNodeList.hpp:42
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
virtual void setPrefix(const XalanDOMString &prefix)=0
Set the namespace prefix of this node.
virtual void normalize()=0
Puts all Text nodes in the full depth of the sub-tree underneath this Node, including attribute nodes...
Definition: XalanAttr.hpp:38
virtual const XalanDOMString & getNamespaceURI() const =0
Get the namespace URI of this node, or null if it is unspecified.
virtual XalanNode * getParentNode() const =0
Gets the parent of this node.
virtual void setNodeValue(const XalanDOMString &nodeValue)=0
Sets the value of the node.
MemoryManagerType & getMemoryManager()
Definition: XalanSourceTreeElement.hpp:73
virtual const XalanDOMString & getNodeValue() const =0
Gets the value of this node, depending on its type.
virtual XalanNode * insertBefore(XalanNode *newChild, XalanNode *refChild)=0
Inserts the node newChild before the existing child node refChild.
virtual XalanNode * getFirstChild() const =0
Gets the first child of this node.
Definition: XalanElement.hpp:42
virtual NodeType getNodeType() const =0
An enum value representing the type of the underlying object.
virtual const XalanDOMString & getTagName() const =0
The name of the element.
virtual const XalanDOMString & getAttribute(const XalanDOMString &name) const =0
Retrieves an attribute value by name.
virtual XalanDocument * getOwnerDocument() const =0
Gets the Document object associated with this node.
virtual bool isIndexed() const =0
Determine if the document is node-order indexed.
virtual const XalanNamedNodeMap * getAttributes() const =0
Gets a NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise...
virtual XalanElement * cloneNode(bool deep) const =0
Returns a duplicate of this node.
void setParent(XalanSourceTreeElement *theParent)
Definition: XalanSourceTreeElement.hpp:708
virtual void removeAttribute(const XalanDOMString &name)=0
Removes an attribute by name.
Definition: XalanSourceTreeDocumentFragment.hpp:49
void clearChildren()
Removes all of the children.
Definition: XalanSourceTreeElement.hpp:764
virtual XalanNode * getNextSibling() const =0
Gets the node immediately following this node.
#define XALAN_XALANSOURCETREE_EXPORT
Definition: XalanSourceTreeDefinitions.hpp:33
virtual void removeAttributeNS(const XalanDOMString &namespaceURI, const XalanDOMString &localName)=0
Removes an attribute by local name and namespace URI.
Definition: XalanNamedNodeMap.hpp:42
virtual void setAttribute(const XalanDOMString &name, const XalanDOMString &value)=0
Adds a new attribute.
virtual const XalanDOMString & getAttributeNS(const XalanDOMString &namespaceURI, const XalanDOMString &localName) const =0
Retrieves an attribute value by local name and namespace URI.
virtual XalanAttr * setAttributeNode(XalanAttr *newAttr)=0
Adds a new attribute.
Definition: XalanSourceTreeText.hpp:44
virtual const XalanNodeList * getChildNodes() const =0
Gets a NodeList that contains all children of this node.
virtual XalanNode * getPreviousSibling() const =0
Gets the node immediately preceding this node.
virtual XalanNode * appendChild(XalanNode *newChild)=0
Adds the node newChild to the end of the list of children of this node.
const XalanDOMString & m_tagName
Definition: XalanSourceTreeElement.hpp:779
Definition: XalanDocument.hpp:51
virtual const XalanDOMString & getNodeName() const =0
virtual XalanNodeList * getElementsByTagNameNS(const XalanDOMString &namespaceURI, const XalanDOMString &localName) const =0
Returns a NodeList of all the Elements with a given local name and namespace URI in the order in whic...
Definition: XalanSourceTreeAttr.hpp:50
virtual XalanNode * getLastChild() const =0
Gets the last child of this node.
virtual const XalanDOMString & getLocalName() const =0
Returns the local part of the qualified name of this node.
virtual XalanAttr * removeAttributeNode(XalanAttr *oldAttr)=0
Removes the specified attribute node.
virtual XalanAttr * getAttributeNode(const XalanDOMString &name) const =0
Retrieves an Attr node by name.
Definition: XalanDOMString.hpp:42
virtual XalanNode * replaceChild(XalanNode *newChild, XalanNode *oldChild)=0
Replaces the child node oldChild with newChild in the list of children, and returns the oldChild node...
virtual IndexType getIndex() const =0
Get the node's index.
virtual XalanNodeList * getElementsByTagName(const XalanDOMString &name) const =0
Returns a NodeList of all descendant elements with a given tag name, in the order in which they would...
XalanElement & operator=(const XalanElement &theSource)
unsigned long IndexType
Definition: XalanNode.hpp:70
static const XalanDOMString s_emptyString
Definition: XalanSourceTreeElement.hpp:776
Definition: XalanSourceTreeDocument.hpp:73
Definition: XalanSourceTreeElement.hpp:44
virtual XalanAttr * getAttributeNodeNS(const XalanDOMString &namespaceURI, const XalanDOMString &localName) const =0
Retrieves an Attr node by local name and namespace URI.
XalanSourceTreeDocument * getDocument() const
Definition: XalanSourceTreeElement.hpp:702
virtual void setAttributeNS(const XalanDOMString &namespaceURI, const XalanDOMString &qualifiedName, const XalanDOMString &value)=0
Adds a new attribute.
bool operator==(const XalanElement &theRHS) const
virtual XalanAttr * setAttributeNodeNS(XalanAttr *newAttr)=0
Adds a new attribute.
Definition: XalanSourceTreeProcessingInstruction.hpp:45
virtual bool hasChildNodes() const =0
This is a convenience method to allow easy determination of whether a node has any children...
virtual bool isSupported(const XalanDOMString &feature, const XalanDOMString &version) const =0
Tests whether the DOM implementation implements a specific feature and that feature is supported by t...