org.apache.tuscany.sca.cpp.tools.services
Interface DomNodeHandler

All Known Implementing Classes:
GenericDomNodeHandler

public interface DomNodeHandler


Field Summary
static int ELEMENT
           
 
Method Summary
 void handleNode(org.w3c.dom.Node node, java.lang.String contextXPath, java.util.Map handlers, java.util.Map parameters)
          An interface for classes that can process DOM nodes.
 

Field Detail

ELEMENT

public static final int ELEMENT
See Also:
Constant Field Values
Method Detail

handleNode

public void handleNode(org.w3c.dom.Node node,
                       java.lang.String contextXPath,
                       java.util.Map handlers,
                       java.util.Map parameters)
An interface for classes that can process DOM nodes.

Parameters:
node - the DOM node being consumed
contextXPath - the XPath to this node
handlers - The map from element name to node handler
parameters - A map of parameters - this is often used by a handler to place a name-value pair, the name is often an Xpath representation of the location of the data in the DOM but handlers are free to use whatever they like - the contextXpath is generated as an Xpath prefix for those handlers that wish to use it.


Copyright 2005 The Apache Software Foundation and Copyright IBM Corp. 2005 All Rights Reserved