1 16 17 18 package org.apache.velocity.tools.view.servlet; 19 20 21 import org.apache.velocity.tools.view.ViewToolInfo; 22 import org.apache.velocity.tools.view.context.ViewContext; 23 24 25 53 public class ServletToolInfo extends ViewToolInfo 54 { 55 56 57 public static final String REQUEST_SCOPE = ViewContext.REQUEST; 58 59 public static final String SESSION_SCOPE = ViewContext.SESSION; 60 61 public static final String APPLICATION_SCOPE = ViewContext.APPLICATION; 62 63 private String scope; 64 65 66 public ServletToolInfo() {} 67 68 69 public void setScope(String scope) { 70 this.scope = scope; 71 } 72 73 74 77 public String getScope() 78 { 79 return scope; 80 } 81 82 } 83 | Popular Tags |