package railo.runtime.type;

import railo.runtime.exp.PageException;

/**
 * Wraps a other Object
 */
public interface ObjectWrap {

    /**
     * returns embeded Object EL
     * @return embeded Object
     */
    public Object getEmbededObject(Object defaultValue);

    /**
     * returns embeded Object 
     * @return embeded Object
     * @throws PageException
     */
    public Object getEmbededObject() throws PageException;
    

}
