6 Replies Latest reply on May 29, 2009 11:12 AM by Matt Kohanek

    Does TreeNode hold multiple values?

    Matt Kohanek Novice

      I have finally finished the java that iterates through the xml and can pull out the text values. So lets say I have an tag that has 5 values - 1, 2 ,3 , 4 , 5.

      If I do something like

      for (Device device : deviceCollection.getDevices()) {
       String x = null;
       x = device.getDeviceId();
       TreeNode x;
       x.append(x);
       }
      


      I know that code is not correct completely but you get my meaning. Will TreeNode x hold all of those values which I will then be able to bind to a recursive tree node adaptor? Or shoudl I use something other than a TreeNode value?