com.openharbor.beck.write
Class PCDATAFilterWriter

java.lang.Object
  extended byjava.io.Writer
      extended byjava.io.FilterWriter
          extended bycom.openharbor.beck.write.PCDATAFilterWriter
Direct Known Subclasses:
AttributeFilterWriter

public class PCDATAFilterWriter
extends java.io.FilterWriter

Write XML PCDATA using entity substitutions.


Field Summary
static char[] AMP
           
static char[] GT
           
static char[] LT
           
 
Fields inherited from class java.io.FilterWriter
out
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
PCDATAFilterWriter(java.io.Writer out)
           
 
Method Summary
 void flush()
          Don't flush the underlying Marshaller.
 void write(char[] cbuf, int off, int len)
           
 void write(int c)
           
 void write(java.lang.String str)
           
 void write(java.lang.String str, int off, int len)
           
 
Methods inherited from class java.io.FilterWriter
close
 
Methods inherited from class java.io.Writer
write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LT

public static final char[] LT

GT

public static final char[] GT

AMP

public static final char[] AMP
Constructor Detail

PCDATAFilterWriter

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

flush

public void flush()
Don't flush the underlying Marshaller.


write

public void write(int c)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(char[] cbuf,
                  int off,
                  int len)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(java.lang.String str,
                  int off,
                  int len)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(java.lang.String str)
           throws java.io.IOException
Throws:
java.io.IOException