Advertisement
LocutusOfBorg

Lab2 iterator example

Nov 22nd, 2011
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.33 KB | None | 0 0
  1. Node n=item.getFirstChild();
  2.         while(n!=null)
  3.         {
  4.                 if(n.getNodeName().equals("SimpleActionReader"))
  5.                     SimpleAR = new SimpleActionReaderImpl(n, workflowReaderImpl, this);
  6.                 else
  7.                     if(n.getNodeName().equals("ProcessActionReader"))
  8.                         ProcessAR = new ProcessActionReaderImpl(n,this);   
  9.                 n=n.getNextSibling();
  10.         }  
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement