Package org.apache.cocoon.portal.layout.impl

Examples of org.apache.cocoon.portal.layout.impl.Parameter


    throws SAXException {
        if (layout instanceof CompositeLayout) {
            AttributesImpl attributes = new AttributesImpl();
            Map parameter = layout.getParameters();
            for (Iterator iter = parameter.values().iterator(); iter.hasNext();) {
                Parameter param = (Parameter) iter.next();
                attributes.addCDATAAttribute(param.getName(), param.getValue());
            }
            XMLUtils.startElement(handler, this.getTagName(context), attributes);

            PortalService portalService = null;
            try {
View Full Code Here


    throws SAXException {

        AttributesImpl attributes = new AttributesImpl();
        Map parameter = layout.getParameters();
        for (Iterator iter = parameter.values().iterator(); iter.hasNext();) {
            Parameter param = (Parameter) iter.next();
            attributes.addCDATAAttribute(param.getName(), param.getValue());
        }
        XMLUtils.startElement(handler, this.getTagName(context), attributes);
        super.toSAX(context, layout, service, handler);
        XMLUtils.endElement(handler, this.getTagName(context));
View Full Code Here

            XMLUtils.startElement(handler, ITEM_STRING);
        } else {
            AttributesImpl attributes = new AttributesImpl();

            for (Iterator iter = parameters.values().iterator(); iter.hasNext();) {
                Parameter param = (Parameter) iter.next();
                attributes.addCDATAAttribute(param.getName(), param.getValue());
            }
            XMLUtils.startElement(handler, ITEM_STRING, attributes);
        }
        processLayout(layout, service, handler);
        XMLUtils.endElement(handler, ITEM_STRING);
View Full Code Here

    throws SAXException {
        final CopletInstanceData copletInstanceData = ((CopletLayout)layout).getCopletInstanceData();
        AttributesImpl attributes = new AttributesImpl();
        Map parameter = layout.getParameters();
        for (Iterator iter = parameter.values().iterator(); iter.hasNext();) {
            Parameter param = (Parameter) iter.next();
            attributes.addCDATAAttribute(param.getName(), param.getValue());
        }
        XMLUtils.startElement(contenthandler, this.getTagName(context), attributes);
        int status = copletInstanceData.getStatus();
        XMLUtils.createElement(contenthandler, "title", copletInstanceData.getCopletData().getTitle());
        XMLUtils.createElement(contenthandler, "status", "" + status);
View Full Code Here

TOP

Related Classes of org.apache.cocoon.portal.layout.impl.Parameter

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.