@Deprecated
public class AtomService
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static org.jdom2.Namespace |
ATOM_FORMAT
Deprecated.
Namespace for Atom Syndication Format
|
static org.jdom2.Namespace |
ATOM_PROTOCOL
Deprecated.
Namespace for Atom Publishing Protocol
|
private java.util.List<Workspace> |
workspaces
Deprecated.
|
Constructor and Description |
---|
AtomService()
Deprecated.
Create new and empty Atom service
|
Modifier and Type | Method and Description |
---|---|
void |
addWorkspace(Workspace workspace)
Deprecated.
Add Workspace to service.
|
static AtomService |
documentToService(org.jdom2.Document document)
Deprecated.
Deserialize an Atom service XML document into an object
|
Workspace |
findWorkspace(java.lang.String title)
Deprecated.
Find workspace by title.
|
java.util.List<Workspace> |
getWorkspaces()
Deprecated.
Get Workspaces available from service.
|
org.jdom2.Document |
serviceToDocument()
Deprecated.
Serialize an AtomService object into an XML document
|
void |
setWorkspaces(java.util.List<Workspace> workspaces)
Deprecated.
Set Workspaces of service.
|
private java.util.List<Workspace> workspaces
public static org.jdom2.Namespace ATOM_FORMAT
public static org.jdom2.Namespace ATOM_PROTOCOL
public void addWorkspace(Workspace workspace)
public java.util.List<Workspace> getWorkspaces()
public void setWorkspaces(java.util.List<Workspace> workspaces)
public Workspace findWorkspace(java.lang.String title)
title
- Match this titlepublic static AtomService documentToService(org.jdom2.Document document) throws ProponoException
ProponoException
public org.jdom2.Document serviceToDocument()