You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2002/07/15 20:24:34 UTC
cvs commit: xml-xerces/c/src/xercesc/dom DOMBuilder.hpp
tng 2002/07/15 11:24:34
Modified: c/src/xercesc/dom DOMBuilder.hpp
Log:
DOM L3: DOMBuilder declare the getter function as const
Revision Changes Path
1.7 +8 -8 xml-xerces/c/src/xercesc/dom/DOMBuilder.hpp
Index: DOMBuilder.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/DOMBuilder.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- DOMBuilder.hpp 11 Jul 2002 18:24:30 -0000 1.6
+++ DOMBuilder.hpp 15 Jul 2002 18:24:33 -0000 1.7
@@ -347,7 +347,7 @@
* @see #canSetFeature
* @since DOM Level 3
*/
- virtual bool getFeature(const XMLCh* const name) = 0;
+ virtual bool getFeature(const XMLCh* const name) const = 0;
/**
* Query whether setting a feature to a specific value is supported.
@@ -365,7 +365,7 @@
* @see #setFeature
* @since DOM Level 3
*/
- virtual bool canSetFeature(const XMLCh* const name, const bool state) = 0;
+ virtual bool canSetFeature(const XMLCh* const name, const bool state) const = 0;
// -----------------------------------------------------------------------
// Parsing methods
@@ -657,7 +657,7 @@
* otherwise, no chaching. Default is <code>false</code>.
* @return The preparsed schema grammar object (SchemaGrammar or
* DTDGrammar). That grammar object is owned by the parser.
- *
+ *
*
* @exception SAXException Any SAX exception, possibly
* wrapping another exception.
@@ -675,22 +675,22 @@
* @param nameSpaceKey Namespace key
* @return Grammar associated with the Namespace key.
*/
- virtual Grammar* getGrammar(const XMLCh* const nameSpaceKey) = 0;
+ virtual Grammar* getGrammar(const XMLCh* const nameSpaceKey) const = 0;
/**
* Retrieve the grammar where the root element is declared.
*
* @return Grammar where root element declared
*/
- virtual Grammar* getRootGrammar() = 0;
+ virtual Grammar* getRootGrammar() const = 0;
/**
* Returns the string corresponding to a URI id from the URI string pool.
*
* @param uriId id of the string in the URI string pool.
* @return URI string corresponding to the URI id.
- */
- virtual const XMLCh* getURIText(unsigned int uriId) = 0;
+ */
+ virtual const XMLCh* getURIText(unsigned int uriId) const = 0;
/**
* Clear the cached grammar pool
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org