Interface ParseFilter

  • All Superinterfaces:
    java.lang.Cloneable, java.io.Serializable
    All Known Subinterfaces:
    ListParseFilter

    @Deprecated(since="2021-07-29")
    public interface ParseFilter
    extends java.lang.Cloneable, java.io.Serializable
    Deprecated.
    This API is deprecated as Apache Abdera is a retired project since 2017.
    ParseFilter's determine which elements and attributes are acceptable within a parsed document. They are set via the ParserOptions.setParseFilter method.
    • Method Detail

      • clone

        java.lang.Object clone()
                        throws java.lang.CloneNotSupportedException
        Deprecated.
        Clone this ParseFilter
        Throws:
        java.lang.CloneNotSupportedException
      • acceptable

        boolean acceptable​(javax.xml.namespace.QName qname)
        Deprecated.
        Returns true if elements with the given QName are acceptable
      • acceptable

        boolean acceptable​(javax.xml.namespace.QName qname,
                           javax.xml.namespace.QName attribute)
        Deprecated.
        Returns true if attributes with the given qname appearing on elements with the given qname are acceptable
      • getIgnoreComments

        boolean getIgnoreComments()
        Deprecated.
        Return true if the parser should ignore comments
      • getIgnoreWhitespace

        boolean getIgnoreWhitespace()
        Deprecated.
        Return true if the parser should ignore insignificant whitespace
      • getIgnoreProcessingInstructions

        boolean getIgnoreProcessingInstructions()
        Deprecated.
        Return true if the parser should ignore processing instructions
      • setIgnoreComments

        ParseFilter setIgnoreComments​(boolean ignore)
        Deprecated.
        True if the parser should ignore comments
      • setIgnoreWhitespace

        ParseFilter setIgnoreWhitespace​(boolean ignore)
        Deprecated.
        True if the parser should ignore insignificant whitespace
      • setIgnoreProcessingInstructions

        ParseFilter setIgnoreProcessingInstructions​(boolean ignore)
        Deprecated.
        True if the parser should ignore processing instructions