blob: 1fab32fd13f1366e7ba452f32f06834edbc1016a [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_26) on Wed Sep 14 22:31:11 PDT 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Parser (Abdera2 Core 2.0-SNAPSHOT API)
</TITLE>
<META NAME="date" CONTENT="2011-09-14">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Parser (Abdera2 Core 2.0-SNAPSHOT API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Parser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/abdera2/parser/ParserFactory.html" title="interface in org.apache.abdera2.parser"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/abdera2/parser/Parser.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="Parser.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.abdera2.parser</FONT>
<BR>
Interface Parser</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/abdera2/parser/AbstractParser.html" title="class in org.apache.abdera2.parser">AbstractParser</A>, <A HREF="../../../../org/apache/abdera2/parser/axiom/FOMParser.html" title="class in org.apache.abdera2.parser.axiom">FOMParser</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public interface <B>Parser</B></DL>
</PRE>
<P>
<HR>
<P>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/abdera2/parser/ParserOptions.html" title="interface in org.apache.abdera2.parser">ParserOptions</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/abdera2/parser/Parser.html#getDefaultParserOptions()">getDefaultParserOptions</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the default parser options for this Parser.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/abdera2/parser/Parser.html#getInputFormats()">getInputFormats</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a listing of media type of the format consumed by this parser</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt;
<BR>
<A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/abdera2/parser/Parser.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;in)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse the input stream using the default character set encoding (UTF-8)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt;
<BR>
<A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/abdera2/parser/Parser.html#parse(java.io.InputStream, org.apache.abdera2.parser.ParserOptions)">parse</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;in,
<A HREF="../../../../org/apache/abdera2/parser/ParserOptions.html" title="interface in org.apache.abdera2.parser">ParserOptions</A>&nbsp;options)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse the input stream using the default character set encoding (UTF-8).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt;
<BR>
<A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/abdera2/parser/Parser.html#parse(java.io.InputStream, java.lang.String)">parse</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;in,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;base)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse the input stream using the default character set encoding (UTF-8).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt;
<BR>
<A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/abdera2/parser/Parser.html#parse(java.io.InputStream, java.lang.String, org.apache.abdera2.parser.ParserOptions)">parse</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;in,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;base,
<A HREF="../../../../org/apache/abdera2/parser/ParserOptions.html" title="interface in org.apache.abdera2.parser">ParserOptions</A>&nbsp;options)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse the input stream using using the specified Parse options.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt;
<BR>
<A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/abdera2/parser/Parser.html#parse(java.nio.channels.ReadableByteChannel)">parse</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/nio/channels/ReadableByteChannel.html?is-external=true" title="class or interface in java.nio.channels">ReadableByteChannel</A>&nbsp;buf)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse the channel using using the specified Parse options.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt;
<BR>
<A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/abdera2/parser/Parser.html#parse(java.nio.channels.ReadableByteChannel, org.apache.abdera2.parser.ParserOptions)">parse</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/nio/channels/ReadableByteChannel.html?is-external=true" title="class or interface in java.nio.channels">ReadableByteChannel</A>&nbsp;buf,
<A HREF="../../../../org/apache/abdera2/parser/ParserOptions.html" title="interface in org.apache.abdera2.parser">ParserOptions</A>&nbsp;options)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse the channel using using the specified Parse options.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt;
<BR>
<A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/abdera2/parser/Parser.html#parse(java.nio.channels.ReadableByteChannel, java.lang.String)">parse</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/nio/channels/ReadableByteChannel.html?is-external=true" title="class or interface in java.nio.channels">ReadableByteChannel</A>&nbsp;buf,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;base)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse the channel using using the specified Parse options.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt;
<BR>
<A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/abdera2/parser/Parser.html#parse(java.nio.channels.ReadableByteChannel, java.lang.String, org.apache.abdera2.parser.ParserOptions)">parse</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/nio/channels/ReadableByteChannel.html?is-external=true" title="class or interface in java.nio.channels">ReadableByteChannel</A>&nbsp;buf,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;base,
<A HREF="../../../../org/apache/abdera2/parser/ParserOptions.html" title="interface in org.apache.abdera2.parser">ParserOptions</A>&nbsp;options)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse the channel using using the specified Parse options.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt;
<BR>
<A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/abdera2/parser/Parser.html#parse(java.io.Reader)">parse</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;in)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse the reader using the default Base URI and options</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt;
<BR>
<A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/abdera2/parser/Parser.html#parse(java.io.Reader, org.apache.abdera2.parser.ParserOptions)">parse</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;in,
<A HREF="../../../../org/apache/abdera2/parser/ParserOptions.html" title="interface in org.apache.abdera2.parser">ParserOptions</A>&nbsp;options)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse the reader using the specified Base URI</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt;
<BR>
<A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/abdera2/parser/Parser.html#parse(java.io.Reader, java.lang.String)">parse</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;in,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;base)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse the reader using the specified Base URI</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt;
<BR>
<A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/abdera2/parser/Parser.html#parse(java.io.Reader, java.lang.String, org.apache.abdera2.parser.ParserOptions)">parse</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;in,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;base,
<A HREF="../../../../org/apache/abdera2/parser/ParserOptions.html" title="interface in org.apache.abdera2.parser">ParserOptions</A>&nbsp;options)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse the reader using using the specified Parse options.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt;
<BR>
<A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/abdera2/parser/Parser.html#parse(javax.xml.stream.XMLStreamReader)">parse</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;reader)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse the input stream using the default character set encoding (UTF-8)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
<TR ALIGN="right" VALIGN="">
<TD NOWRAP><FONT SIZE="-1">
<CODE>&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt;
<BR>
<A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt;</CODE></FONT></TD>
</TR>
</TABLE>
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/abdera2/parser/Parser.html#parse(javax.xml.stream.XMLStreamReader, java.lang.String, org.apache.abdera2.parser.ParserOptions)">parse</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;reader,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;base,
<A HREF="../../../../org/apache/abdera2/parser/ParserOptions.html" title="interface in org.apache.abdera2.parser">ParserOptions</A>&nbsp;options)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse the channel using using the specified Parse options.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/abdera2/parser/Parser.html#parsesFormat(java.lang.String)">parsesFormat</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;mediatype)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this parser is capable of consuming the specified media type</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/abdera2/parser/Parser.html" title="interface in org.apache.abdera2.parser">Parser</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/abdera2/parser/Parser.html#setDefaultParserOptions(org.apache.abdera2.parser.ParserOptions)">setDefaultParserOptions</A></B>(<A HREF="../../../../org/apache/abdera2/parser/ParserOptions.html" title="interface in org.apache.abdera2.parser">ParserOptions</A>&nbsp;options)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the default parser options for this Parser.</TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="parse(java.io.InputStream)"><!-- --></A><H3>
parse</H3>
<PRE>
&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt; <A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt; <B>parse</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;in)
throws <A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></PRE>
<DL>
<DD>Parse the input stream using the default character set encoding (UTF-8)
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - The input stream to parse
<DT><B>Returns:</B><DD>The parsed Abdera Document
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></CODE> - if the parse failed</DL>
</DD>
</DL>
<HR>
<A NAME="parse(javax.xml.stream.XMLStreamReader)"><!-- --></A><H3>
parse</H3>
<PRE>
&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt; <A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt; <B>parse</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;reader)
throws <A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></PRE>
<DL>
<DD>Parse the input stream using the default character set encoding (UTF-8)
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The XMLStreamReader to use to parse
<DT><B>Returns:</B><DD>The parsed Abdera Document
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></CODE> - if the parse failed</DL>
</DD>
</DL>
<HR>
<A NAME="parse(java.io.InputStream, java.lang.String)"><!-- --></A><H3>
parse</H3>
<PRE>
&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt; <A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt; <B>parse</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;in,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;base)
throws <A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></PRE>
<DL>
<DD>Parse the input stream using the default character set encoding (UTF-8). The specified Base URI is used to
resolve relative references contained in the document
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - The input stream to parse<DD><CODE>base</CODE> - The Base URI of the document
<DT><B>Returns:</B><DD>The parsed Abdera Document
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></CODE> - if the parse failed</DL>
</DD>
</DL>
<HR>
<A NAME="parse(java.io.InputStream, org.apache.abdera2.parser.ParserOptions)"><!-- --></A><H3>
parse</H3>
<PRE>
&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt; <A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt; <B>parse</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;in,
<A HREF="../../../../org/apache/abdera2/parser/ParserOptions.html" title="interface in org.apache.abdera2.parser">ParserOptions</A>&nbsp;options)
throws <A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></PRE>
<DL>
<DD>Parse the input stream using the default character set encoding (UTF-8). The specified Base URI is used to
resolve relative references contained in the document
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - The input stream to parse<DD><CODE>options</CODE> - The Parse options
<DT><B>Returns:</B><DD>The parsed Abdera Document
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></CODE> - if the parse failed</DL>
</DD>
</DL>
<HR>
<A NAME="parse(java.io.InputStream, java.lang.String, org.apache.abdera2.parser.ParserOptions)"><!-- --></A><H3>
parse</H3>
<PRE>
&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt; <A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt; <B>parse</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;in,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;base,
<A HREF="../../../../org/apache/abdera2/parser/ParserOptions.html" title="interface in org.apache.abdera2.parser">ParserOptions</A>&nbsp;options)
throws <A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></PRE>
<DL>
<DD>Parse the input stream using using the specified Parse options. The parse options can be used to control various
aspects of the parsing process such as the character set encoding to use and whether certain elements should be
ignored. The specified Base URI is used to resolve relative references contained in the document.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - The input stream to parse<DD><CODE>base</CODE> - The Base URI of the document<DD><CODE>options</CODE> - The Parse Options
<DT><B>Returns:</B><DD>The parsed Abdera Document
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></CODE> - if the parse failed</DL>
</DD>
</DL>
<HR>
<A NAME="parse(java.io.Reader)"><!-- --></A><H3>
parse</H3>
<PRE>
&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt; <A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt; <B>parse</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;in)
throws <A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></PRE>
<DL>
<DD>Parse the reader using the default Base URI and options
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - The Reader to parse
<DT><B>Returns:</B><DD>The parsed Abdera Document
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></CODE> - if the parse failed</DL>
</DD>
</DL>
<HR>
<A NAME="parse(java.io.Reader, java.lang.String)"><!-- --></A><H3>
parse</H3>
<PRE>
&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt; <A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt; <B>parse</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;in,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;base)
throws <A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></PRE>
<DL>
<DD>Parse the reader using the specified Base URI
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - The Reader to parse<DD><CODE>base</CODE> - The Base URI
<DT><B>Returns:</B><DD>The parsed Abdera Document
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></CODE> - if the parse failed</DL>
</DD>
</DL>
<HR>
<A NAME="parse(java.io.Reader, org.apache.abdera2.parser.ParserOptions)"><!-- --></A><H3>
parse</H3>
<PRE>
&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt; <A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt; <B>parse</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;in,
<A HREF="../../../../org/apache/abdera2/parser/ParserOptions.html" title="interface in org.apache.abdera2.parser">ParserOptions</A>&nbsp;options)
throws <A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></PRE>
<DL>
<DD>Parse the reader using the specified Base URI
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - The Reader to parse<DD><CODE>options</CODE> - The Parse Options
<DT><B>Returns:</B><DD>The parsed Abdera Document
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></CODE> - if the parse failed</DL>
</DD>
</DL>
<HR>
<A NAME="parse(java.io.Reader, java.lang.String, org.apache.abdera2.parser.ParserOptions)"><!-- --></A><H3>
parse</H3>
<PRE>
&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt; <A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt; <B>parse</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;in,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;base,
<A HREF="../../../../org/apache/abdera2/parser/ParserOptions.html" title="interface in org.apache.abdera2.parser">ParserOptions</A>&nbsp;options)
throws <A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></PRE>
<DL>
<DD>Parse the reader using using the specified Parse options. The parse options can be used to control various
aspects of the parsing process such as the character set encoding to use and whether certain elements should be
ignored. The specified Base URI is used to resolve relative references contained in the document.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - The reader to parse<DD><CODE>base</CODE> - The Base URI of the document<DD><CODE>options</CODE> - The Parse Options
<DT><B>Returns:</B><DD>The parsed Abdera Document
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></CODE> - if the parse failed</DL>
</DD>
</DL>
<HR>
<A NAME="parse(java.nio.channels.ReadableByteChannel)"><!-- --></A><H3>
parse</H3>
<PRE>
&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt; <A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt; <B>parse</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/nio/channels/ReadableByteChannel.html?is-external=true" title="class or interface in java.nio.channels">ReadableByteChannel</A>&nbsp;buf)
throws <A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></PRE>
<DL>
<DD>Parse the channel using using the specified Parse options. The parse options can be used to control various
aspects of the parsing process such as the character set encoding to use and whether certain elements should be
ignored. The specified Base URI is used to resolve relative references contained in the document.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - The ReadableByteChannel to parse
<DT><B>Returns:</B><DD>The parsed Abdera Document
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></CODE> - if the parse failed</DL>
</DD>
</DL>
<HR>
<A NAME="parse(java.nio.channels.ReadableByteChannel, java.lang.String)"><!-- --></A><H3>
parse</H3>
<PRE>
&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt; <A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt; <B>parse</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/nio/channels/ReadableByteChannel.html?is-external=true" title="class or interface in java.nio.channels">ReadableByteChannel</A>&nbsp;buf,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;base)
throws <A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></PRE>
<DL>
<DD>Parse the channel using using the specified Parse options. The parse options can be used to control various
aspects of the parsing process such as the character set encoding to use and whether certain elements should be
ignored. The specified Base URI is used to resolve relative references contained in the document.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - The ReadableByteChannel to parse<DD><CODE>base</CODE> - The Base URI of the document
<DT><B>Returns:</B><DD>The parsed Abdera Document
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></CODE> - if the parse failed</DL>
</DD>
</DL>
<HR>
<A NAME="parse(java.nio.channels.ReadableByteChannel, java.lang.String, org.apache.abdera2.parser.ParserOptions)"><!-- --></A><H3>
parse</H3>
<PRE>
&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt; <A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt; <B>parse</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/nio/channels/ReadableByteChannel.html?is-external=true" title="class or interface in java.nio.channels">ReadableByteChannel</A>&nbsp;buf,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;base,
<A HREF="../../../../org/apache/abdera2/parser/ParserOptions.html" title="interface in org.apache.abdera2.parser">ParserOptions</A>&nbsp;options)
throws <A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></PRE>
<DL>
<DD>Parse the channel using using the specified Parse options. The parse options can be used to control various
aspects of the parsing process such as the character set encoding to use and whether certain elements should be
ignored. The specified Base URI is used to resolve relative references contained in the document.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - The ReadableByteChannel to parse<DD><CODE>base</CODE> - The Base URI of the document<DD><CODE>options</CODE> - The Parse Options
<DT><B>Returns:</B><DD>The parsed Abdera Document
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></CODE> - if the parse failed</DL>
</DD>
</DL>
<HR>
<A NAME="parse(javax.xml.stream.XMLStreamReader, java.lang.String, org.apache.abdera2.parser.ParserOptions)"><!-- --></A><H3>
parse</H3>
<PRE>
&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt; <A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt; <B>parse</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;reader,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;base,
<A HREF="../../../../org/apache/abdera2/parser/ParserOptions.html" title="interface in org.apache.abdera2.parser">ParserOptions</A>&nbsp;options)
throws <A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></PRE>
<DL>
<DD>Parse the channel using using the specified Parse options. The parse options can be used to control various
aspects of the parsing process such as the character set encoding to use and whether certain elements should be
ignored. The specified Base URI is used to resolve relative references contained in the document.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - the XMLStreamReader parser to use to parse<DD><CODE>base</CODE> - The Base URI of the document<DD><CODE>options</CODE> - The Parse Options
<DT><B>Returns:</B><DD>The parsed Abdera Document
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></CODE> - if the parse failed</DL>
</DD>
</DL>
<HR>
<A NAME="parse(java.nio.channels.ReadableByteChannel, org.apache.abdera2.parser.ParserOptions)"><!-- --></A><H3>
parse</H3>
<PRE>
&lt;T extends <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>&gt; <A HREF="../../../../org/apache/abdera2/model/Document.html" title="interface in org.apache.abdera2.model">Document</A>&lt;T&gt; <B>parse</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/nio/channels/ReadableByteChannel.html?is-external=true" title="class or interface in java.nio.channels">ReadableByteChannel</A>&nbsp;buf,
<A HREF="../../../../org/apache/abdera2/parser/ParserOptions.html" title="interface in org.apache.abdera2.parser">ParserOptions</A>&nbsp;options)
throws <A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></PRE>
<DL>
<DD>Parse the channel using using the specified Parse options. The parse options can be used to control various
aspects of the parsing process such as the character set encoding to use and whether certain elements should be
ignored. The specified Base URI is used to resolve relative references contained in the document.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - The ReadableByteChannel to parse<DD><CODE>options</CODE> - The Parse Options
<DT><B>Returns:</B><DD>The parsed Abdera Document
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser">ParseException</A></CODE> - if the parse failed</DL>
</DD>
</DL>
<HR>
<A NAME="getDefaultParserOptions()"><!-- --></A><H3>
getDefaultParserOptions</H3>
<PRE>
<A HREF="../../../../org/apache/abdera2/parser/ParserOptions.html" title="interface in org.apache.abdera2.parser">ParserOptions</A> <B>getDefaultParserOptions</B>()</PRE>
<DL>
<DD>Return the default parser options for this Parser. This method returns a copy of the default options. Changes to
this instance will not affect the defaults returned by subsequent requests.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The default ParserOptions</DL>
</DD>
</DL>
<HR>
<A NAME="setDefaultParserOptions(org.apache.abdera2.parser.ParserOptions)"><!-- --></A><H3>
setDefaultParserOptions</H3>
<PRE>
<A HREF="../../../../org/apache/abdera2/parser/Parser.html" title="interface in org.apache.abdera2.parser">Parser</A> <B>setDefaultParserOptions</B>(<A HREF="../../../../org/apache/abdera2/parser/ParserOptions.html" title="interface in org.apache.abdera2.parser">ParserOptions</A>&nbsp;options)</PRE>
<DL>
<DD>Set the default parser options for this Parser. This method copies the specified options.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>options</CODE> - The Parser Options to use as the default</DL>
</DD>
</DL>
<HR>
<A NAME="getInputFormats()"><!-- --></A><H3>
getInputFormats</H3>
<PRE>
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&gt; <B>getInputFormats</B>()</PRE>
<DL>
<DD>Returns a listing of media type of the format consumed by this parser
<P>
<DD><DL>
<DT><B>Returns:</B><DD>An array of MIME Media Types</DL>
</DD>
</DL>
<HR>
<A NAME="parsesFormat(java.lang.String)"><!-- --></A><H3>
parsesFormat</H3>
<PRE>
boolean <B>parsesFormat</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;mediatype)</PRE>
<DL>
<DD>Returns true if this parser is capable of consuming the specified media type
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>mediatype</CODE> - The MIME media type to check
<DT><B>Returns:</B><DD>True if the media type is supported</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Parser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/abdera2/parser/ParseException.html" title="class in org.apache.abdera2.parser"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/abdera2/parser/ParserFactory.html" title="interface in org.apache.abdera2.parser"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/abdera2/parser/Parser.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="Parser.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright &#169; 2006-2011 <a href="http://www.apache.org/">Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>