org.apache.tuscany.sca.cpp.tools.services
Class ReferenceDomNodeHandler
java.lang.Object
org.apache.tuscany.sca.cpp.tools.services.GenericDomNodeHandler
org.apache.tuscany.sca.cpp.tools.services.ReferenceDomNodeHandler
- All Implemented Interfaces:
- DomNodeHandler
- public class ReferenceDomNodeHandler
- extends GenericDomNodeHandler
The purpose of this class is to process a element in a
componentType file and then trigger a call to the method in ServicesGenerator
to process the interface header file
Method Summary |
void |
handleNode(org.w3c.dom.Node node,
java.lang.String contextXPath,
java.util.Map handlers,
java.util.Map parameters)
This method will place the attributes in this node into the parameter
map keyed by the XPath and recursively continue processing for any
sub-elements of the node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReferenceDomNodeHandler
public ReferenceDomNodeHandler()
handleNode
public void handleNode(org.w3c.dom.Node node,
java.lang.String contextXPath,
java.util.Map handlers,
java.util.Map parameters)
- Description copied from class:
GenericDomNodeHandler
- This method will place the attributes in this node into the parameter
map keyed by the XPath and recursively continue processing for any
sub-elements of the node.
- Specified by:
handleNode
in interface DomNodeHandler
- Overrides:
handleNode
in class GenericDomNodeHandler
- 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