Xalan-C++ API Documentation
Go to the documentation of this file.
18 #if !defined(XERCESELEMENTBRIDGE_HEADER_GUARD_1357924680)
19 #define XERCESELEMENTBRIDGE_HEADER_GUARD_1357924680
27 #if XERCES_VERSION_MAJOR >= 2
28 #include <xercesc/dom/deprecated/DOM_Element.hpp>
30 #include <xercesc/dom/DOM_Element.hpp>
49 XALAN_CPP_NAMESPACE_BEGIN
194 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
730 XALAN_CPP_NAMESPACE_END
734 #endif // !defined(XERCESELEMENTBRIDGE_HEADER_GUARD_1357924680)
virtual XalanNode * getParentNode() const
Gets the parent of this node.
DOM_ElementType getXercesNode() const
Get the Xerces node this instance represent.
virtual XalanNode * getLastChild() const
Gets the last child of this node.
virtual XalanAttr * getAttributeNode(const XalanDOMString &name) const
Retrieves an DOM_Attr node by name.
This class is deprecated.
virtual XalanNode * appendChild(XalanNode *newChild)
Adds the node newChild to the end of the list of children of this node.
virtual XalanNode * insertBefore(XalanNode *newChild, XalanNode *refChild)
Inserts the node newChild before the existing child node refChild.
virtual XalanNode * replaceChild(XalanNode *newChild, XalanNode *oldChild)
Replaces the child node oldChild with newChild in the list of children, and returns the oldChild node...
virtual const XalanDOMString & getAttributeNS(const XalanDOMString &namespaceURI, const XalanDOMString &localName) const
Retrieves an attribute value by local name and namespace URI.
virtual const XalanDOMString & getNodeName() const
Gets the name of this node.
virtual const XalanDOMString & getNamespaceURI() const
Get the namespace URI of this node, or null if it is unspecified.
virtual XercesElementBridge * cloneNode(bool deep) const
Returns a duplicate of this node.
virtual const XalanDOMString & getNodeValue() const
Gets the value of this node, depending on its type.
virtual void setAttributeNS(const XalanDOMString &namespaceURI, const XalanDOMString &qualifiedName, const XalanDOMString &value)
Adds a new attribute.
virtual const XalanNamedNodeMap * getAttributes() const
Gets a NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise.
virtual bool isSupported(const XalanDOMString &feature, const XalanDOMString &version) const
Tests whether the DOM implementation implements a specific feature and that feature is supported by t...
XercesElementBridge(const DOM_ElementType &theXercesElement, const XercesBridgeNavigator &theNavigator)
virtual XalanAttr * setAttributeNode(XalanAttr *newAttr)
Adds a new attribute.
virtual bool hasChildNodes() const
This is a convenience method to allow easy determination of whether a node has any children.
virtual XalanAttr * removeAttributeNode(XalanAttr *oldAttr)
Removes the specified attribute node.
virtual XalanNode * getPreviousSibling() const
Gets the node immediately preceding this node.
virtual XalanAttr * setAttributeNodeNS(XalanAttr *newAttr)
Adds a new attribute.
virtual void setAttribute(const XalanDOMString &name, const XalanDOMString &value)
Adds a new attribute.
This class is deprecated.
virtual XalanNode * getFirstChild() const
Gets the first child of this node.
virtual void removeAttribute(const XalanDOMString &name)
Removes an attribute by name.
virtual const XalanNodeList * getChildNodes() const
Gets a NodeList that contains all children of this node.
virtual XalanNode * getNextSibling() const
Gets the node immediately following this node.
virtual const XalanDOMString & getAttribute(const XalanDOMString &name) const
Retrieves an attribute value by name.
virtual XalanAttr * getAttributeNodeNS(const XalanDOMString &namespaceURI, const XalanDOMString &localName) const
Retrieves an DOM_Attr node by local name and namespace URI.
virtual void setPrefix(const XalanDOMString &prefix)
Set the namespace prefix of this node.
XERCES_CPP_NAMESPACE_QUALIFIER DOM_Element DOM_ElementType
virtual ~XercesElementBridge()
#define XALAN_XERCESPARSERLIAISON_EXPORT
virtual XalanDocument * getOwnerDocument() const
Gets the DOM_Document object associated with this node.
virtual void removeAttributeNS(const XalanDOMString &namespaceURI, const XalanDOMString &localName)
Removes an attribute by local name and namespace URI.
bool operator==(const XalanElement &theRHS) const
virtual void setNodeValue(const XalanDOMString &nodeValue)
Sets the value of the node.
This class is deprecated.
virtual XalanNodeList * getElementsByTagName(const XalanDOMString &name) const
Returns a NodeList of all descendant elements with a given tag name, in the order in which they would...
virtual XalanNodeList * getElementsByTagNameNS(const XalanDOMString &namespaceURI, const XalanDOMString &localName) const
Returns a DOM_NodeList of all the DOM_Elements with a given local name and namespace URI in the order...
virtual IndexType getIndex() const
Get the node's index.
virtual const XalanDOMString & getLocalName() const
Returns the local part of the qualified name of this node.
virtual bool isIndexed() const
Determine if the document is node-order indexed.
virtual void normalize()
Puts all DOM_Text nodes in the full depth of the sub-tree underneath this DOM_Node,...
This class is deprecated.
virtual NodeType getNodeType() const
An enum value representing the type of the underlying object.
XalanElement & operator=(const XalanElement &theSource)
virtual const XalanDOMString & getPrefix() const
Get the namespace prefix of this node, or null if it is unspecified.
virtual XalanNode * removeChild(XalanNode *oldChild)
Removes the child node indicated by oldChild from the list of children, and returns it.
virtual const XalanDOMString & getTagName() const
The name of the element.
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.
|
|