    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class w3c.jigsaw.indexer.Directory

    java.lang.Object
       |
       +----w3c.jigsaw.resources.AttributeHolder
               |
               +----w3c.jigsaw.resources.Resource
                       |
                       +----w3c.jigsaw.resources.HTTPResource
                               |
                               +----w3c.jigsaw.indexer.Directory

public class Directory
extends HTTPResource

Directory description objects. Those objects are template that allows the server to know how to index new directories on the fly, through the resourceIndexer.

See Also:
  ResourceIndexer

##

ATTR_GENERIC
  Attribute index - Does this applies to directory below this one.
ATTR_TEMPLATE
  Attribute index - The template for this directory.

##

Directory()

##

getGenericFlag()
  Get the generic flag value.
getTemplate()
  Get the default directory target class.
initialize(Object[])
  Initialize a template directory.
makeDirectory(httpd, String, Class)
  Create a new Directory template.
setTemplate(HTTPResource)

##

ATTR_GENERIC

      protected static int ATTR_GENERIC

  Attribute index - Does this applies to directory below this one.

ATTR_TEMPLATE

      protected static int ATTR_TEMPLATE

  Attribute index - The template for this directory.

##

Directory

      public Directory()

##

getTemplate

      public HTTPResource getTemplate()

  Get the default directory target class.

setTemplate

      public void setTemplate(HTTPResource template)

getGenericFlag

      public boolean getGenericFlag()

  Get the generic flag value.

initialize

      public void initialize(Object values[])

  Initialize a template directory.
  Parameters:
    values - Default attribute values.
  Overrides:
    initialize in class AttributeHolder

makeDirectory

      public static Directory makeDirectory(httpd server,
                                            String name,
                                            Class cls)

  Create a new Directory template.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index