Added volume to client plus other fixes
[stereo.git] / DAAPLib / src / util / node / BooleanNode.java
blob6765cb686e44a03b2c9859b9c26204fcbb71561c
1 package util.node;
3 public class BooleanNode extends Node {
4 private final boolean value;
6 public BooleanNode(int code, boolean value) {
7 super(code);
8 this.value = value;
11 public boolean getValue(){
12 return value;
15 public String toString() {
16 return "<" + super.toString() + " value=\"" + value + "\" />";
19 @Override
20 public int visit(Visitor visitor) {
21 return visitor.visitBooleanNode(this);