Package org.apache.abdera.model
Interface Service
Deprecated.
This API is deprecated as Apache Abdera is a retired project since 2017.
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
Modifier and TypeMethodDescriptionaddWorkspace
(String title) Deprecated.Add an individual workspaceaddWorkspace
(Workspace workspace) Deprecated.Add an individual workspacegetCollection
(String workspace, String collection) Deprecated.Returns the named collectiongetCollectionsThatAccept
(String... type) Deprecated.Returns collections that accept the specified media typesgetCollectionsThatAccept
(javax.activation.MimeType... type) Deprecated.Returns collections that accept the specified media typesgetCollectionThatAccepts
(String... type) Deprecated.Returns a collection that accepts the specified media typesgetCollectionThatAccepts
(javax.activation.MimeType... type) Deprecated.Returns a collection that accepts the specified media typesgetWorkspace
(String title) Deprecated.Return the named workspaceDeprecated.Return the complete set of workspacesMethods 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 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.ExtensibleElement
addExtension, addExtension, addExtension, addExtension, addExtension, addSimpleExtension, addSimpleExtension, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getSimpleExtension, getSimpleExtension
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getWorkspaces
Deprecated.Return the complete set of workspaces- Returns:
- A listing of app:workspaces elements
-
getWorkspace
Deprecated.Return the named workspace- Parameters:
title
- The workspace title- Returns:
- A matching app:workspace
-
addWorkspace
Deprecated.Add an individual workspace- Parameters:
workspace
- a app:workspace element
-
addWorkspace
Deprecated.Add an individual workspace- Parameters:
title
- The workspace title- Returns:
- The newly created app:workspace
-
getCollection
Deprecated.Returns the named collection- Parameters:
workspace
- The workspace titlecollection
- The collection title- Returns:
- A matching app:collection element
-
getCollectionThatAccepts
Deprecated.Returns a collection that accepts the specified media types- Parameters:
a
- listing of media types the collection must accept- Returns:
- A matching app:collection element
-
getCollectionThatAccepts
Deprecated.Returns a collection that accepts the specified media types- Parameters:
a
- listing of media types the collection must accept- Returns:
- A matching app:collection element
-
getCollectionsThatAccept
Deprecated.Returns collections that accept the specified media types- Parameters:
a
- listing of media types the collection must accept- Returns:
- A listing matching app:collection elements
-
getCollectionsThatAccept
Deprecated.Returns collections that accept the specified media types- Parameters:
a
- listing of media types the collection must accept- Returns:
- A listing of matching app:collection elements
-