Package org.apache.cocoon.portal.tools

Examples of org.apache.cocoon.portal.tools.PortalToolFunction


      PortalTool ct = pm.getTool(selected);
      if(ct != null) {
        super.startElement("", "tool-functions", "tool-functions", a);
        Collection funs = ct.getFunctions();
        for(Iterator it = funs.iterator();it.hasNext();) {
            PortalToolFunction ptf = (PortalToolFunction) it.next();
            AttributesImpl attr = new AttributesImpl();
            attr.addCDATAAttribute("parameter", "tools/plugins/" + ct.getId() + "/" + ptf.getFunction());
            attr.addCDATAAttribute("name", ptf.getName());
            attr.addCDATAAttribute("http://apache.org/cocoon/i18n/2.1", "attr", "i18n:attr", "name");            super.startElement("", "function", "function", attr);
            super.endElement("", "function", "function");
        }
        super.endElement("", "tool-functions", "tool-functions");
      }
View Full Code Here


      PortalTool ct = pm.getTool(selected);
      if(ct != null) {
        super.startElement("", "tool-functions", "tool-functions", a);
        Collection funs = ct.getFunctions();
        for(Iterator it = funs.iterator();it.hasNext();) {
            PortalToolFunction ptf = (PortalToolFunction) it.next();
            AttributesImpl attr = new AttributesImpl();
            attr.addCDATAAttribute("parameter", "tools/plugins/" + ct.getId() + "/" + ptf.getFunction());
            attr.addCDATAAttribute("name", ptf.getName());
            attr.addCDATAAttribute("http://apache.org/cocoon/i18n/2.1", "attr", "i18n:attr", "name");            super.startElement("", "function", "function", attr);
            super.endElement("", "function", "function");
        }
        super.endElement("", "tool-functions", "tool-functions");
      }
View Full Code Here

      PortalTool ct = pm.getTool(selected);
      if(ct != null) {
        super.startElement("", "tool-functions", "tool-functions", a);
        Collection funs = ct.getFunctions();
        for(Iterator it = funs.iterator();it.hasNext();) {
            PortalToolFunction ptf = (PortalToolFunction) it.next();
            AttributesImpl attr = new AttributesImpl();
            attr.addCDATAAttribute("parameter", "tools/plugins/" + ct.getId() + "/" + ptf.getFunction());
            attr.addCDATAAttribute("name", ptf.getName());
            attr.addCDATAAttribute("http://apache.org/cocoon/i18n/2.1", "attr", "i18n:attr", "name");            super.startElement("", "function", "function", attr);
            super.endElement("", "function", "function");
        }
        super.endElement("", "tool-functions", "tool-functions");
      }
View Full Code Here

TOP

Related Classes of org.apache.cocoon.portal.tools.PortalToolFunction

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.