Package org.apache.cocoon.portal.event.impl

Examples of org.apache.cocoon.portal.event.impl.LinkEvent


                        LinkService linkService = null;
                        try {
                            linkService = (LinkService)this.manager.lookup(LinkService.ROLE);
       
                            // create event link
                            LinkEvent event = new LinkEvent(link);
                            String eventLink = linkService.getLinkURI(event);
       
                            // insert event link
                            attr.setValue(index, eventLink);
                        } catch (ComponentException e) {
                            throw new SAXException(e);
                        } finally {
                            this.manager.release(linkService);
                        }
                    }
                }
               
                String eventLink = null;
                DocumentFragment fragment = null;
                               
                // process element that contains link
                if (this.elementName != null && name.equals(this.elementName)) {
                    String link = this.endTextRecording();

                    LinkService linkService = null;
                    try {
                        linkService = (LinkService)this.manager.lookup(LinkService.ROLE);
       
                        // create event link
                        LinkEvent event = new LinkEvent(link);
                        eventLink = linkService.getLinkURI(event);
                    } catch (ComponentException e) {
                        throw new SAXException(e);
                    } finally {
                        this.manager.release(linkService);
View Full Code Here

TOP

Related Classes of org.apache.cocoon.portal.event.impl.LinkEvent

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.