1 16 19 20 package org.apache.pluto.portalImpl.aggregation; 21 22 import java.io.IOException ; 23 import java.util.Collection ; 24 import java.util.Collections ; 25 26 import javax.servlet.ServletConfig ; 27 import javax.servlet.ServletException ; 28 import javax.servlet.http.HttpServletRequest ; 29 import javax.servlet.http.HttpServletResponse ; 30 31 import org.apache.pluto.portalImpl.core.PortalURL; 32 33 public abstract class AbstractFragmentSingle extends AbstractFragment 34 { 35 36 public AbstractFragmentSingle(String id, 37 ServletConfig config, 38 org.apache.pluto.portalImpl.aggregation.Fragment parent, 39 org.apache.pluto.portalImpl.om.page.Fragment fragDesc, 40 org.apache.pluto.portalImpl.aggregation.navigation.Navigation navigation) 41 throws Exception 42 { 43 super(id, config, parent, fragDesc, navigation); 44 } 45 46 public void preService(HttpServletRequest request, HttpServletResponse response) 47 throws ServletException , IOException 48 { 49 } 50 51 public void postService(HttpServletRequest request, HttpServletResponse response) 52 throws ServletException , IOException 53 { 54 } 55 56 public Collection getChildFragments() 57 { 58 return Collections.EMPTY_LIST; 59 } 60 61 public void addChild(org.apache.pluto.portalImpl.aggregation.Fragment child) 62 { 63 } 65 66 abstract public void createURL(PortalURL url); 67 68 abstract public boolean isPartOfURL(PortalURL url); 69 70 } 71 | Popular Tags |