|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Service
Represents the root of an Atom Publishing Protocol Introspection Document.
Per APP Draft-08:
The root of an introspection document is the "app:service" element. The "app:service" element is the container for introspection information associated with one or more workspaces. An app:service element MUST contain one or more app:workspace elements. appService = element app:service { appCommonAttributes, ( appWorkspace+ & extensionElement* ) }
Method Summary | |
---|---|
Workspace |
addWorkspace(String title)
Add an individual workspace |
Service |
addWorkspace(Workspace workspace)
Add an individual workspace |
Collection |
getCollection(String workspace,
String collection)
Returns the named collection |
List<Collection> |
getCollectionsThatAccept(javax.activation.MimeType... type)
Returns collections that accept the specified media types |
List<Collection> |
getCollectionsThatAccept(String... type)
Returns collections that accept the specified media types |
Collection |
getCollectionThatAccepts(javax.activation.MimeType... type)
Returns a collection that accepts the specified media types |
Collection |
getCollectionThatAccepts(String... type)
Returns a collection that accepts the specified media types |
Workspace |
getWorkspace(String title)
Return the named workspace |
List<Workspace> |
getWorkspaces()
Return the complete set of workspaces |
Methods inherited from interface org.apache.abdera.model.ExtensibleElement |
---|
addExtension, addExtension, addExtension, addExtension, addExtension, addSimpleExtension, addSimpleExtension, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getSimpleExtension, getSimpleExtension |
Methods inherited from interface org.apache.abdera.model.Element |
---|
declareNS, discard, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDocument, getElements, getExtensionAttributes, getFirstChild, getFirstChild, getLanguage, getLanguageTag, getLocale, getMustPreserveWhitespace, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, removeAttribute, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setMustPreserveWhitespace, setParentElement, setText, setText |
Methods inherited from interface org.apache.abdera.model.Base |
---|
addComment, clone, complete, getDefaultWriterOptions, getFactory, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
List<Workspace> getWorkspaces()
Workspace getWorkspace(String title)
title
- The workspace title
Service addWorkspace(Workspace workspace)
workspace
- a app:workspace elementWorkspace addWorkspace(String title)
title
- The workspace title
Collection getCollection(String workspace, String collection)
workspace
- The workspace titlecollection
- The collection title
Collection getCollectionThatAccepts(javax.activation.MimeType... type)
a
- listing of media types the collection must accept
Collection getCollectionThatAccepts(String... type)
a
- listing of media types the collection must accept
List<Collection> getCollectionsThatAccept(javax.activation.MimeType... type)
a
- listing of media types the collection must accept
List<Collection> getCollectionsThatAccept(String... type)
a
- listing of media types the collection must accept
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |