org.apache.tuscany.sca.cpp.tools.services
Class ComponentDomNodeHandler

java.lang.Object
  extended byorg.apache.tuscany.sca.cpp.tools.services.GenericDomNodeHandler
      extended byorg.apache.tuscany.sca.cpp.tools.services.ComponentDomNodeHandler
All Implemented Interfaces:
DomNodeHandler

public class ComponentDomNodeHandler
extends GenericDomNodeHandler

This class will do the required processing for the element of a sca module or fragment file.


Field Summary
 
Fields inherited from interface org.apache.tuscany.sca.cpp.tools.services.DomNodeHandler
ELEMENT
 
Constructor Summary
ComponentDomNodeHandler()
           
 
Method Summary
 void handleNode(org.w3c.dom.Node node, java.lang.String contextXPath, java.util.Map handlers, java.util.Map parameters)
          This method will do the "normal" processing and then trigger a call to processComponentNode.
 
Methods inherited from class org.apache.tuscany.sca.cpp.tools.services.GenericDomNodeHandler
handleChildElements, mapNodeToHandlerAndHandle, transferAttrsToParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentDomNodeHandler

public ComponentDomNodeHandler()
Method Detail

handleNode

public void handleNode(org.w3c.dom.Node node,
                       java.lang.String contextXPath,
                       java.util.Map handlers,
                       java.util.Map parameters)
This method will do the "normal" processing and then trigger a call to processComponentNode.

Specified by:
handleNode in interface DomNodeHandler
Overrides:
handleNode in class GenericDomNodeHandler
Parameters:
node - the node being processed
contextXPath - the XPath to the node
handlers - the map pf element names to DomNodeHandlers
parameters - a map of XPaths to parameters values found so far


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