Examples of WelcomeFileListImpl


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

            }
        }
       
        // <welcome-file-list>
       
        WelcomeFileListImpl welcomeFiles = webAppImpl.getWelcomeFiles();
        if (welcomeFiles != null) {
            Element welcomeFileListE = doc.createElement("welcome-file-list");
            for (Iterator iter = welcomeFiles.iterator(); iter.hasNext();) {
                String welcomeFile = (String)iter.next();
                addTextElement(welcomeFileListE, "welcome-file", welcomeFile);
            }
            webAppE.appendChild(welcomeFileListE);
        }
View Full Code Here

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

        }
        return mimeMappings;
    }   
   
    private WelcomeFileListImpl getWelcomeFiles(Element e) { 
        WelcomeFileListImpl welcomeFileList = null;
        NodeList welcomeFileListNL = e.getElementsByTagName("welcome-file-list");
        if (welcomeFileListNL.getLength() > 0) {
            welcomeFileList = new WelcomeFileListImpl();
            NodeList welcomeFileNL = e.getElementsByTagName("welcome-file");
            for (int i = 0; i < welcomeFileNL.getLength(); i++) {
                Element welcomeFileE = (Element)welcomeFileNL.item(i);
                welcomeFileList.add(XML.getElementText(welcomeFileE));
            }
        }
        return welcomeFileList;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.