16 #if !defined(XALANSOURCETREEELEMENTA_HEADER_GUARD_1357924680)
17 #define XALANSOURCETREEELEMENTA_HEADER_GUARD_1357924680
33 XALAN_CPP_NAMESPACE_BEGIN
73 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
111 return m_attributeCount;
117 return index < m_attributeCount ? m_attributes[index] : 0;
149 item(
unsigned int index)
const;
185 const AttributesCountType m_attributeCount;
190 XALAN_CPP_NAMESPACE_END
194 #endif // !defined(XALANSOURCETREEELEMENTA_HEADER_GUARD_1357924680)
AttributesCountType getAttributeCount() const
Definition: XalanSourceTreeElementA.hpp:109
Definition: XalanNode.hpp:44
virtual const XalanDOMString & getLocalName() const =0
Returns the local part of the qualified name of this node.
virtual XalanAttr * getAttributeNode(const XalanDOMString &name) const =0
Retrieves an DOM_Attr node by name.
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
Definition: XalanAttr.hpp:38
virtual XalanSourceTreeElement * cloneNode(bool deep) const =0
Returns a duplicate of this node.
MemoryManagerType & getMemoryManager()
Definition: XalanSourceTreeElement.hpp:73
static XalanSourceTreeElementA * create(MemoryManagerType &theManager, const XalanSourceTreeElementA &theSource, bool deep=false)
bool operator==(const XalanNamedNodeMap &theRHS) const
virtual XalanAttr * getAttributeNodeNS(const XalanDOMString &namespaceURI, const XalanDOMString &localName) const =0
Retrieves an DOM_Attr node by local name and namespace URI.
virtual XalanNode * setNamedItem(XalanNode *arg)=0
Adds a node using its nodeName attribute.
virtual XalanNode * getNamedItemNS(const XalanDOMString &namespaceURI, const XalanDOMString &localName) const =0
Retrieves a node specified by local name and namespace URI.
virtual const XalanDOMString & getPrefix() const =0
Get the namespace prefix of this node, or null if it is unspecified.
XalanSourceTreeElementA * clone(bool deep) const
Definition: XalanSourceTreeElementA.hpp:121
#define XALAN_XALANSOURCETREE_EXPORT
Definition: XalanSourceTreeDefinitions.hpp:33
Definition: XalanNamedNodeMap.hpp:42
virtual const XalanDOMString & getAttributeNS(const XalanDOMString &namespaceURI, const XalanDOMString &localName) const =0
Retrieves an attribute value by local name and namespace URI.
virtual XalanNode * setNamedItemNS(XalanNode *arg)=0
Adds a node using its namespaceURI and localName.
virtual XalanNode * removeNamedItem(const XalanDOMString &name)=0
Removes a node specified by name.
XalanSourceTreeAttr * getAttributeByIndex(AttributesCountType index) const
Definition: XalanSourceTreeElementA.hpp:115
virtual const XalanNamedNodeMap * getAttributes() const =0
Gets a NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise...
virtual XalanNode * getNamedItem(const XalanDOMString &name) const =0
Retrieves a node specified by name.
Definition: XalanSourceTreeAttr.hpp:50
virtual XalanNode * item(unsigned int index) const =0
Returns the indexth item in the map.
unsigned long AttributesCountType
Definition: XalanSourceTreeElementA.hpp:41
virtual XalanNode * removeNamedItemNS(const XalanDOMString &namespaceURI, const XalanDOMString &localName)=0
Removes a node specified by local name and namespace URI.
Definition: XalanDOMString.hpp:42
virtual const XalanDOMString & getNamespaceURI() const =0
Get the namespace URI of this node, or null if it is unspecified.
unsigned long IndexType
Definition: XalanNode.hpp:70
XalanNamedNodeMap & operator=(const XalanNamedNodeMap &theSource)
Definition: XalanSourceTreeDocument.hpp:73
virtual unsigned int getLength() const =0
The number of nodes in the map.
Definition: XalanSourceTreeElement.hpp:44
Definition: XalanSourceTreeElementA.hpp:37
virtual const XalanDOMString & getAttribute(const XalanDOMString &name) const =0
Retrieves an attribute value by name.