Package org.jasig.portal.container.om.servlet

Examples of org.jasig.portal.container.om.servlet.ResourceEnvRefImpl


        for (int i = 0; i < resourceEnvRefNL.getLength(); i++) {
            Element resourceEnvRefE = (Element)resourceEnvRefNL.item(i);
            DescriptionSet descriptions = getDescriptions(resourceEnvRefE);
            String resourceEnvRefName = XML.getChildElementText(resourceEnvRefE, "resource-env-ref-name");
            String resourceEnvRefType = XML.getChildElementText(resourceEnvRefE, "resource-env-ref-type");
            ResourceEnvRefImpl resourceEnvRef = new ResourceEnvRefImpl();
            resourceEnvRef.setDescriptions(descriptions);
            resourceEnvRef.setResourceEnvRefName(resourceEnvRefName);
            resourceEnvRef.setResourceEnvRefType(resourceEnvRefType);
            resourceEnvRefs[i] = resourceEnvRef;
        }
        return resourceEnvRefs;
    }
View Full Code Here


       
        // <resource-env-ref>
        ResourceEnvRefImpl[] resourceEnvRefs = webAppImpl.getResourceEnvRefs();
        if (resourceEnvRefs != null) {
            for (int i = 0; i < resourceEnvRefs.length; i++) {
                ResourceEnvRefImpl resourceEnvRef = resourceEnvRefs[i];
                Element resourceEnvRefE = doc.createElement("resource-env-ref");
                addDescriptions(resourceEnvRefE, resourceEnvRef.getDescriptions());
                addTextElement(resourceEnvRefE, "resource-env-ref-name", resourceEnvRef.getResourceEnvRefName());
                addTextElement(resourceEnvRefE, "resource-env-ref-type", resourceEnvRef.getResourceEnvRefType());
                webAppE.appendChild(resourceEnvRefE);
            }       
        }
       
        // <resource-ref>
View Full Code Here

TOP

Related Classes of org.jasig.portal.container.om.servlet.ResourceEnvRefImpl

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.