All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.jigsaw.cvs.ToolsListerFrame

java.lang.Object
   |
   +----org.w3c.tools.resources.AttributeHolder
           |
           +----org.w3c.tools.resources.Resource
                   |
                   +----org.w3c.tools.resources.FramedResource
                           |
                           +----org.w3c.tools.resources.ResourceFrame
                                   |
                                   +----org.w3c.tools.resources.ProtocolFrame
                                           |
                                           +----org.w3c.jigsaw.frames.HTTPFrame
                                                   |
                                                   +----org.w3c.jigsaw.frames.PostableFrame
                                                           |
                                                           +----org.w3c.jigsaw.cvs.ToolsListerFrame

public class ToolsListerFrame
extends PostableFrame
implements StructureChangedListener
Emit the content of its parent directory.


Constructor Index

 o ToolsListerFrame()

Method Index

 o getDirectoryListing(Request)
Reply with an HTML doc listing the resources of this directory.
 o getDirResourceRef()
 o getOtherResource(Request)
 o handle(Request, URLDecoder)
Handle the form submission, after posted data parsing.
 o registerResource(FramedResource)
Register a target resource.
 o resourceCreated(StructureChangedEvent)
Unused here.
 o resourceModified(StructureChangedEvent)
Unused here.
 o resourceRemoved(StructureChangedEvent)
A resource is about to be removed This handles the RESOURCE_REMOVED kind of events.
 o resourceUnloaded(StructureChangedEvent)

Constructors

 o ToolsListerFrame
 public ToolsListerFrame()

Methods

 o getDirResourceRef
 protected ResourceReference getDirResourceRef()
 o registerResource
 public void registerResource(FramedResource resource)
Register a target resource.

Overrides:
registerResource in class HTTPFrame
 o resourceModified
 public void resourceModified(StructureChangedEvent evt)
Unused here.

 o resourceCreated
 public void resourceCreated(StructureChangedEvent evt)
Unused here.

 o resourceUnloaded
 public void resourceUnloaded(StructureChangedEvent evt)
 o resourceRemoved
 public void resourceRemoved(StructureChangedEvent evt)
A resource is about to be removed This handles the RESOURCE_REMOVED kind of events.

Parameters:
evt - The event describing the change.
 o getDirectoryListing
 public synchronized Reply getDirectoryListing(Request request) throws ProtocolException, NotAProtocolException
Reply with an HTML doc listing the resources of this directory.

Overrides:
getDirectoryListing in class HTTPFrame
 o getOtherResource
 protected Reply getOtherResource(Request request) throws ProtocolException, NotAProtocolException
Overrides:
getOtherResource in class HTTPFrame
 o handle
 public Reply handle(Request request,
                     URLDecoder data) throws ProtocolException
Handle the form submission, after posted data parsing.

This method ought to be abstract, but for reasonable reason, it will just dump (parsed) the form content back to the client, so that it can be used for debugging.

Parameters:
request - The request proper.
data - The parsed data content.
Throws: ProtocolException
If form data processing failed.
Overrides:
handle in class PostableFrame
See Also:
URLDecoder

All Packages  Class Hierarchy  This Package  Previous  Next  Index