project
Class ExampleServlet.Executable

java.lang.Object
  |
  +--com.sun.xml.tree.NodeBase
        |
        +--com.sun.xml.tree.ParentNode
              |
              +--com.sun.xml.tree.ElementNode
                    |
                    +--project.ExampleServlet.Executable
Direct Known Subclasses:
ExampleServlet.Uppercase

public static class ExampleServlet.Executable
extends com.sun.xml.tree.ElementNode

Base class for simple execution framework.


Constructor Summary
ExampleServlet.Executable()
           
 
Method Summary
 void execute()
          In this simple framework, elements may optionally "execute" in an implicit context.
 
Methods inherited from class com.sun.xml.tree.ElementNode
cloneNode, getAttribute, getAttribute, getAttributeNode, getAttributeNode, getAttributes, getIdAttributeName, getLocalName, getNamespace, getNodeName, getNodeType, getPrefix, getTagName, getUserObject, normalize, removeAttribute, removeAttributeNode, removeWhiteSpaces, setAttribute, setAttributeNode, setIdAttributeName, setPrefix, setReadonly, setTag, setUserObject, toString, trimToSize, write, writeXml
 
Methods inherited from class com.sun.xml.tree.ParentNode
appendChild, doneChild, doneParse, getElementsByTagName, getFirstChild, getIndexOf, getLastChild, getLength, hasChildNodes, insertBefore, item, removeChild, replaceChild, startParse, writeChildrenXml
 
Methods inherited from class com.sun.xml.tree.NodeBase
getChildNodes, getInheritedAttribute, getInheritedAttribute, getLanguage, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, isReadonly, setNodeValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExampleServlet.Executable

public ExampleServlet.Executable()
Method Detail

execute

public void execute()
In this simple framework, elements may optionally "execute" in an implicit context. The default implementation of this execution does nothing -- causing input to be echoed.

A more functional framework would pass explicit context in to the execution, so that more interesting work could be performed. For example, per-client session state will often be preserved, and the path info for the request will identify some particular object.