public class

XInclude11TextReader

extends XIncludeTextReader
java.lang.Object
   ↳ org.apache.xerces.xinclude.XIncludeTextReader
     ↳ org.apache.xerces.xinclude.XInclude11TextReader

Class Overview

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.

See Also

Summary

Public Constructors
XInclude11TextReader(XMLInputSource source, XIncludeHandler handler, int bufferSize)
Construct the XIncludeReader using the XMLInputSource and XIncludeHandler.
Protected Methods
boolean isValid(int ch)
Returns true if the specified character is a valid XML character as per the rules of XML 1.1.
[Expand]
Inherited Methods
From class org.apache.xerces.xinclude.XIncludeTextReader
From class java.lang.Object

Public Constructors

public XInclude11TextReader (XMLInputSource source, XIncludeHandler handler, int bufferSize)

Construct the XIncludeReader using the XMLInputSource and XIncludeHandler.

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

Protected Methods

protected boolean isValid (int ch)

Returns true if the specified character is a valid XML character as per the rules of XML 1.1.

Parameters
ch The character to check.