mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-11-01 19:17:59 +00:00
changes for 1.2.4
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// Document.h
|
||||
//
|
||||
// $Id: //poco/1.2/XML/include/Poco/DOM/Document.h#1 $
|
||||
// $Id: //poco/1.2/XML/include/Poco/DOM/Document.h#2 $
|
||||
//
|
||||
// Library: XML
|
||||
// Package: DOM
|
||||
@@ -209,6 +209,9 @@ public:
|
||||
/// are not of type ID unless so defined. Implementations that do
|
||||
/// not know whether attributes are of type ID or not are expected to
|
||||
/// return null. This implementation therefore returns null.
|
||||
///
|
||||
/// See also the non-standard two argument variant of getElementById()
|
||||
/// and getElementByIdNS().
|
||||
|
||||
// DocumentEvent
|
||||
Event* createEvent(const XMLString& eventType) const;
|
||||
@@ -231,6 +234,18 @@ public:
|
||||
///
|
||||
/// This method is not part of the W3C Document Object Model.
|
||||
|
||||
Element* getElementById(const XMLString& elementId, const XMLString& idAttribute) const;
|
||||
/// Returns the first Element whose ID attribute (given in idAttribute)
|
||||
/// has the given elementId. If no such element exists, returns null.
|
||||
///
|
||||
/// This method is an extension to the W3C Document Object Model.
|
||||
|
||||
Element* getElementByIdNS(const XMLString& elementId, const XMLString& idAttributeURI, const XMLString& idAttributeLocalName) const;
|
||||
/// Returns the first Element whose ID attribute (given in idAttributeURI and idAttributeLocalName)
|
||||
/// has the given elementId. If no such element exists, returns null.
|
||||
///
|
||||
/// This method is an extension to the W3C Document Object Model.
|
||||
|
||||
protected:
|
||||
~Document();
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// Element.h
|
||||
//
|
||||
// $Id: //poco/1.2/XML/include/Poco/DOM/Element.h#1 $
|
||||
// $Id: //poco/1.2/XML/include/Poco/DOM/Element.h#2 $
|
||||
//
|
||||
// Library: XML
|
||||
// Package: DOM
|
||||
@@ -79,6 +79,9 @@ public:
|
||||
|
||||
const XMLString& getAttribute(const XMLString& name) const;
|
||||
/// Retrieves an attribute value by name.
|
||||
///
|
||||
/// Returns the attribute's value, if the attribute
|
||||
/// exists, or an empty string otherwise.
|
||||
|
||||
void setAttribute(const XMLString& name, const XMLString& value);
|
||||
/// Adds a new attribute. If an attribute with that name is already present
|
||||
@@ -127,6 +130,9 @@ public:
|
||||
// DOM Level 2
|
||||
const XMLString& getAttributeNS(const XMLString& namespaceURI, const XMLString& localName) const;
|
||||
/// Retrieves an attribute value by name.
|
||||
///
|
||||
/// Returns the attribute's value, if the attribute
|
||||
/// exists, or an empty string otherwise.
|
||||
|
||||
void setAttributeNS(const XMLString& namespaceURI, const XMLString& qualifiedName, const XMLString& value);
|
||||
/// Adds a new attribute. If an attribute with that name
|
||||
@@ -177,7 +183,19 @@ public:
|
||||
/// or null if such an element does not exist.
|
||||
///
|
||||
/// This method is an extension to the W3C Document Object Model.
|
||||
|
||||
|
||||
Element* getElementById(const XMLString& elementId, const XMLString& idAttribute) const;
|
||||
/// Returns the first Element whose ID attribute (given in idAttribute)
|
||||
/// has the given elementId. If no such element exists, returns null.
|
||||
///
|
||||
/// This method is an extension to the W3C Document Object Model.
|
||||
|
||||
Element* getElementByIdNS(const XMLString& elementId, const XMLString& idAttributeURI, const XMLString& idAttributeLocalName) const;
|
||||
/// Returns the first Element whose ID attribute (given in idAttributeURI and idAttributeLocalName)
|
||||
/// has the given elementId. If no such element exists, returns null.
|
||||
///
|
||||
/// This method is an extension to the W3C Document Object Model.
|
||||
|
||||
// Node
|
||||
const XMLString& nodeName() const;
|
||||
NamedNodeMap* attributes() const;
|
||||
|
||||
Reference in New Issue
Block a user