
com.github.fge.uritemplate.vars.values.VariableValue Maven / Gradle / Ivy
package com.github.fge.uritemplate.vars.values;
import java.util.List;
import java.util.Map;
public abstract class VariableValue
{
protected final ValueType type;
protected VariableValue(final ValueType type)
{
this.type = type;
}
public final ValueType getType()
{
return type;
}
public String getScalarValue()
{
throw new IllegalStateException();
}
public List getListValue()
{
throw new IllegalStateException();
}
public Map getMapValue()
{
throw new IllegalStateException();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy