org.xmlecho.palomar.core
Class ECHORequestImpl

java.lang.Object
  extended byorg.xmlecho.palomar.dom.NodeBase
      extended byorg.xmlecho.palomar.dom.ParentNode
          extended byorg.xmlecho.palomar.dom.NamespacedNode
              extended byorg.xmlecho.palomar.dom.ElementNode
                  extended byorg.xmlecho.palomar.core.DOMElementImpl
                      extended byorg.xmlecho.palomar.core.ECHORequestImpl
All Implemented Interfaces:
ECHORequest, org.w3c.dom.Element, org.xmlecho.palomar.dom.ElementEx, org.w3c.dom.Node, org.xmlecho.palomar.dom.NodeEx, org.w3c.dom.NodeList, org.xmlecho.palomar.dom.XmlWritable
Direct Known Subclasses:
ECHORequestServerSide

public class ECHORequestImpl
extends DOMElementImpl
implements ECHORequest

the base class for representing all elements in the ECHO protocol.


Field Summary
 
Fields inherited from class org.xmlecho.palomar.dom.ElementNode
_namespaceURI, name
 
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
 
Constructor Summary
ECHORequestImpl()
           
 
Method Summary
 void eval(org.xml.sax.ContentHandler responseTarget, ECHOContext context)
          evaluate the request to an empty element.
 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 class org.xmlecho.palomar.dom.ElementNode
appendChild, cloneNode, getAppSelectVal, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getIdAttributeName, getIndexOf, getInheritedAttribute, getLanguage, getLastChild, getLength, getLocalName, getLocation, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTagName, getUserObject, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, insertBefore, isReadonly, isSupported, item, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, removeWhiteSpaces, replaceChild, setAppSelectVal, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttributeName, setLocation, setNamespaceURI, setNodeValue, setPrefix, setReadonly, setTag, setUserObject, supports, toString, trimToSize, write, writeChildrenXml, writeXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 
Methods inherited from interface org.xmlecho.palomar.dom.NodeEx
getAppSelectVal, getIndexOf, getInheritedAttribute, getLanguage, isReadonly, setAppSelectVal
 
Methods inherited from interface org.xmlecho.palomar.dom.XmlWritable
writeChildrenXml
 

Constructor Detail

ECHORequestImpl

public ECHORequestImpl()
Method Detail

eval

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

Specified by:
eval in interface ECHORequest
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

Specified by:
eval in interface ECHORequest
Parameters:
responseTarget - a SAX2 ContentHandler which will receive the response
Throws:
java.lang.Exception

getURI

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

Specified by:
getURI in interface ECHORequest