net.sf.xmlform.expression.NullValue Maven / Gradle / Ivy
package net.sf.xmlform.expression;
import net.sf.xmlform.expression.impl.AbstractValue;
/**
* @author Liu Zhikun
*/
public class NullValue extends AbstractValue implements Value {
static public NullValue NULL_VALUE=new NullValue();
private NullValue(){
}
public int compareTo(Value obj) {
if(obj==null)
return 0;
if(obj instanceof NullValue)
return 0;
return -1;
}
public Object getValue() {
return null;
}
public String toString() {
return "";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy