All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.indexer.Directory

java.lang.Object
   |
   +----w3c.tools.store.AttributeHolder
           |
           +----w3c.tools.store.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

Variable Index

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

Constructor Index

 o Directory()

Method Index

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

Variables

 o ATTR_GENERIC
 protected static int ATTR_GENERIC
Attribute index - Does this applies to directory below this one.

 o ATTR_TEMPLATE
 protected static int ATTR_TEMPLATE
Attribute index - The template for this directory.

Constructors

 o Directory
 public Directory()

Methods

 o getTemplate
 public HTTPResource getTemplate()
Get the default directory target class.

 o setTemplate
 public void setTemplate(HTTPResource template)
 o getGenericFlag
 public boolean getGenericFlag()
Get the generic flag value.

 o initialize
 public void initialize(Object values[])
Initialize a template directory.

Parameters:
values - Default attribute values.
Overrides:
initialize in class AttributeHolder
 o 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