You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ar...@locus.apache.org on 2000/07/13 03:16:37 UTC
cvs commit: xml-xerces/java/src/org/apache/xml/serialize Printer.java
arkin 00/07/12 18:16:36
Modified: java/src/org/apache/xml/serialize Printer.java
Log:
Changed methods to public modifier
Revision Changes Path
1.2 +20 -20 xml-xerces/java/src/org/apache/xml/serialize/Printer.java
Index: Printer.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xml/serialize/Printer.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Printer.java 2000/03/28 23:04:07 1.1
+++ Printer.java 2000/07/13 01:16:35 1.2
@@ -70,10 +70,10 @@
* {@link IndentPrinter} supports indentation and line wrapping by
* extending this class.
*
- * @version $Revision: 1.1 $ $Date: 2000/03/28 23:04:07 $
+ * @version $Revision: 1.2 $ $Date: 2000/07/13 01:16:35 $
* @author <a href="mailto:arkin@exoffice.com">Assaf Arkin</a>
*/
-class Printer
+public class Printer
{
@@ -133,7 +133,7 @@
private int _pos = 0;
- Printer( Writer writer, OutputFormat format)
+ public Printer( Writer writer, OutputFormat format)
{
_writer = writer;
_format = format;
@@ -144,7 +144,7 @@
}
- IOException getException()
+ public IOException getException()
{
return _exception;
}
@@ -158,7 +158,7 @@
* have affect the first time it's called. To exist DTD state
* and get the accumulated DTD, call {@link #leaveDTD}.
*/
- void enterDTD()
+ public void enterDTD()
{
// Can only enter DTD state once. Once we're out of DTD
// state, can no longer re-enter it.
@@ -176,7 +176,7 @@
* DTD parts were printer, will return a string with their
* textual content.
*/
- String leaveDTD()
+ public String leaveDTD()
{
// Only works if we're going out of DTD mode.
if ( _writer == _dtdWriter ) {
@@ -188,7 +188,7 @@
}
- void printText( String text )
+ public void printText( String text )
{
try {
int length = text.length();
@@ -209,7 +209,7 @@
}
- void printText( StringBuffer text )
+ public void printText( StringBuffer text )
{
try {
int length = text.length();
@@ -230,7 +230,7 @@
}
- void printText( char[] chars, int start, int length )
+ public void printText( char[] chars, int start, int length )
{
try {
while ( length-- > 0 ) {
@@ -251,7 +251,7 @@
}
- void printText( char ch )
+ public void printText( char ch )
{
try {
if ( _pos == BufferSize ) {
@@ -269,7 +269,7 @@
}
- void printSpace()
+ public void printSpace()
{
try {
if ( _pos == BufferSize ) {
@@ -287,7 +287,7 @@
}
- void breakLine()
+ public void breakLine()
{
try {
if ( _pos == BufferSize ) {
@@ -305,13 +305,13 @@
}
- void breakLine( boolean preserveSpace )
+ public void breakLine( boolean preserveSpace )
{
breakLine();
}
- void flushLine( boolean preserveSpace )
+ public void flushLine( boolean preserveSpace )
{
// NOOP
}
@@ -321,7 +321,7 @@
* Flush the output stream. Must be called when done printing
* the document, otherwise some text might be buffered.
*/
- void flush()
+ public void flush()
{
try {
_writer.write( _buffer, 0, _pos );
@@ -336,30 +336,30 @@
}
- void indent()
+ public void indent()
{
// NOOP
}
- void unindent()
+ public void unindent()
{
// NOOP
}
- int getNextIndent()
+ public int getNextIndent()
{
return 0;
}
- void setNextIndent( int indent )
+ public void setNextIndent( int indent )
{
}
- void setThisIndent( int indent )
+ public void setThisIndent( int indent )
{
}