Blame | Last modification | View Log | RSS feed
/** Created on 31/03/2005*/package DMS;import org.w3c.dom.Node;/*** @author mtayler*/public class projectItem {private String FProjectName;private String FProjectLogo;private templateList templates;public projectItem(Node root) {FProjectName = XMLParser.findNodeValue(root,"project-name");FProjectLogo = DMSUtils.NVL(XMLParser.findNodeValue(root,"project-logo"),"default.gif");Node templateNode = XMLParser.findNode(root,"template-list");templates = new templateList(templateNode);}/*** @return Returns the fProjectName.*/public String getName() {return FProjectName;}/*** @return Returns the templates.*/public templateList getTemplates() {return templates;}/*** @return Returns the templates by name.*/public templateItem getTemplateByName(String name) {return templates.getTemplateByName(name);}/*** @return Returns the template names.*/public String[] getTemplateNames() {return templates.getTemplateNames();}/*** @return Returns the fProjectLogo.*/public String getProjectLogo() {return FProjectLogo;}}