|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Collection
Represents an collection element in an Atom Publishing Protocol introspection document.
Per APP Draft-08:
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 title { text }, attribute href { text }, ( appAccept & extensionElement* ) }
Method Summary | |
---|---|
boolean |
accepts(javax.activation.MimeType mediaType)
Returns true if the collection accepts the specified media type |
boolean |
accepts(java.lang.String mediaType)
Returns true if the collection accepts the specified media type |
java.lang.String[] |
getAccept()
PaceMediaEntries5 (proposed change to APP Draft-08) |
java.net.URI |
getHref()
APP Draft-08: The app:collection element MUST contain a "href" attribute, whose value gives the IRI of the collection. |
java.net.URI |
getResolvedHref()
|
java.lang.String |
getTitle()
APP Draft-08: The app:collection element MUST contain a "title" attribute, whose value gives a human-readable name for the collection. |
void |
setAccept(java.lang.String[] mediaRanges)
PaceMediaEntries5 (proposed change to APP Draft-08) |
void |
setHref(java.lang.String href)
APP Draft-08: The app:collection element MUST contain a "href" attribute, whose value gives the IRI of the collection. |
void |
setTitle(java.lang.String title)
APP Draft-08: The app:collection element MUST contain a "title" attribute, whose value gives a human-readable name for the collection. |
Methods inherited from interface org.apache.abdera.model.ExtensibleElement |
---|
addExtension, addExtension, addExtension, addSimpleExtension, addSimpleExtension, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getSimpleExtension, getSimpleExtension |
Methods inherited from interface org.apache.abdera.model.Element |
---|
discard, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDocument, getExtensionAttributes, getFirstChild, getFirstChild, getLanguage, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setParentElement, setText |
Methods inherited from interface org.apache.abdera.model.Base |
---|
clone, getFactory, writeTo, writeTo |
Method Detail |
---|
java.lang.String getTitle()
void setTitle(java.lang.String title)
java.net.URI getHref() throws java.net.URISyntaxException
java.net.URISyntaxException
java.net.URI getResolvedHref() throws java.net.URISyntaxException
java.net.URISyntaxException
void setHref(java.lang.String href) throws java.net.URISyntaxException
java.net.URISyntaxException
java.lang.String[] getAccept()
void setAccept(java.lang.String[] mediaRanges)
boolean accepts(java.lang.String mediaType)
javax.activation.MimeTypeParseException
javax.activation.MimeTypeParseException
boolean accepts(javax.activation.MimeType mediaType)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |