org.apache.xerces.xinclude
Class XInclude11TextReader
public class XInclude11TextReader
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.
$Id: XInclude11TextReader.java 320201 2005-01-11 13:40:29Z mrglavas $- Michael Glavassevich, IBM
XInclude11TextReader(org.apache.xerces.xni.parser.XMLInputSource source, XIncludeHandler handler, int bufferSize) - Construct the XIncludeReader using the XMLInputSource and XIncludeHandler.
|
protected boolean | isValid(int ch) - Returns true if the specified character is a valid XML character
as per the rules of XML 1.1.
|
XInclude11TextReader
public XInclude11TextReader(org.apache.xerces.xni.parser.XMLInputSource source,
XIncludeHandler handler,
int bufferSize)
throws IOException
Construct the XIncludeReader using the XMLInputSource and XIncludeHandler.
source
- The XMLInputSource to use.handler
- The XIncludeHandler to use.bufferSize
- The size of this text reader's buffer.
isValid
protected boolean isValid(int ch)
Returns true if the specified character is a valid XML character
as per the rules of XML 1.1.
- isValid in interface XIncludeTextReader
ch
- The character to check.
Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.