|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.ext.atom.Workspace
public class Workspace
Workspace containing collections of members entries.
Constructor Summary | |
---|---|
Workspace(Service service)
Constructor. |
|
Workspace(Service service,
String title)
Constructor. |
Method Summary | |
---|---|
Reference |
getBaseReference()
Returns the base reference used to resolve relative references found within the scope of the xml:base attribute. |
List<Collection> |
getCollections()
Returns the list of collections. |
Service |
getService()
Returns the parent service. |
String |
getTitle()
Returns the title. |
void |
setBaseReference(Reference baseReference)
Sets the base reference used to resolve relative references found within the scope of the xml:base attribute. |
void |
setService(Service service)
Sets the parent service. |
void |
setTitle(String title)
Sets the title. |
void |
writeElement(XmlWriter writer)
Writes the current object as an XML element using the given SAX writer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Workspace(Service service)
service
- The parent service.public Workspace(Service service, String title)
service
- The parent service.title
- The title.Method Detail |
---|
public Reference getBaseReference()
public List<Collection> getCollections()
public Service getService()
public String getTitle()
public void setBaseReference(Reference baseReference)
baseReference
- The base reference used to resolve relative references found
within the scope of the xml:base attribute.public void setService(Service service)
service
- The parent service.public void setTitle(String title)
title
- The title.public void writeElement(XmlWriter writer) throws SAXException
writer
- The SAX writer.
SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |