org.apache.tuscany.sca.cpp.tools.services
Interface DomNodeHandler
- All Known Implementing Classes:
- GenericDomNodeHandler
- public interface DomNodeHandler
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. |
ELEMENT
public static final int ELEMENT
- See Also:
- Constant Field Values
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 consumedcontextXPath
- the XPath to this nodehandlers
- The map from element name to node handlerparameters
- 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