Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public ProtocolTreeNode(String tag, KeyValue attributes[], ProtocolTreeNode children[])
- {
- this.tag = tag;
- this.attributes = attributes;
- this.children = children;
- data = null;
- }
- public ProtocolTreeNode(String tag, KeyValue attributes[], ProtocolTreeNode child)
- {
- this.tag = tag;
- this.attributes = attributes;
- children = (new ProtocolTreeNode[] {
- child
- });
- data = null;
- }
- public ProtocolTreeNode(String tag, KeyValue attributes[], String data)
- {
- this.tag = tag;
- this.attributes = attributes;
- children = null;
- this.data = data;
- }
- public ProtocolTreeNode(String tag, KeyValue attributes[])
- {
- this.tag = tag;
- this.attributes = attributes;
- children = null;
- data = null;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement