All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.constretto.model.CValue Maven / Gradle / Ivy

The newest version!
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);


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy