org.xmlecho.palomar
Interface ECHORequest

All Superinterfaces:
org.w3c.dom.Element, org.w3c.dom.Node
All Known Implementing Classes:
ECHORequestImpl

public interface ECHORequest
extends org.w3c.dom.Element

The Interface for all elements in ECHO. A W3C DOM with the added method "eval()"


Field Summary
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Method Summary
 void eval(org.xml.sax.ContentHandler responseTarget, ECHOContext context)
          evaluate the request, writing results to responseTarget
 void eval(org.xml.sax.ContentHandler responseTarget, ECHOContext context, org.xml.sax.InputSource s)
          evaluate the request
 java.lang.String getURI(ECHOContext context)
          returns the base URI that should be associated with the XML document which would result from evaluating this ECHORequest in the given context
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 

Method Detail

eval

public void eval(org.xml.sax.ContentHandler responseTarget,
                 ECHOContext context)
          throws java.lang.Exception
evaluate the request, writing results to responseTarget

Parameters:
responseTarget - a SAX2 ContentHandler which will receive the response
Throws:
java.lang.Exception

eval

public void eval(org.xml.sax.ContentHandler responseTarget,
                 ECHOContext context,
                 org.xml.sax.InputSource s)
          throws java.lang.Exception
evaluate the request

Parameters:
responseTarget - a SAX2 ContentHandler which will receive the response
Throws:
java.lang.Exception

getURI

public java.lang.String getURI(ECHOContext context)
returns the base URI that should be associated with the XML document which would result from evaluating this ECHORequest in the given context