All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.formedit.FormResourceEditor

java.lang.Object
   |
   +----w3c.tools.store.AttributeHolder
           |
           +----w3c.tools.store.Resource
                   |
                   +----w3c.jigsaw.resources.HTTPResource
                           |
                           +----w3c.jigsaw.formedit.FormResourceEditor

public class FormResourceEditor
extends HTTPResource
implements ResourceLocker

Constructor Index

 o FormResourceEditor()

Method Index

 o clone()
Clone the generic form based resource editor.
 o get(Request)
If a get is performed directly on this resource, edit the root.
 o getNextURLPart()
Generate a new uniq identifier for the editor's resource.
 o initialize(Object[])
initialize this resource editor.
 o lookup(LookupState, LookupResult)
lookup a resource in the editor space.
 o lookupTarget(HTTPResource, LookupState)
Lookup the target we want to edit in the server space.
 o notifyResourceLockBreak(Resource)
Resource locker implementation - This resource is going down.

Constructors

 o FormResourceEditor
 public FormResourceEditor()

Methods

 o clone
 public Object clone() throws CloneNotSupportedException
Clone the generic form based resource editor.

Overrides:
clone in class Object
 o getNextURLPart
 protected String getNextURLPart()
Generate a new uniq identifier for the editor's resource.

 o notifyResourceLockBreak
 public synchronized void notifyResourceLockBreak(Resource r)
Resource locker implementation - This resource is going down.

Parameters:
resource - The resource going down.
 o lookupTarget
 public HTTPResource lookupTarget(HTTPResource resource,
                                  LookupState state) throws HTTPException
Lookup the target we want to edit in the server space.

Parameters:
state - A lookup state to pursue to find the target.
Returns:
An instance of Resource, or null.
 o lookup
 public boolean lookup(LookupState ls,
                       LookupResult lr) throws HTTPException
lookup a resource in the editor space. If we have started an editor for the resource, relocate to it, otherwise create a new ediutor, install it, and return it.

Parameters:
state - The current lookup state.
Throws: HTTPException
If something wen't wrong, or if a relocation is needed.
Overrides:
lookup in class HTTPResource
 o get
 public Reply get(Request request) throws HTTPException
If a get is performed directly on this resource, edit the root.

Parameters:
request - The request to handle.
Overrides:
get in class HTTPResource
 o initialize
 public void initialize(Object values[])
initialize this resource editor.

Parameters:
values - The default attribute values.
Overrides:
initialize in class AttributeHolder

All Packages  Class Hierarchy  This Package  Previous  Next  Index