Class Workspace


  • public class Workspace
    extends java.lang.Object
    Workspace containing collections of members entries.
    Author:
    Jerome Louvel
    • Constructor Summary

      Constructors 
      Constructor Description
      Workspace​(Service service)
      Constructor.
      Workspace​(Service service, java.lang.String title)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.restlet.data.Reference getBaseReference()
      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.
      Service getService()
      Returns the parent service.
      java.lang.String getTitle()
      Returns the title.
      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.
      void setService​(Service service)
      Sets the parent service.
      void setTitle​(java.lang.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

      • Workspace

        public Workspace​(Service service)
        Constructor.
        Parameters:
        service - The parent service.
      • Workspace

        public Workspace​(Service service,
                         java.lang.String title)
        Constructor.
        Parameters:
        service - The parent service.
        title - The title.
    • 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