Class SharedDirectory

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class SharedDirectory
    extends DirectoryLayout
    This data class represents a shared directory on a site. Can be local scratch or local storage.
    Version:
    $Revision$
    Author:
    Karan Vahi
    • Constructor Detail

      • SharedDirectory

        public SharedDirectory()
        The default constructor.
    • Method Detail

      • toXML

        public void toXML​(java.io.Writer writer,
                          java.lang.String indent)
                   throws java.io.IOException
        Writes out the xml description of the object.
        Specified by:
        toXML in class AbstractSiteData
        Parameters:
        writer - is a Writer opened and ready for writing. This can also be a StringWriter for efficient output.
        indent - the indent to be used.
        Throws:
        java.io.IOException - if something fishy happens to the stream.
      • accept

        public void accept​(SiteDataVisitor visitor)
                    throws java.io.IOException
        Accepts the visitor and calls visit method on the visitor accordingly
        Specified by:
        accept in class AbstractSiteData
        Parameters:
        visitor -
        Throws:
        java.io.IOException - if something fishy happens to the stream.