    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

##

FormResourceEditor()

##

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

##

FormResourceEditor

      public FormResourceEditor()

##

clone

      public Object clone() throws CloneNotSupportedException

  Clone the generic form based resource editor.
  Overrides:
    clone in class Object

getNextURLPart

      protected String getNextURLPart()

  Generate a new uniq identifier for the editor's resource.

notifyResourceLockBreak

      public synchronized void notifyResourceLockBreak(Resource r)

  Resource locker implementation - This resource is going down.
  Parameters:
    resource - The resource going down.

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.

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

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

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