Package org.apache.bsf.util

Examples of org.apache.bsf.util.ObjectRegistry


     * (non-Javadoc)
     * @see xdoclet.templateutil.SubTemplateEngine#getVariable(java.lang.String)
     */
    public Object getVariable(String name)
    {
        ObjectRegistry objreg = bsfManager.getObjectRegistry();

        return objreg.lookup(name);
    }
View Full Code Here


     */
    public void setVariable(String name, Object value)
    {
        // can't store null value in BSF registry
        if (value != null) {
            ObjectRegistry objreg = bsfManager.getObjectRegistry();

            objreg.register(name, value);
        }
    }
View Full Code Here

     * (non-Javadoc)
     * @see xdoclet.templateutil.SubTemplateEngine#clearVariables()
     */
    public void clearVariables()
    {
        bsfManager.setObjectRegistry(new ObjectRegistry());
    }
View Full Code Here

TOP

Related Classes of org.apache.bsf.util.ObjectRegistry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.