Advertisement
Guest User

Untitled

a guest
Feb 4th, 2012
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.99 KB | None | 0 0
  1.         public ProtocolTreeNode(String tag, KeyValue attributes[], ProtocolTreeNode children[])
  2.         {
  3.             this.tag = tag;
  4.             this.attributes = attributes;
  5.             this.children = children;
  6.             data = null;
  7.         }
  8.  
  9.         public ProtocolTreeNode(String tag, KeyValue attributes[], ProtocolTreeNode child)
  10.         {
  11.             this.tag = tag;
  12.             this.attributes = attributes;
  13.             children = (new ProtocolTreeNode[] {
  14.                 child
  15.             });
  16.             data = null;
  17.         }
  18.  
  19.         public ProtocolTreeNode(String tag, KeyValue attributes[], String data)
  20.         {
  21.             this.tag = tag;
  22.             this.attributes = attributes;
  23.             children = null;
  24.             this.data = data;
  25.         }
  26.  
  27.         public ProtocolTreeNode(String tag, KeyValue attributes[])
  28.         {
  29.             this.tag = tag;
  30.             this.attributes = attributes;
  31.             children = null;
  32.             data = null;
  33.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement