Class 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 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.