org.xmlecho.palomar.core
Class CountRowsImpl

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
                          extended byorg.xmlecho.palomar.core.ECHORequestServerSide
                              extended byorg.xmlecho.palomar.core.CountRowsImpl
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

public class CountRowsImpl
extends ECHORequestServerSide

counts the elements at a given depth


Field Summary
 
Fields inherited from class org.xmlecho.palomar.core.ECHORequestServerSide
_logger, _sec, DEBUG
 
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
CountRowsImpl()
           
 
Method Summary
 void eval(org.xml.sax.ContentHandler responseTarget, ECHOContext context)
          Evaluate the request under the given context, sending the results to the responseTarget ContentHandler.
 
Methods inherited from class org.xmlecho.palomar.core.ECHORequestServerSide
addAttribute, endElement, errorResponse, evalBody, evalCopy, extendContext, getItem, getNamespacePrefix, getSecurityService, getSubRequest, getUser, log, startElement, startElement, writeException, writeException
 
Methods inherited from class org.xmlecho.palomar.core.ECHORequestImpl
eval, getURI
 
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

CountRowsImpl

public CountRowsImpl()
Method Detail

eval

public void eval(org.xml.sax.ContentHandler responseTarget,
                 ECHOContext context)
          throws java.lang.Exception
Description copied from class: ECHORequestServerSide
Evaluate the request under the given context, sending the results to the responseTarget ContentHandler. This base class exhibits a default behavior, whis is to copy this element with its attributes to the output, and including the results of evaluating its children elements.

Specified by:
eval in interface ECHORequest
Overrides:
eval in class ECHORequestServerSide
Throws:
java.lang.Exception