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:
java.io.Closeable
,java.lang.AutoCloseable
,java.lang.Readable
@Deprecated(since="2021-07-29") public class XmlRestrictedCharReader extends FilteredCharReader
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
Constructors Constructor Description XmlRestrictedCharReader(java.io.InputStream in)
Deprecated.The XMLVersion determines which set of restrictions to apply depending on the XML version being parsedXmlRestrictedCharReader(java.io.InputStream in, char replacement)
Deprecated.XmlRestrictedCharReader(java.io.InputStream in, java.lang.String charset)
Deprecated.XmlRestrictedCharReader(java.io.InputStream in, java.lang.String charset, char replacement)
Deprecated.XmlRestrictedCharReader(java.io.InputStream in, java.lang.String charset, XmlUtil.XMLVersion version)
Deprecated.XmlRestrictedCharReader(java.io.InputStream in, java.lang.String charset, XmlUtil.XMLVersion version, char replacement)
Deprecated.XmlRestrictedCharReader(java.io.InputStream in, XmlUtil.XMLVersion version)
Deprecated.XmlRestrictedCharReader(java.io.InputStream in, XmlUtil.XMLVersion version, char replacement)
Deprecated.XmlRestrictedCharReader(java.io.Reader in)
Deprecated.XmlRestrictedCharReader(java.io.Reader in, char replacement)
Deprecated.XmlRestrictedCharReader(java.io.Reader in, XmlUtil.XMLVersion version)
Deprecated.XmlRestrictedCharReader(java.io.Reader in, XmlUtil.XMLVersion version, char replacement)
Deprecated.
-
Method Summary
-
Methods inherited from class org.apache.abdera.i18n.text.io.FilteredCharReader
getUnacceptableFilter, read, read
-
-
-
-
Constructor Detail
-
XmlRestrictedCharReader
public XmlRestrictedCharReader(java.io.InputStream in)
Deprecated.The XMLVersion determines which set of restrictions to apply depending on the XML version being parsed
-
XmlRestrictedCharReader
public XmlRestrictedCharReader(java.io.InputStream in, java.lang.String charset) throws java.io.UnsupportedEncodingException
Deprecated.- Throws:
java.io.UnsupportedEncodingException
-
XmlRestrictedCharReader
public XmlRestrictedCharReader(java.io.InputStream in, XmlUtil.XMLVersion version)
Deprecated.
-
XmlRestrictedCharReader
public XmlRestrictedCharReader(java.io.InputStream in, java.lang.String charset, XmlUtil.XMLVersion version) throws java.io.UnsupportedEncodingException
Deprecated.- Throws:
java.io.UnsupportedEncodingException
-
XmlRestrictedCharReader
public XmlRestrictedCharReader(java.io.InputStream in, char replacement)
Deprecated.
-
XmlRestrictedCharReader
public XmlRestrictedCharReader(java.io.InputStream in, java.lang.String charset, char replacement) throws java.io.UnsupportedEncodingException
Deprecated.- Throws:
java.io.UnsupportedEncodingException
-
XmlRestrictedCharReader
public XmlRestrictedCharReader(java.io.InputStream in, XmlUtil.XMLVersion version, char replacement)
Deprecated.
-
XmlRestrictedCharReader
public XmlRestrictedCharReader(java.io.InputStream in, java.lang.String charset, XmlUtil.XMLVersion version, char replacement) throws java.io.UnsupportedEncodingException
Deprecated.- Throws:
java.io.UnsupportedEncodingException
-
XmlRestrictedCharReader
public XmlRestrictedCharReader(java.io.Reader in)
Deprecated.
-
XmlRestrictedCharReader
public XmlRestrictedCharReader(java.io.Reader in, XmlUtil.XMLVersion version)
Deprecated.
-
XmlRestrictedCharReader
public XmlRestrictedCharReader(java.io.Reader in, char replacement)
Deprecated.
-
XmlRestrictedCharReader
public XmlRestrictedCharReader(java.io.Reader in, XmlUtil.XMLVersion version, char replacement)
Deprecated.
-
-