Package org.restlet.ext.atom
Class Workspace
- java.lang.Object
-
- org.restlet.ext.atom.Workspace
-
public class Workspace extends java.lang.ObjectWorkspace containing collections of members entries.- Author:
- Jerome Louvel
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.restlet.data.ReferencegetBaseReference()Returns the base reference used to resolve relative references found within the scope of the xml:base attribute.java.util.List<Collection>getCollections()Returns the list of collections.ServicegetService()Returns the parent service.java.lang.StringgetTitle()Returns the title.voidsetBaseReference(org.restlet.data.Reference baseReference)Sets the base reference used to resolve relative references found within the scope of the xml:base attribute.voidsetService(Service service)Sets the parent service.voidsetTitle(java.lang.String title)Sets the title.voidwriteElement(XmlWriter writer)Writes the current object as an XML element using the given SAX writer.
-
-
-
Method Detail
-
getBaseReference
public org.restlet.data.Reference getBaseReference()
Returns the base reference used to resolve relative references found within the scope of the xml:base attribute.- Returns:
- The base reference used to resolve relative references found within the scope of the xml:base attribute.
-
getCollections
public java.util.List<Collection> getCollections()
Returns the list of collections.- Returns:
- The list of collections.
-
getService
public Service getService()
Returns the parent service.- Returns:
- The parent service.
-
getTitle
public java.lang.String getTitle()
Returns the title.- Returns:
- The title.
-
setBaseReference
public void setBaseReference(org.restlet.data.Reference baseReference)
Sets the base reference used to resolve relative references found within the scope of the xml:base attribute.- Parameters:
baseReference- The base reference used to resolve relative references found within the scope of the xml:base attribute.
-
setService
public void setService(Service service)
Sets the parent service.- Parameters:
service- The parent service.
-
setTitle
public void setTitle(java.lang.String title)
Sets the title.- Parameters:
title- The title.
-
writeElement
public void writeElement(XmlWriter writer) throws org.xml.sax.SAXException
Writes the current object as an XML element using the given SAX writer.- Parameters:
writer- The SAX writer.- Throws:
org.xml.sax.SAXException
-
-