You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by am...@apache.org on 2005/06/29 10:34:28 UTC
svn commit: r202336 - /xerces/c/trunk/src/xercesc/framework/XMLFormatter.hpp
Author: amassari
Date: Wed Jun 29 01:34:27 2005
New Revision: 202336
URL: http://svn.apache.org/viewcvs?rev=202336&view=rev
Log:
Added getter methods for flags (jira# 1450)
Modified:
xerces/c/trunk/src/xercesc/framework/XMLFormatter.hpp
Modified: xerces/c/trunk/src/xercesc/framework/XMLFormatter.hpp
URL: http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/framework/XMLFormatter.hpp?rev=202336&r1=202335&r2=202336&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/framework/XMLFormatter.hpp (original)
+++ xerces/c/trunk/src/xercesc/framework/XMLFormatter.hpp Wed Jun 29 01:34:27 2005
@@ -311,6 +311,21 @@
);
//@}
+ // -----------------------------------------------------------------------
+ // Getter methods
+ // -----------------------------------------------------------------------
+ /** @name Setter methods */
+ //@{
+ /**
+ * @return return the escape style for the formatted content
+ */
+ EscapeFlags getEscapeFlags() const;
+
+ /**
+ * @return return the reaction for unrepresentable character
+ */
+ UnRepFlags getUnRepFlags() const;
+ //@}
private :
// -----------------------------------------------------------------------
@@ -492,6 +507,19 @@
{
fUnRepFlags = newFlags;
return *this;
+}
+
+// ---------------------------------------------------------------------------
+// XMLFormatter: Getter methods
+// ---------------------------------------------------------------------------
+inline XMLFormatter::EscapeFlags XMLFormatter::getEscapeFlags() const
+{
+ return fEscapeFlags;
+}
+
+inline XMLFormatter::UnRepFlags XMLFormatter::getUnRepFlags() const
+{
+ return fUnRepFlags;
}
XERCES_CPP_NAMESPACE_END
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org