Package org.jasig.portal.container.om.common

Examples of org.jasig.portal.container.om.common.LanguageSetImpl


            title = XML.getChildElementText(portletInfoE, "title");
            shortTitle = XML.getChildElementText(portletInfoE, "short-title");
            keywords = XML.getChildElementText(portletInfoE, "keywords");
        }
       
        LanguageSetImpl languages = new LanguageSetImpl(title, shortTitle, keywords, resources);
        languages.setClassLoader(Thread.currentThread().getContextClassLoader());
        NodeList supportedLocaleNL = portletE.getElementsByTagName("supported-locale");
        for (int i = 0; i < supportedLocaleNL.getLength(); i += 1) {
            Element supportedLocaleE = (Element)supportedLocaleNL.item(i);
            languages.addLocale(LocaleManager.parseLocale(XML.getElementText(supportedLocaleE)));
        }
        return languages;
    }
View Full Code Here

TOP

Related Classes of org.jasig.portal.container.om.common.LanguageSetImpl

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.