org.openmdx.portal.text.conversion
Class XMLWriter

java.lang.Object
  extended by java.io.Writer
      extended by java.io.FilterWriter
          extended by org.openmdx.portal.text.conversion.XMLWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable

public class XMLWriter
extends FilterWriter

A writer that scrubs certain ASCII characters into XML entities.


Field Summary
 
Fields inherited from class java.io.FilterWriter
out
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
XMLWriter(Writer writer)
           
 
Method Summary
 void write(char c)
           
 void write(char[] cbuf, int off, int len)
           
 void write(String s, int off, int len)
           
 
Methods inherited from class java.io.FilterWriter
close, flush, write
 
Methods inherited from class java.io.Writer
append, append, append, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLWriter

public XMLWriter(Writer writer)
Method Detail

write

public void write(char[] cbuf,
                  int off,
                  int len)
           throws IOException
Overrides:
write in class FilterWriter
Throws:
IOException

write

public void write(String s,
                  int off,
                  int len)
           throws IOException
Overrides:
write in class FilterWriter
Throws:
IOException

write

public void write(char c)
           throws IOException
Throws:
IOException


This software is published under the BSD license. Copyright © 2006-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.