org.modeldriven.fuml.xmi
Class XmiChildFinder

java.lang.Object
  extended by org.modeldriven.fuml.xmi.XmiChildFinder
All Implemented Interfaces:
XmiNodeVisitor

public class XmiChildFinder
extends Object
implements XmiNodeVisitor

Class that leverages the Visitor pattern to locate descendant node(s) within an XmiNode hierarchy.

Author:
Scott Cinnamond

Constructor Summary
XmiChildFinder(String localName)
           
 
Method Summary
 XmiNode getResult()
           
 void visit(XmiNode target, XmiNode source, String sourceKey, XmiNodeVisitorStatus status, int level)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmiChildFinder

public XmiChildFinder(String localName)
Method Detail

visit

public void visit(XmiNode target,
                  XmiNode source,
                  String sourceKey,
                  XmiNodeVisitorStatus status,
                  int level)
Specified by:
visit in interface XmiNodeVisitor

getResult

public XmiNode getResult()


Copyright © 2012. All Rights Reserved.