changes from main repository

This commit is contained in:
Guenter Obiltschnig
2008-01-29 09:06:52 +00:00
parent ab8d8e38e3
commit b526dd81f2
47 changed files with 611 additions and 557 deletions

View File

@@ -1,7 +1,7 @@
//
// DOMBuilder.h
//
// $Id: //poco/svn/XML/include/Poco/DOM/DOMBuilder.h#2 $
// $Id: //poco/svn/XML/include/Poco/DOM/DOMBuilder.h#3 $
//
// Library: XML
// Package: DOM
@@ -81,6 +81,9 @@ public:
virtual Document* parse(InputSource* pInputSource);
/// Parse an XML document from a location identified by an InputSource.
virtual Document* parseMemoryNP(const char* xml, std::size_t size);
/// Parses an XML document from memory.
protected:
// DTDHandler
void notationDecl(const XMLString& name, const XMLString* publicId, const XMLString* systemId);

View File

@@ -1,7 +1,7 @@
//
// DOMParser.h
//
// $Id: //poco/svn/XML/include/Poco/DOM/DOMParser.h#2 $
// $Id: //poco/svn/XML/include/Poco/DOM/DOMParser.h#3 $
//
// Library: XML
// Package: DOM
@@ -105,6 +105,9 @@ public:
Document* parseString(const std::string& xml);
/// Parse an XML document from a string.
Document* parseMemory(const char* xml, std::size_t size);
/// Parse an XML document from memory.
EntityResolver* getEntityResolver() const;
/// Returns the entity resolver used by the underlying SAXParser.

View File

@@ -1,7 +1,7 @@
//
// DOMSerializer.h
//
// $Id: //poco/svn/XML/include/Poco/DOM/DOMSerializer.h#2 $
// $Id: //poco/svn/XML/include/Poco/DOM/DOMSerializer.h#3 $
//
// Library: XML
// Package: DOM
@@ -109,6 +109,10 @@ protected:
/// The DOMSerializer cannot parse from a system identifier,
/// so this method simply throws an XMLException when invoked.
void parseMemoryNP(const char* xml, std::size_t size);
/// The DOMSerializer cannot parse from a system identifier,
/// so this method simply throws an XMLException when invoked.
void iterate(const Node* pNode) const;
void handleNode(const Node* pNode) const;
void handleElement(const Element* pElement) const;

View File

@@ -1,7 +1,7 @@
//
// Element.h
//
// $Id: //poco/svn/XML/include/Poco/DOM/Element.h#2 $
// $Id: //poco/svn/XML/include/Poco/DOM/Element.h#3 $
//
// Library: XML
// Package: DOM
@@ -101,6 +101,13 @@ public:
/// Adds a new attribute. If an attribute with that name is already
/// present in the element, it is replaced by the new one.
Attr* addAttributeNodeNP(Attr* oldAttr, Attr* newAttr);
/// For internal use only.
/// Adds a new attribute after oldAttr.
/// If oldAttr is 0, newAttr is set as first attribute.
/// Returns newAttr.
/// Does not fire any events.
Attr* removeAttributeNode(Attr* oldAttr);
/// Removes the specified attribute.