Class AbstractParser

  • All Implemented Interfaces:
    org.apache.abdera.parser.Parser
    Direct Known Subclasses:
    AbstractNamedParser

    public abstract class AbstractParser
    extends java.lang.Object
    implements org.apache.abdera.parser.Parser
    Abstract base implementation of Abdera Parser.
    • Method Detail

      • getAbdera

        public Abdera getAbdera()
      • setAbdera

        public void setAbdera​(Abdera abdera)
      • getFactory

        public Factory getFactory()
      • parse

        public <T extends ElementDocument<T> parse​(java.io.InputStream in)
                                              throws org.apache.abdera.parser.ParseException
        Specified by:
        parse in interface org.apache.abdera.parser.Parser
        Throws:
        org.apache.abdera.parser.ParseException
      • parse

        public <T extends ElementDocument<T> parse​(java.io.InputStream in,
                                                     java.lang.String base)
                                              throws org.apache.abdera.parser.ParseException
        Specified by:
        parse in interface org.apache.abdera.parser.Parser
        Throws:
        org.apache.abdera.parser.ParseException
      • parse

        public <T extends ElementDocument<T> parse​(java.io.InputStream in,
                                                     org.apache.abdera.parser.ParserOptions options)
                                              throws org.apache.abdera.parser.ParseException
        Specified by:
        parse in interface org.apache.abdera.parser.Parser
        Throws:
        org.apache.abdera.parser.ParseException
      • parse

        public <T extends ElementDocument<T> parse​(java.io.InputStream in,
                                                     java.lang.String base,
                                                     org.apache.abdera.parser.ParserOptions options)
                                              throws org.apache.abdera.parser.ParseException
        Specified by:
        parse in interface org.apache.abdera.parser.Parser
        Throws:
        org.apache.abdera.parser.ParseException
      • parse

        public <T extends ElementDocument<T> parse​(java.io.Reader in)
                                              throws org.apache.abdera.parser.ParseException
        Specified by:
        parse in interface org.apache.abdera.parser.Parser
        Throws:
        org.apache.abdera.parser.ParseException
      • parse

        public <T extends ElementDocument<T> parse​(java.io.Reader in,
                                                     java.lang.String base)
                                              throws org.apache.abdera.parser.ParseException
        Specified by:
        parse in interface org.apache.abdera.parser.Parser
        Throws:
        org.apache.abdera.parser.ParseException
      • parse

        public <T extends ElementDocument<T> parse​(java.io.Reader in,
                                                     org.apache.abdera.parser.ParserOptions options)
                                              throws org.apache.abdera.parser.ParseException
        Specified by:
        parse in interface org.apache.abdera.parser.Parser
        Throws:
        org.apache.abdera.parser.ParseException
      • parse

        public <T extends ElementDocument<T> parse​(java.nio.channels.ReadableByteChannel buf,
                                                     org.apache.abdera.parser.ParserOptions options)
                                              throws org.apache.abdera.parser.ParseException
        Specified by:
        parse in interface org.apache.abdera.parser.Parser
        Throws:
        org.apache.abdera.parser.ParseException
      • parse

        public <T extends ElementDocument<T> parse​(java.nio.channels.ReadableByteChannel buf,
                                                     java.lang.String base,
                                                     org.apache.abdera.parser.ParserOptions options)
                                              throws org.apache.abdera.parser.ParseException
        Specified by:
        parse in interface org.apache.abdera.parser.Parser
        Throws:
        org.apache.abdera.parser.ParseException
      • parse

        public <T extends ElementDocument<T> parse​(java.nio.channels.ReadableByteChannel buf,
                                                     java.lang.String base)
                                              throws org.apache.abdera.parser.ParseException
        Specified by:
        parse in interface org.apache.abdera.parser.Parser
        Throws:
        org.apache.abdera.parser.ParseException
      • parse

        public <T extends ElementDocument<T> parse​(java.nio.channels.ReadableByteChannel buf)
                                              throws org.apache.abdera.parser.ParseException
        Specified by:
        parse in interface org.apache.abdera.parser.Parser
        Throws:
        org.apache.abdera.parser.ParseException
      • getDefaultParserOptions

        public org.apache.abdera.parser.ParserOptions getDefaultParserOptions()
        Specified by:
        getDefaultParserOptions in interface org.apache.abdera.parser.Parser
      • setDefaultParserOptions

        public org.apache.abdera.parser.Parser setDefaultParserOptions​(org.apache.abdera.parser.ParserOptions options)
        Specified by:
        setDefaultParserOptions in interface org.apache.abdera.parser.Parser