1 20 package org.enhydra.barracuda.core.comp; 21 22 import java.util.*; 23 import javax.servlet.*; 24 import javax.servlet.http.*; 25 import org.w3c.dom.*; 26 27 import org.enhydra.barracuda.plankton.data.*; 28 import org.enhydra.barracuda.core.event.*; 29 import org.enhydra.barracuda.core.view.*; 30 31 34 public interface ViewContext extends StateMap { 35 36 public static final String VIEW_CAPABILITIES = ViewContext.class.getName()+".ViewCapabilities"; 37 public static final String EVENT_CONTEXT = ViewContext.class.getName()+".EventContext"; 38 public static final String ELEMENT_FACTORY = ViewContext.class.getName()+".ElementFactory"; 39 public static final String TEMPLATE_NODE = ViewContext.class.getName()+".TemplateNode"; 40 public static final String REQUEST = ViewContext.class.getName()+".Request"; 41 public static final String RESPONSE = ViewContext.class.getName()+".Response"; 42 43 public ViewCapabilities getViewCapabilities(); 44 public EventContext getEventContext(); 45 public ElementFactory getElementFactory(); 46 public Node getTemplateNode(); 47 public HttpServletRequest getRequest(); 48 public HttpServletResponse getResponse(); 49 } | Popular Tags |