FileDocCategorySizeDatePackage
XInclude11TextReader.javaAPI DocApache Xerces 3.0.12256Fri Sep 14 20:33:54 BST 2007org.apache.xerces.xinclude

XInclude11TextReader

public class XInclude11TextReader extends XIncludeTextReader
This class is used for reading resources requested in <include> elements in XML 1.1 entities, when the parse attribute of the <include> element is "text". Using this class will open the location, detect the encoding, and discard the byte order mark, if applicable.
author
Michael Glavassevich, IBM
version
$Id: XInclude11TextReader.java 447243 2006-09-18 05:15:27Z mrglavas $
see
XIncludeHandler

Fields Summary
Constructors Summary
public XInclude11TextReader(org.apache.xerces.xni.parser.XMLInputSource source, XIncludeHandler handler, int bufferSize)
Construct the XIncludeReader using the XMLInputSource and XIncludeHandler.

param
source The XMLInputSource to use.
param
handler The XIncludeHandler to use.
param
bufferSize The size of this text reader's buffer.

        super(source, handler, bufferSize);
    
Methods Summary
protected booleanisValid(int ch)
Returns true if the specified character is a valid XML character as per the rules of XML 1.1.

param
ch The character to check.

        return XML11Char.isXML11Valid(ch);