org.constretto.model.CValue Maven / Gradle / Ivy
package org.constretto.model;
import java.util.Set;
/**
* @author Kaare Nilsen
*/
public abstract class CValue {
public abstract Set referencedKeys();
public boolean containsVariables() {
return !referencedKeys().isEmpty();
}
public boolean isArray(){
return this instanceof CArray;
}
public boolean isObject(){
return this instanceof CObject;
}
public boolean isPrimitive(){
return this instanceof CPrimitive;
}
public abstract void replace(String key, String resolvedValue);
}