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:35:12 UTC

svn commit: r202337 - /xerces/c/branches/xerces-2.7/src/xercesc/framework/XMLFormatter.hpp

Author: amassari
Date: Wed Jun 29 01:35:12 2005
New Revision: 202337

URL: http://svn.apache.org/viewcvs?rev=202337&view=rev
Log:
Added getter methods for flags (jira# 1450)

Modified:
    xerces/c/branches/xerces-2.7/src/xercesc/framework/XMLFormatter.hpp

Modified: xerces/c/branches/xerces-2.7/src/xercesc/framework/XMLFormatter.hpp
URL: http://svn.apache.org/viewcvs/xerces/c/branches/xerces-2.7/src/xercesc/framework/XMLFormatter.hpp?rev=202337&r1=202336&r2=202337&view=diff
==============================================================================
--- xerces/c/branches/xerces-2.7/src/xercesc/framework/XMLFormatter.hpp (original)
+++ xerces/c/branches/xerces-2.7/src/xercesc/framework/XMLFormatter.hpp Wed Jun 29 01:35:12 2005
@@ -312,6 +312,22 @@
     //@}
 
 
+    // -----------------------------------------------------------------------
+    //  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 :
     // -----------------------------------------------------------------------
     //  Unimplemented constructors and operators
@@ -492,6 +508,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