| <!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:08 PDT 2011 --> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <TITLE> |
| Collection (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="Collection (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> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Collection.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/abdera2/model/Category.html" title="interface in org.apache.abdera2.model"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/abdera2/model/Comment.html" title="interface in org.apache.abdera2.model"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/abdera2/model/Collection.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="Collection.html" target="_top"><B>NO FRAMES</B></A> |
| <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <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.model</FONT> |
| <BR> |
| Interface Collection</H2> |
| <DL> |
| <DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../org/apache/abdera2/model/Base.html" title="interface in org.apache.abdera2.model">Base</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>, <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html" title="interface in org.apache.abdera2.model">ExtensibleElement</A>, <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><<A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A>></DD> |
| </DL> |
| <DL> |
| <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/abdera2/parser/axiom/FOMCollection.html" title="class in org.apache.abdera2.parser.axiom">FOMCollection</A>, <A HREF="../../../../org/apache/abdera2/parser/axiom/FOMMultipartCollection.html" title="class in org.apache.abdera2.parser.axiom">FOMMultipartCollection</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public interface <B>Collection</B><DT>extends <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html" title="interface in org.apache.abdera2.model">ExtensibleElement</A></DL> |
| </PRE> |
| |
| <P> |
| <p> |
| Represents an collection element in an Atom Publishing Protocol introspection document. |
| </p> |
| |
| <pre> |
| The "app:collection" describes an Atom Protocol collection. One |
| child element is defined here for app:collection: "app:member-type". |
| |
| appCollection = |
| element app:collection { |
| appCommonAttributes, |
| attribute href { text }, |
| ( atomTitle |
| & appAccept |
| & extensionElement* ) |
| } |
| </pre> |
| <P> |
| |
| <P> |
| <HR> |
| |
| <P> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| |
| <A NAME="nested_class_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>Nested Class Summary</B></FONT></TH> |
| </TR> |
| </TABLE> |
| <A NAME="nested_classes_inherited_from_class_org.apache.abdera2.model.Element"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Nested classes/interfaces inherited from interface org.apache.abdera2.model.<A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/abdera2/model/Element.Helper.html" title="class in org.apache.abdera2.model">Element.Helper</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| |
| <!-- ========== 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> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#accepts(javax.activation.MimeType)">accepts</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/javax/activation/MimeType.html?is-external=true" title="class or interface in javax.activation">MimeType</A> mediaType)</CODE> |
| |
| <BR> |
| Returns true if the collection accepts the given media-type</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#accepts(java.lang.String)">accepts</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> mediaType)</CODE> |
| |
| <BR> |
| Returns true if the collection accepts the given media-type</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#acceptsEntry()">acceptsEntry</A></B>()</CODE> |
| |
| <BR> |
| Returns true if the collection accepts Atom entry documents (equivalent to calling |
| accepts("application/atom+xml;type=entry");)</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#acceptsNothing()">acceptsNothing</A></B>()</CODE> |
| |
| <BR> |
| Returns true if the collection accepts nothing (i.e.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/abdera2/model/Collection.html" title="interface in org.apache.abdera2.model">Collection</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#addAccepts(java.lang.String...)">addAccepts</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>... mediaRanges)</CODE> |
| |
| <BR> |
| Adds new accept elements to the collection</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/abdera2/model/Collection.html" title="interface in org.apache.abdera2.model">Collection</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#addAccepts(java.lang.String)">addAccepts</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> mediaRange)</CODE> |
| |
| <BR> |
| Adds a new accept element to the collection</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/abdera2/model/Collection.html" title="interface in org.apache.abdera2.model">Collection</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#addAcceptsEntry()">addAcceptsEntry</A></B>()</CODE> |
| |
| <BR> |
| Same as setAcceptsEntry except the existing accepts are not discarded</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/abdera2/model/Categories.html" title="interface in org.apache.abdera2.model">Categories</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#addCategories()">addCategories</A></B>()</CODE> |
| |
| <BR> |
| Add an app:categories element</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/abdera2/model/Collection.html" title="interface in org.apache.abdera2.model">Collection</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#addCategories(org.apache.abdera2.model.Categories)">addCategories</A></B>(<A HREF="../../../../org/apache/abdera2/model/Categories.html" title="interface in org.apache.abdera2.model">Categories</A> categories)</CODE> |
| |
| <BR> |
| Add the app:categories element to the collection</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/abdera2/model/Categories.html" title="interface in org.apache.abdera2.model">Categories</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#addCategories(java.util.List, boolean, java.lang.String)">addCategories</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../org/apache/abdera2/model/Category.html" title="interface in org.apache.abdera2.model">Category</A>> categories, |
| boolean fixed, |
| <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> scheme)</CODE> |
| |
| <BR> |
| Add a listing of categories to the collection</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/abdera2/model/Categories.html" title="interface in org.apache.abdera2.model">Categories</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#addCategories(java.lang.String)">addCategories</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> href)</CODE> |
| |
| <BR> |
| Add an app:categories element that links to an external Category Document</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <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>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#getAccept()">getAccept</A></B>()</CODE> |
| |
| <BR> |
| Returns the listing of media-ranges allowed for this collection</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../org/apache/abdera2/model/Categories.html" title="interface in org.apache.abdera2.model">Categories</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#getCategories()">getCategories</A></B>()</CODE> |
| |
| <BR> |
| Returns the app:categories element</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../org/apache/abdera2/model/Categories.html" title="interface in org.apache.abdera2.model">Categories</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#getCategories(org.apache.abdera2.common.selector.Selector)">getCategories</A></B>(org.apache.abdera2.common.selector.Selector selector)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> org.apache.abdera2.common.iri.IRI</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#getHref()">getHref</A></B>()</CODE> |
| |
| <BR> |
| Return the value of the app:collection elements href attribute</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> org.apache.abdera2.common.iri.IRI</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#getResolvedHref()">getResolvedHref</A></B>()</CODE> |
| |
| <BR> |
| Return the href attribute resolved against the in-scope Base URI</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <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></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#getTitle()">getTitle</A></B>()</CODE> |
| |
| <BR> |
| The text value of the collections atom:title element</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/abdera2/model/Text.html" title="interface in org.apache.abdera2.model">Text</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#getTitleElement()">getTitleElement</A></B>()</CODE> |
| |
| <BR> |
| Return the title element</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/abdera2/model/Collection.html" title="interface in org.apache.abdera2.model">Collection</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#setAccept(java.lang.String...)">setAccept</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>... mediaRanges)</CODE> |
| |
| <BR> |
| Set the listing of media-ranges allowed for this collection.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/abdera2/model/Collection.html" title="interface in org.apache.abdera2.model">Collection</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#setAcceptsEntry()">setAcceptsEntry</A></B>()</CODE> |
| |
| <BR> |
| Sets the appropriate accept element to indicate that entries are accepted (equivalent to calling |
| setAccept("application/atom+xml;type=entry");)</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/abdera2/model/Collection.html" title="interface in org.apache.abdera2.model">Collection</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#setAcceptsNothing()">setAcceptsNothing</A></B>()</CODE> |
| |
| <BR> |
| Sets the collection so that nothing is accepted (equivalent to calling setAccept(""); )</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/abdera2/model/Collection.html" title="interface in org.apache.abdera2.model">Collection</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#setHref(java.lang.String)">setHref</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> href)</CODE> |
| |
| <BR> |
| Set the value of the href attribute</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/abdera2/model/Text.html" title="interface in org.apache.abdera2.model">Text</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#setTitle(java.lang.String)">setTitle</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> title)</CODE> |
| |
| <BR> |
| Set the value of the collections atom:title element using type="text"</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/abdera2/model/Text.html" title="interface in org.apache.abdera2.model">Text</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#setTitleAsHtml(java.lang.String)">setTitleAsHtml</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> title)</CODE> |
| |
| <BR> |
| Set the value of the collections atom:title element using type="html".</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/abdera2/model/Text.html" title="interface in org.apache.abdera2.model">Text</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/abdera2/model/Collection.html#setTitleAsXHtml(java.lang.String)">setTitleAsXHtml</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> title)</CODE> |
| |
| <BR> |
| Set the value of the collections atom:title element using type="xhtml".</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.apache.abdera2.model.ExtensibleElement"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from interface org.apache.abdera2.model.<A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html" title="interface in org.apache.abdera2.model">ExtensibleElement</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html#addExtension(java.lang.Class)">addExtension</A>, <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html#addExtension(java.lang.Class, javax.xml.namespace.QName)">addExtension</A>, <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html#addExtension(org.apache.abdera2.model.Element)">addExtension</A>, <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html#addExtension(org.apache.abdera2.model.Element, org.apache.abdera2.model.Element)">addExtension</A>, <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html#addExtension(javax.xml.namespace.QName)">addExtension</A>, <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html#addExtension(javax.xml.namespace.QName, javax.xml.namespace.QName)">addExtension</A>, <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html#addExtension(java.lang.String, java.lang.String, java.lang.String)">addExtension</A>, <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html#addSimpleExtension(javax.xml.namespace.QName, java.lang.String)">addSimpleExtension</A>, <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html#addSimpleExtension(java.lang.String, java.lang.String, java.lang.String, java.lang.String)">addSimpleExtension</A>, <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html#getExtension(java.lang.Class)">getExtension</A>, <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html#getExtension(javax.xml.namespace.QName)">getExtension</A>, <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html#getExtensions()">getExtensions</A>, <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html#getExtensions(java.lang.Class)">getExtensions</A>, <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html#getExtensions(java.lang.Class, org.apache.abdera2.common.selector.Selector)">getExtensions</A>, <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html#getExtensions(javax.xml.namespace.QName)">getExtensions</A>, <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html#getExtensions(javax.xml.namespace.QName, org.apache.abdera2.common.selector.Selector)">getExtensions</A>, <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html#getExtensions(org.apache.abdera2.common.selector.Selector)">getExtensions</A>, <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html#getExtensions(java.lang.String)">getExtensions</A>, <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html#getSimpleExtension(javax.xml.namespace.QName)">getSimpleExtension</A>, <A HREF="../../../../org/apache/abdera2/model/ExtensibleElement.html#getSimpleExtension(java.lang.String, java.lang.String, java.lang.String)">getSimpleExtension</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.apache.abdera2.model.Element"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from interface org.apache.abdera2.model.<A HREF="../../../../org/apache/abdera2/model/Element.html" title="interface in org.apache.abdera2.model">Element</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/abdera2/model/Element.html#declareNS(java.lang.String, java.lang.String)">declareNS</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#discard()">discard</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getAttributes()">getAttributes</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getAttributeValue(javax.xml.namespace.QName)">getAttributeValue</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getAttributeValue(java.lang.String)">getAttributeValue</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getBaseUri()">getBaseUri</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getDocument()">getDocument</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getElements()">getElements</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getElements(org.apache.abdera2.common.selector.Selector)">getElements</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getExtensionAttributes()">getExtensionAttributes</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getFirstChild()">getFirstChild</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getFirstChild(javax.xml.namespace.QName)">getFirstChild</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getLanguage()">getLanguage</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getLanguageTag()">getLanguageTag</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getLocale()">getLocale</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getMustPreserveWhitespace()">getMustPreserveWhitespace</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getNamespaces()">getNamespaces</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getNextSibling()">getNextSibling</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getNextSibling(javax.xml.namespace.QName)">getNextSibling</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getParentElement()">getParentElement</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getPreviousSibling()">getPreviousSibling</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getPreviousSibling(javax.xml.namespace.QName)">getPreviousSibling</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getQName()">getQName</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getResolvedBaseUri()">getResolvedBaseUri</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#getText()">getText</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#has(javax.xml.namespace.QName)">has</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#hasAttribute(java.lang.String)">hasAttribute</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#removeAttribute(javax.xml.namespace.QName)">removeAttribute</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#removeAttribute(java.lang.String)">removeAttribute</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#setAttributeValue(javax.xml.namespace.QName, java.lang.String)">setAttributeValue</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#setAttributeValue(java.lang.String, java.lang.String)">setAttributeValue</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#setBaseUri(org.apache.abdera2.common.iri.IRI)">setBaseUri</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#setBaseUri(java.lang.String)">setBaseUri</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#setLanguage(java.lang.String)">setLanguage</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#setMustPreserveWhitespace(boolean)">setMustPreserveWhitespace</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#setParentElement(org.apache.abdera2.model.Element)">setParentElement</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#setText(javax.activation.DataHandler)">setText</A>, <A HREF="../../../../org/apache/abdera2/model/Element.html#setText(java.lang.String)">setText</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.apache.abdera2.model.Base"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from interface org.apache.abdera2.model.<A HREF="../../../../org/apache/abdera2/model/Base.html" title="interface in org.apache.abdera2.model">Base</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/abdera2/model/Base.html#addComment(java.lang.String)">addComment</A>, <A HREF="../../../../org/apache/abdera2/model/Base.html#clone()">clone</A>, <A HREF="../../../../org/apache/abdera2/model/Base.html#complete()">complete</A>, <A HREF="../../../../org/apache/abdera2/model/Base.html#getDefaultWriterOptions()">getDefaultWriterOptions</A>, <A HREF="../../../../org/apache/abdera2/model/Base.html#getFactory()">getFactory</A>, <A HREF="../../../../org/apache/abdera2/model/Base.html#writeTo(java.io.OutputStream)">writeTo</A>, <A HREF="../../../../org/apache/abdera2/model/Base.html#writeTo(java.io.OutputStream, org.apache.abdera2.writer.WriterOptions)">writeTo</A>, <A HREF="../../../../org/apache/abdera2/model/Base.html#writeTo(java.lang.String, java.io.OutputStream)">writeTo</A>, <A HREF="../../../../org/apache/abdera2/model/Base.html#writeTo(java.lang.String, java.io.OutputStream, org.apache.abdera2.writer.WriterOptions)">writeTo</A>, <A HREF="../../../../org/apache/abdera2/model/Base.html#writeTo(java.lang.String, java.io.Writer)">writeTo</A>, <A HREF="../../../../org/apache/abdera2/model/Base.html#writeTo(java.lang.String, java.io.Writer, org.apache.abdera2.writer.WriterOptions)">writeTo</A>, <A HREF="../../../../org/apache/abdera2/model/Base.html#writeTo(java.io.Writer)">writeTo</A>, <A HREF="../../../../org/apache/abdera2/model/Base.html#writeTo(org.apache.abdera2.writer.Writer, java.io.OutputStream)">writeTo</A>, <A HREF="../../../../org/apache/abdera2/model/Base.html#writeTo(org.apache.abdera2.writer.Writer, java.io.OutputStream, org.apache.abdera2.writer.WriterOptions)">writeTo</A>, <A HREF="../../../../org/apache/abdera2/model/Base.html#writeTo(org.apache.abdera2.writer.Writer, java.io.Writer)">writeTo</A>, <A HREF="../../../../org/apache/abdera2/model/Base.html#writeTo(java.io.Writer, org.apache.abdera2.writer.WriterOptions)">writeTo</A>, <A HREF="../../../../org/apache/abdera2/model/Base.html#writeTo(org.apache.abdera2.writer.Writer, java.io.Writer, org.apache.abdera2.writer.WriterOptions)">writeTo</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Iterable"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from interface java.lang.<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></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true#iterator()" title="class or interface in java.lang">iterator</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <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="getTitle()"><!-- --></A><H3> |
| getTitle</H3> |
| <PRE> |
| <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> <B>getTitle</B>()</PRE> |
| <DL> |
| <DD>The text value of the collections atom:title element |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>The atom:title value</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setTitle(java.lang.String)"><!-- --></A><H3> |
| setTitle</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/abdera2/model/Text.html" title="interface in org.apache.abdera2.model">Text</A> <B>setTitle</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> title)</PRE> |
| <DL> |
| <DD>Set the value of the collections atom:title element using type="text" |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>title</CODE> - The value of the atom:title |
| <DT><B>Returns:</B><DD>The newly created title element</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setTitleAsHtml(java.lang.String)"><!-- --></A><H3> |
| setTitleAsHtml</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/abdera2/model/Text.html" title="interface in org.apache.abdera2.model">Text</A> <B>setTitleAsHtml</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> title)</PRE> |
| <DL> |
| <DD>Set the value of the collections atom:title element using type="html". Special characters in the value will be |
| automatically escaped (e.g. & will become & |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>title</CODE> - The value of the atom:title |
| <DT><B>Returns:</B><DD>The newly created title element</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setTitleAsXHtml(java.lang.String)"><!-- --></A><H3> |
| setTitleAsXHtml</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/abdera2/model/Text.html" title="interface in org.apache.abdera2.model">Text</A> <B>setTitleAsXHtml</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> title)</PRE> |
| <DL> |
| <DD>Set the value of the collections atom:title element using type="xhtml". The title text will be wrapped in a |
| xhtml:div and parsed to ensure that it is welformed XML. A ParseException (RuntimeException) could be thrown |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>title</CODE> - The value of the atom:title |
| <DT><B>Returns:</B><DD>The newly created title element</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTitleElement()"><!-- --></A><H3> |
| getTitleElement</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/abdera2/model/Text.html" title="interface in org.apache.abdera2.model">Text</A> <B>getTitleElement</B>()</PRE> |
| <DL> |
| <DD>Return the title element |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>The title element</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getHref()"><!-- --></A><H3> |
| getHref</H3> |
| <PRE> |
| org.apache.abdera2.common.iri.IRI <B>getHref</B>()</PRE> |
| <DL> |
| <DD>Return the value of the app:collection elements href attribute |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>The href attribute IRI value |
| <DT><B>Throws:</B> |
| <DD><CODE>IRISyntaxException</CODE> - if the value of the href attribute is malformed</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getResolvedHref()"><!-- --></A><H3> |
| getResolvedHref</H3> |
| <PRE> |
| org.apache.abdera2.common.iri.IRI <B>getResolvedHref</B>()</PRE> |
| <DL> |
| <DD>Return the href attribute resolved against the in-scope Base URI |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>The href attribute IRI value |
| <DT><B>Throws:</B> |
| <DD><CODE>IRISyntaxException</CODE> - if the value of the href attribute is malformed</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setHref(java.lang.String)"><!-- --></A><H3> |
| setHref</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/abdera2/model/Collection.html" title="interface in org.apache.abdera2.model">Collection</A> <B>setHref</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> href)</PRE> |
| <DL> |
| <DD>Set the value of the href attribute |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>href</CODE> - The value of href attribute |
| <DT><B>Throws:</B> |
| <DD><CODE>IRISyntaxException</CODE> - if the href attribute is malformed</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAccept()"><!-- --></A><H3> |
| getAccept</H3> |
| <PRE> |
| <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>[] <B>getAccept</B>()</PRE> |
| <DL> |
| <DD>Returns the listing of media-ranges allowed for this collection |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>An array listing the media-ranges allowed for this collection</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setAccept(java.lang.String...)"><!-- --></A><H3> |
| setAccept</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/abdera2/model/Collection.html" title="interface in org.apache.abdera2.model">Collection</A> <B>setAccept</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>... mediaRanges)</PRE> |
| <DL> |
| <DD>Set the listing of media-ranges allowed for this collection. The special value "entry" is used to indicate Atom |
| Entry Documents. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>mediaRanges</CODE> - a listing of media-ranges |
| <DT><B>Throws:</B> |
| <DD><CODE>MimeTypeParseException</CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="accepts(java.lang.String)"><!-- --></A><H3> |
| accepts</H3> |
| <PRE> |
| boolean <B>accepts</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> mediaType)</PRE> |
| <DL> |
| <DD>Returns true if the collection accepts the given media-type |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>mediaType</CODE> - The media-type to check |
| <DT><B>Returns:</B><DD>True if the media-type is acceptable</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="acceptsEntry()"><!-- --></A><H3> |
| acceptsEntry</H3> |
| <PRE> |
| boolean <B>acceptsEntry</B>()</PRE> |
| <DL> |
| <DD>Returns true if the collection accepts Atom entry documents (equivalent to calling |
| accepts("application/atom+xml;type=entry");) |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="acceptsNothing()"><!-- --></A><H3> |
| acceptsNothing</H3> |
| <PRE> |
| boolean <B>acceptsNothing</B>()</PRE> |
| <DL> |
| <DD>Returns true if the collection accepts nothing (i.e. there is an empty accept element) |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setAcceptsEntry()"><!-- --></A><H3> |
| setAcceptsEntry</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/abdera2/model/Collection.html" title="interface in org.apache.abdera2.model">Collection</A> <B>setAcceptsEntry</B>()</PRE> |
| <DL> |
| <DD>Sets the appropriate accept element to indicate that entries are accepted (equivalent to calling |
| setAccept("application/atom+xml;type=entry");) |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setAcceptsNothing()"><!-- --></A><H3> |
| setAcceptsNothing</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/abdera2/model/Collection.html" title="interface in org.apache.abdera2.model">Collection</A> <B>setAcceptsNothing</B>()</PRE> |
| <DL> |
| <DD>Sets the collection so that nothing is accepted (equivalent to calling setAccept(""); ) |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addAccepts(java.lang.String)"><!-- --></A><H3> |
| addAccepts</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/abdera2/model/Collection.html" title="interface in org.apache.abdera2.model">Collection</A> <B>addAccepts</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> mediaRange)</PRE> |
| <DL> |
| <DD>Adds a new accept element to the collection |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addAccepts(java.lang.String...)"><!-- --></A><H3> |
| addAccepts</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/abdera2/model/Collection.html" title="interface in org.apache.abdera2.model">Collection</A> <B>addAccepts</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>... mediaRanges)</PRE> |
| <DL> |
| <DD>Adds new accept elements to the collection |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addAcceptsEntry()"><!-- --></A><H3> |
| addAcceptsEntry</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/abdera2/model/Collection.html" title="interface in org.apache.abdera2.model">Collection</A> <B>addAcceptsEntry</B>()</PRE> |
| <DL> |
| <DD>Same as setAcceptsEntry except the existing accepts are not discarded |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="accepts(javax.activation.MimeType)"><!-- --></A><H3> |
| accepts</H3> |
| <PRE> |
| boolean <B>accepts</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/javax/activation/MimeType.html?is-external=true" title="class or interface in javax.activation">MimeType</A> mediaType)</PRE> |
| <DL> |
| <DD>Returns true if the collection accepts the given media-type |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>mediaType</CODE> - The media-type to check |
| <DT><B>Returns:</B><DD>True if the media-type is acceptable</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getCategories()"><!-- --></A><H3> |
| getCategories</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../org/apache/abdera2/model/Categories.html" title="interface in org.apache.abdera2.model">Categories</A>> <B>getCategories</B>()</PRE> |
| <DL> |
| <DD>Returns the app:categories element |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>The app:categories element</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getCategories(org.apache.abdera2.common.selector.Selector)"><!-- --></A><H3> |
| getCategories</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../org/apache/abdera2/model/Categories.html" title="interface in org.apache.abdera2.model">Categories</A>> <B>getCategories</B>(org.apache.abdera2.common.selector.Selector selector)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addCategories()"><!-- --></A><H3> |
| addCategories</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/abdera2/model/Categories.html" title="interface in org.apache.abdera2.model">Categories</A> <B>addCategories</B>()</PRE> |
| <DL> |
| <DD>Add an app:categories element |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>The newly created app:categories element</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addCategories(java.lang.String)"><!-- --></A><H3> |
| addCategories</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/abdera2/model/Categories.html" title="interface in org.apache.abdera2.model">Categories</A> <B>addCategories</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> href)</PRE> |
| <DL> |
| <DD>Add an app:categories element that links to an external Category Document |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>href</CODE> - The IRI of the external Category Document |
| <DT><B>Returns:</B><DD>The newly created app:categories element</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addCategories(org.apache.abdera2.model.Categories)"><!-- --></A><H3> |
| addCategories</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/abdera2/model/Collection.html" title="interface in org.apache.abdera2.model">Collection</A> <B>addCategories</B>(<A HREF="../../../../org/apache/abdera2/model/Categories.html" title="interface in org.apache.abdera2.model">Categories</A> categories)</PRE> |
| <DL> |
| <DD>Add the app:categories element to the collection |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>categories</CODE> - The app:categories element</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addCategories(java.util.List, boolean, java.lang.String)"><!-- --></A><H3> |
| addCategories</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/abdera2/model/Categories.html" title="interface in org.apache.abdera2.model">Categories</A> <B>addCategories</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../org/apache/abdera2/model/Category.html" title="interface in org.apache.abdera2.model">Category</A>> categories, |
| boolean fixed, |
| <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> scheme)</PRE> |
| <DL> |
| <DD>Add a listing of categories to the collection |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>categories</CODE> - The listing of categories to add<DD><CODE>fixed</CODE> - True if the listing of categories should be fixed<DD><CODE>scheme</CODE> - The default IRI scheme for the categories listing |
| <DT><B>Returns:</B><DD>The newly created app:categories element</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> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Collection.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/abdera2/model/Category.html" title="interface in org.apache.abdera2.model"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/abdera2/model/Comment.html" title="interface in org.apache.abdera2.model"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/abdera2/model/Collection.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="Collection.html" target="_top"><B>NO FRAMES</B></A> |
| <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © 2006-2011 <a href="http://www.apache.org/">Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |