Xindice API

org.apache.xindice.server.methods
Class PUT

java.lang.Object
  |
  +--org.apache.xindice.util.SimpleConfigurable
        |
        +--org.apache.xindice.server.SimpleScriptComponent
              |
              +--org.apache.xindice.server.SimpleScript
                    |
                    +--org.apache.xindice.server.methods.PUT
All Implemented Interfaces:
Configurable, Disposable, KernelAccess, Named, Script, ScriptComponent, Versioning

public final class PUT
extends SimpleScript

PUT probably needs serious fixing


Fields inherited from class org.apache.xindice.server.SimpleScriptComponent
NAME, PACKAGE
 
Fields inherited from interface org.apache.xindice.server.Script
ACCESS_ADMIN, ACCESS_DESIGN, ACCESS_EXECUTE, ACCESS_NONE, ACCESS_READ, ACCESS_WRITE
 
Constructor Summary
PUT()
           
 
Method Summary
 int getAccessMethods()
          getAccessMethods retrieves the access methods that someone executing this Script will require access to in order to actually run the Script.
 void run(Gateway gateway)
          run executes the Script, passing a Gateway object to it to serve as a resource provider and server gateway.
 void setConfig(Configuration config)
          setConfig sets the configuration information for the Configurable object instance.
 
Methods inherited from class org.apache.xindice.server.SimpleScriptComponent
dispose, getName, getPackageName, getVersion, setKernel
 
Methods inherited from class org.apache.xindice.util.SimpleConfigurable
getConfig
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.xindice.server.Versioning
getPackageName, getVersion
 
Methods inherited from interface org.apache.xindice.util.Named
getName
 

Constructor Detail

PUT

public PUT()
Method Detail

setConfig

public void setConfig(Configuration config)
               throws XindiceException
Description copied from interface: Configurable
setConfig sets the configuration information for the Configurable object instance.
Overrides:
setConfig in class SimpleConfigurable
Following copied from interface: org.apache.xindice.util.Configurable
Parameters:
config - The configuration Node

run

public void run(Gateway gateway)
Description copied from interface: Script
run executes the Script, passing a Gateway object to it to serve as a resource provider and server gateway.
Overrides:
run in class SimpleScript
Following copied from interface: org.apache.xindice.server.Script
Parameters:
gateway - The Gateway object to process

getAccessMethods

public int getAccessMethods()
Description copied from interface: Script
getAccessMethods retrieves the access methods that someone executing this Script will require access to in order to actually run the Script. The returned value will be an ORed (|) result that includes all of the applicable access methods utilized.
Overrides:
getAccessMethods in class SimpleScript
Following copied from interface: org.apache.xindice.server.Script
Returns:
The access methods

Xindice API

Copyright (c) 1999-2001 The Apache Software Foundation