dbertoni 2003/07/01 16:46:56
Modified: c/src/xalanc/XMLSupport FormatterToXML.cpp
FormatterToXML.hpp
Log:
Modifications due to changes in base class.
Revision Changes Path
1.2 +48 -1 xml-xalan/c/src/xalanc/XMLSupport/FormatterToXML.cpp
Index: FormatterToXML.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/xalanc/XMLSupport/FormatterToXML.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- FormatterToXML.cpp 29 Jun 2003 03:57:59 -0000 1.1
+++ FormatterToXML.cpp 1 Jul 2003 23:46:56 -0000 1.2
@@ -2,7 +2,7 @@
* The Apache Software License, Version 1.1
*
*
- * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -1217,6 +1217,53 @@
accumContent(chars, 0, length);
}
+}
+
+
+
+Writer*
+FormatterToXML::getWriter() const
+{
+ return m_writer;
+}
+
+
+
+const XalanDOMString&
+FormatterToXML::getDoctypeSystem() const
+{
+ return m_doctypeSystem;
+}
+
+
+
+const XalanDOMString&
+FormatterToXML::getDoctypePublic() const
+{
+ return m_doctypePublic;
+}
+
+
+
+const XalanDOMString&
+FormatterToXML::getEncoding() const
+{
+ return m_encoding;
+}
+
+
+
+const XalanDOMString&
+FormatterToXML::getMediaType() const
+{
+ return m_mediaType;
+}
+
+
+int
+FormatterToXML::getIndent() const
+{
+ return m_indent;
}
1.2 +13 -37 xml-xalan/c/src/xalanc/XMLSupport/FormatterToXML.hpp
Index: FormatterToXML.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/xalanc/XMLSupport/FormatterToXML.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- FormatterToXML.hpp 29 Jun 2003 03:57:59 -0000 1.1
+++ FormatterToXML.hpp 1 Jul 2003 23:46:56 -0000 1.2
@@ -2,7 +2,7 @@
* The Apache Software License, Version 1.1
*
*
- * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -197,41 +197,23 @@
const XMLCh* const ch,
const unsigned int length);
- const Writer*
- getWriter() const
- {
- return m_writer;
- }
+ virtual Writer*
+ getWriter() const;
- Writer*
- getWriter()
- {
- return m_writer;
- }
+ virtual const XalanDOMString&
+ getDoctypeSystem() const;
- const XalanDOMString&
- getDoctypeSystem() const
- {
- return m_doctypeSystem;
- }
+ virtual const XalanDOMString&
+ getDoctypePublic() const;
- const XalanDOMString&
- getDoctypePublic() const
- {
- return m_doctypePublic;
- }
+ virtual const XalanDOMString&
+ getEncoding() const;
- const XalanDOMString&
- getEncoding() const
- {
- return m_encoding;
- }
+ virtual const XalanDOMString&
+ getMediaType() const;
- const XalanDOMString&
- getMediaType() const
- {
- return m_mediaType;
- }
+ virtual int
+ getIndent() const;
const XalanDOMString&
getVersion() const
@@ -291,12 +273,6 @@
setDoIndent(bool value)
{
m_doIndent = value;
- }
-
- int
- getIndent() const
- {
- return m_indent;
}
void
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]