Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

nanoxml
Class kXMLPrintWriter  view kXMLPrintWriter download kXMLPrintWriter.java

java.lang.Object
  extended byjava.io.Writer
      extended bynanoxml.kXMLPrintWriter

public class kXMLPrintWriter
extends java.io.Writer


Field Summary
private  java.io.Writer out
           
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
kXMLPrintWriter(java.io.Writer out)
           
 
Method Summary
 void close()
          This method closes the stream.
 void flush()
          This method forces any data that may have been buffered to be written to the underlying output device.
private  void newLine()
           
 void print(char ch)
           
 void print(java.lang.String str)
           
 void println(char ch)
           
 void println(java.lang.String str)
           
 void write(char[] buf, int off, int len)
          This method writes len char from the specified array buf starting at index offset into the array.
 void write(int c)
          This method writes a single char to the output stream.
 void write(java.lang.String s)
          This method writes all the characters in a String to the output.
 
Methods inherited from class java.io.Writer
write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

private java.io.Writer out
Constructor Detail

kXMLPrintWriter

public kXMLPrintWriter(java.io.Writer out)
Method Detail

close

public void close()
Description copied from class: java.io.Writer
This method closes the stream. Any internal or native resources associated with this stream are freed. Any subsequent attempt to access the stream might throw an exception.

This method in this class does nothing.


flush

public void flush()
Description copied from class: java.io.Writer
This method forces any data that may have been buffered to be written to the underlying output device. Please note that the host environment might perform its own buffering unbeknowst to Java. In that case, a write made (for example, to a disk drive) might be cached in OS buffers instead of actually being written to disk.


write

public void write(int c)
Description copied from class: java.io.Writer
This method writes a single char to the output stream.


write

public void write(char[] buf,
                  int off,
                  int len)
Description copied from class: java.io.Writer
This method writes len char from the specified array buf starting at index offset into the array.

Subclasses must provide an implementation of this abstract method.


write

public void write(java.lang.String s)
Description copied from class: java.io.Writer
This method writes all the characters in a String to the output.


print

public void print(char ch)

newLine

private void newLine()

print

public void print(java.lang.String str)

println

public void println(char ch)

println

public void println(java.lang.String str)