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 2001/11/13 14:23:28 UTC
cvs commit: xml-xerces/c/src/parsers DOMParser.hpp
tng 01/11/13 05:23:28
Modified: c/src/parsers DOMParser.hpp
Log:
Better documentation for deprecated function.
Revision Changes Path
1.29 +36 -30 xml-xerces/c/src/parsers/DOMParser.hpp
Index: DOMParser.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/parsers/DOMParser.hpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- DOMParser.hpp 2001/08/01 19:11:02 1.28
+++ DOMParser.hpp 2001/11/13 13:23:28 1.29
@@ -55,7 +55,7 @@
*/
/*
- * $Id: DOMParser.hpp,v 1.28 2001/08/01 19:11:02 tng Exp $
+ * $Id: DOMParser.hpp,v 1.29 2001/11/13 13:23:28 tng Exp $
*
*/
@@ -297,19 +297,6 @@
*/
bool getValidationConstraintFatal() const;
- /** Get the 'expand entity references' flag.
- * DEPRECATED Use getCreateEntityReferenceNodes() instead.
- *
- * This method returns the state of the parser's expand entity
- * references flag.
- *
- * @return 'true' if the expand entity reference flag is set on
- * the parser, 'false' otherwise.
- *
- * @see #setExpandEntityReferences
- */
- bool getExpandEntityReferences() const;
-
/** Get the 'include entity references' flag
*
* This flag specifies whether the parser is
@@ -449,22 +436,6 @@
*/
void setValidationConstraintFatal(const bool newState);
- /** Set the 'expand entity references' flag
- *
- * DEPRECATED. USE setCreateEntityReferenceNodes instead.
- * This method allows the user to specify whether the parser should
- * expand all entity reference nodes. When the 'do expansion' flag is
- * true, the DOM tree does not have any entity reference nodes. It is
- * replaced by the sub-tree representing the replacement text of the
- * entity. When the 'do expansion' flag is false, the DOM tree
- * contains an extra entity reference node, whose children is the
- * sub tree of the replacement text.
- *
- * @param expand The new state of the expand entity reference
- * flag.
- */
- void setExpandEntityReferences(const bool expand);
-
/** Set the 'include entity references' flag
*
* This method allows the user to specify whether the parser should
@@ -1169,7 +1140,38 @@
/** @name Deprecated Methods */
//@{
+ /** Set the 'expand entity references' flag
+ *
+ * DEPRECATED. USE setCreateEntityReferenceNodes instead.
+ * This method allows the user to specify whether the parser should
+ * expand all entity reference nodes. When the 'do expansion' flag is
+ * true, the DOM tree does not have any entity reference nodes. It is
+ * replaced by the sub-tree representing the replacement text of the
+ * entity. When the 'do expansion' flag is false, the DOM tree
+ * contains an extra entity reference node, whose children is the
+ * sub tree of the replacement text.
+ *
+ * @param expand The new state of the expand entity reference
+ * flag.
+ */
+ void setExpandEntityReferences(const bool expand);
+
+ /** Get the 'expand entity references' flag.
+ * DEPRECATED Use getCreateEntityReferenceNodes() instead.
+ *
+ * This method returns the state of the parser's expand entity
+ * references flag.
+ *
+ * @return 'true' if the expand entity reference flag is set on
+ * the parser, 'false' otherwise.
+ *
+ * @see #setExpandEntityReferences
+ */
+ bool getExpandEntityReferences() const;
+
/**
+ * DEPRECATED Use getValidationScheme() instead
+ *
* This method returns the state of the parser's validation
* handling flag which controls whether validation checks
* are enforced or not.
@@ -1178,10 +1180,13 @@
* do validation, false otherwise.
*
* @see #setDoValidation
+ * @see #getValidationScheme
*/
bool getDoValidation() const;
/**
+ * DEPRECATED Use setValidationScheme(const ValSchemes newScheme) instead
+ *
* This method allows users to enable or disable the parser's validation
* checks.
*
@@ -1193,6 +1198,7 @@
* input XML document.
*
* @see #getDoValidation
+ * @see #setValidationScheme
*/
void setDoValidation(const bool newState);
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org