Package org.apache.pluto.container.om.portlet

Examples of org.apache.pluto.container.om.portlet.InitParam


        }
        if (src.initParam != null)
        {
            for (InitParamType p : src.initParam)
            {
                InitParam param = target.addInitParam(p.name);
                param.setParamValue(p.value);
                if (p.description != null)
                {
                    for (DescriptionType d : p.description)
                    {
                        Description desc = param.addDescription(d.lang);
                        desc.setDescription(d.value);
                    }
                }
            }
        }
View Full Code Here


        }
        if (src.initParam != null)
        {
            for (InitParamType p : src.initParam)
            {
                InitParam param = target.addInitParam(p.name);
                param.setParamValue(p.value);
                if (p.description != null)
                {
                    for (DescriptionType d : p.description)
                    {
                        Description desc = param.addDescription(d.lang);
                        desc.setDescription(d.value);
                    }
                }
            }
        }
View Full Code Here

            throw new IllegalArgumentException("Parameter name == null");
        }

        Iterator<? extends InitParam> parms = portlet.getInitParams().iterator();
        while(parms.hasNext()) {
            InitParam param = parms.next();
            if (param.getParamName().equals(name)) {
                return param.getParamValue();
            }
        }
        return null;
    }
View Full Code Here

TOP

Related Classes of org.apache.pluto.container.om.portlet.InitParam

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.