1 16 package org.apache.cocoon.components.xscript; 17 18 import java.util.Map ; 19 20 30 public interface XScriptManager 31 { 32 String ROLE = "org.apache.cocoon.components.xscript.XScriptManager"; 33 34 String XSCRIPT_NS = "http://apache.org/xsp/xscript/1.0"; 35 36 40 int GLOBAL_SCOPE = 1; 41 42 49 int SESSION_SCOPE = 2; 50 51 59 int PAGE_SCOPE = 3; 60 61 66 int REQUEST_SCOPE = 5; 67 68 74 int ALL_SCOPES = 4; 75 76 103 XScriptObject get(XScriptVariableScope pageScope, 104 Map objectModel, 105 String name, 106 int scope) throws IllegalArgumentException ; 107 108 127 XScriptObject getFirst(XScriptVariableScope pageScope, 128 Map objectModel, 129 String name) throws IllegalArgumentException ; 130 131 142 void put(XScriptVariableScope pageScope, 143 Map objectModel, 144 String name, 145 XScriptObject value, 146 int scope) throws IllegalArgumentException ; 147 148 159 XScriptObject remove(XScriptVariableScope pageScope, 160 Map objectModel, 161 String name, 162 int scope) throws IllegalArgumentException ; 163 164 173 XScriptObject removeFirst(XScriptVariableScope pageScope, 174 Map objectModel, 175 String name) throws IllegalArgumentException ; 176 } 177 | Popular Tags |