All Packages Class Hierarchy This Package Previous Next Index
Class org.w3c.jigsaw.servlet.ServletIndexer
java.lang.Object
|
+----org.w3c.tools.resources.AttributeHolder
|
+----org.w3c.tools.resources.Resource
|
+----org.w3c.tools.resources.indexer.SampleResourceIndexer
|
+----org.w3c.jigsaw.servlet.ServletIndexer
- public class ServletIndexer
- extends SampleResourceIndexer
-
ServletIndexer()
-
-
copyDefs(Hashtable, Hashtable)
- Copy one hastable in another one.
-
createFileResource(File, RequestInterface, String, Hashtable)
- Create a default file resource for this file (that exists).
-
createVirtualResource(File, String, Hashtable)
- Try to create a virtual resource if the real (physical) resource
is not there.
-
getIndexedFileName(String)
-
ServletIndexer
public ServletIndexer()
copyDefs
protected void copyDefs(Hashtable fromdefs,
Hashtable toDefs)
- Copy one hastable in another one.
- Parameters:
- fromdefs - The source
- todefs - The destination
createFileResource
protected Resource createFileResource(File directory,
RequestInterface req,
String name,
Hashtable defs)
- Create a default file resource for this file (that exists).
- Parameters:
- directory - The directory of the file.
- name - The name of the file.
- defs - A set of default attribute values.
- Returns:
- An instance of Resource, or null if
we were unable to create it.
- Overrides:
- createFileResource in class SampleResourceIndexer
createVirtualResource
protected Resource createVirtualResource(File directory,
String name,
Hashtable defs)
- Try to create a virtual resource if the real (physical) resource
is not there.
- Parameters:
- directory - The directory the file is in.
- name - The name of the file.
- defs - Any default attribute values that should be provided
to the created resource at initialization time.
- Returns:
- A Resource instance, or null if the given
file can't be truned into a resource given our configuration
database.
- Overrides:
- createVirtualResource in class SampleResourceIndexer
getIndexedFileName
protected String getIndexedFileName(String name)
- Overrides:
- getIndexedFileName in class SampleResourceIndexer
All Packages Class Hierarchy This Package Previous Next Index