|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rometools.propono.atom.common.AtomService
public class AtomService
Models an Atom Publishing Protocol Service Document. Is able to read a Service document from a JDOM Document and to write Service document out as a JDOM Document.
Field Summary | |
---|---|
static org.jdom.Namespace |
ATOM_FORMAT
Namespace for Atom Syndication Format |
static org.jdom.Namespace |
ATOM_PROTOCOL
Namespace for Atom Publishing Protocol |
Constructor Summary | |
---|---|
AtomService()
Create new and empty Atom service |
Method Summary | |
---|---|
void |
addWorkspace(Workspace workspace)
Add Workspace to service. |
static AtomService |
documentToService(org.jdom.Document document)
Deserialize an Atom service XML document into an object |
Workspace |
findWorkspace(String title)
Find workspace by title. |
List |
getWorkspaces()
Get Workspaces available from service. |
org.jdom.Document |
serviceToDocument()
Serialize an AtomService object into an XML document |
void |
setWorkspaces(List workspaces)
Set Workspaces of service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static org.jdom.Namespace ATOM_FORMAT
public static org.jdom.Namespace ATOM_PROTOCOL
Constructor Detail |
---|
public AtomService()
Method Detail |
---|
public void addWorkspace(Workspace workspace)
public List getWorkspaces()
public void setWorkspaces(List workspaces)
public Workspace findWorkspace(String title)
title
- Match this title
public static AtomService documentToService(org.jdom.Document document) throws ProponoException
ProponoException
public org.jdom.Document serviceToDocument()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |