Package org.apache.abdera.util
Class XmlRestrictedCharReader
java.lang.Object
java.io.Reader
java.io.FilterReader
org.apache.abdera.i18n.text.io.FilteredCharReader
org.apache.abdera.util.XmlRestrictedCharReader
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
Deprecated.
This API is deprecated as Apache Abdera is a retired project since 2017.
A reader implementation that filters out characters that are not allowed in XML 1.0 or XML 1.1 documents. The default
xMLVersion is to assume XML 1.0. By default, invalid characters are simply removed from the stream. Alternatively, a
replacement character can be provided so long as it is a valid XML character itself.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.The XMLVersion determines which set of restrictions to apply depending on the XML version being parsedXmlRestrictedCharReader(InputStream in, char replacement) Deprecated.XmlRestrictedCharReader(InputStream in, String charset) Deprecated.XmlRestrictedCharReader(InputStream in, String charset, char replacement) Deprecated.XmlRestrictedCharReader(InputStream in, String charset, XmlUtil.XMLVersion version) Deprecated.XmlRestrictedCharReader(InputStream in, String charset, XmlUtil.XMLVersion version, char replacement) Deprecated.XmlRestrictedCharReader(InputStream in, XmlUtil.XMLVersion version) Deprecated.XmlRestrictedCharReader(InputStream in, XmlUtil.XMLVersion version, char replacement) Deprecated.Deprecated.XmlRestrictedCharReader(Reader in, char replacement) Deprecated.XmlRestrictedCharReader(Reader in, XmlUtil.XMLVersion version) Deprecated.XmlRestrictedCharReader(Reader in, XmlUtil.XMLVersion version, char replacement) Deprecated. -
Method Summary
Methods inherited from class org.apache.abdera.i18n.text.io.FilteredCharReader
getUnacceptableFilter, read, readMethods inherited from class java.io.FilterReader
close, mark, markSupported, ready, reset, skipMethods inherited from class java.io.Reader
nullReader, read, read, transferTo
-
Constructor Details
-
XmlRestrictedCharReader
Deprecated.The XMLVersion determines which set of restrictions to apply depending on the XML version being parsed -
XmlRestrictedCharReader
Deprecated.- Throws:
UnsupportedEncodingException
-
XmlRestrictedCharReader
Deprecated. -
XmlRestrictedCharReader
public XmlRestrictedCharReader(InputStream in, String charset, XmlUtil.XMLVersion version) throws UnsupportedEncodingException Deprecated.- Throws:
UnsupportedEncodingException
-
XmlRestrictedCharReader
Deprecated. -
XmlRestrictedCharReader
public XmlRestrictedCharReader(InputStream in, String charset, char replacement) throws UnsupportedEncodingException Deprecated.- Throws:
UnsupportedEncodingException
-
XmlRestrictedCharReader
Deprecated. -
XmlRestrictedCharReader
public XmlRestrictedCharReader(InputStream in, String charset, XmlUtil.XMLVersion version, char replacement) throws UnsupportedEncodingException Deprecated.- Throws:
UnsupportedEncodingException
-
XmlRestrictedCharReader
Deprecated. -
XmlRestrictedCharReader
Deprecated. -
XmlRestrictedCharReader
Deprecated. -
XmlRestrictedCharReader
Deprecated.
-