com.croftsoft.core.text.xml
Class XmlCharFilterReader

java.lang.Object
  extended by java.io.Reader
      extended by java.io.FilterReader
          extended by com.croftsoft.core.text.xml.XmlCharFilterReader
All Implemented Interfaces:
Closeable, Readable

public final class XmlCharFilterReader
extends FilterReader

Filters out characters not permitted in XML.

Since:
2002-09-19
Version:
2002-09-24
See Also:
Extensible Markup Language (XML) 1.0 (Second Edition), 2.2 Characters
Author:
David Wallace Croft

Field Summary
 
Fields inherited from class java.io.FilterReader
in
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
XmlCharFilterReader(Reader in)
          Main constructor.
 
Method Summary
 int read()
           
 int read(char[] cbuf)
           
 int read(char[] cbuf, int off, int len)
           
 
Methods inherited from class java.io.FilterReader
close, mark, markSupported, ready, reset, skip
 
Methods inherited from class java.io.Reader
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlCharFilterReader

public XmlCharFilterReader(Reader in)
Main constructor.

Method Detail

read

public int read()
         throws IOException
Overrides:
read in class FilterReader
Throws:
IOException

read

public int read(char[] cbuf,
                int off,
                int len)
         throws IOException
Overrides:
read in class FilterReader
Throws:
IOException

read

public int read(char[] cbuf)
         throws IOException
Overrides:
read in class Reader
Throws:
IOException

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)