public interface Service extends ExtensibleElement
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* ) }
Modifier and Type | Method and Description |
---|---|
Workspace |
addWorkspace(java.lang.String title)
Add an individual workspace
|
Service |
addWorkspace(Workspace workspace)
Add an individual workspace
|
Collection |
getCollection(java.lang.String workspace,
java.lang.String collection)
Returns the named collection
|
java.util.List<Collection> |
getCollectionsThatAccept(javax.activation.MimeType... type)
Returns collections that accept the specified media types
|
java.util.List<Collection> |
getCollectionsThatAccept(java.lang.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(java.lang.String... type)
Returns a collection that accepts the specified media types
|
Workspace |
getWorkspace(java.lang.String title)
Return the named workspace
|
java.util.List<Workspace> |
getWorkspaces()
Return the complete set of workspaces
|
addExtension, addExtension, addExtension, addExtension, addExtension, addSimpleExtension, addSimpleExtension, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getSimpleExtension, getSimpleExtension
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
java.util.List<Workspace> getWorkspaces()
Workspace getWorkspace(java.lang.String title)
title
- The workspace titleService addWorkspace(Workspace workspace)
workspace
- a app:workspace elementWorkspace addWorkspace(java.lang.String title)
title
- The workspace titleCollection getCollection(java.lang.String workspace, java.lang.String collection)
workspace
- The workspace titlecollection
- The collection titleCollection getCollectionThatAccepts(javax.activation.MimeType... type)
a
- listing of media types the collection must acceptCollection getCollectionThatAccepts(java.lang.String... type)
a
- listing of media types the collection must acceptjava.util.List<Collection> getCollectionsThatAccept(javax.activation.MimeType... type)
a
- listing of media types the collection must acceptjava.util.List<Collection> getCollectionsThatAccept(java.lang.String... type)
a
- listing of media types the collection must acceptCopyright © 2010 - 2020 Adobe. All Rights Reserved