Java Doc for ScriptState.java in  » ERP-CRM-Financial » Kuali-Financial-System » edu » iu » uis » eden » test » web » framework » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » Kuali Financial System » edu.iu.uis.eden.test.web.framework 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   edu.iu.uis.eden.test.web.framework.ScriptState

ScriptState
public class ScriptState (Code)
Encapsulate script state, in a Map of variables which can be accessed using Jakarta Commons BeanUtils property syntax. There are a few "special" variables:
USER
The user as whom to submit requests
BACKDOORID
The backdoor id
RESOURCE_PREFIX
If set, this is prefixed to any unqualifed resource lookups
REQUEST
A Map of request parameters
RESPONSE
A Map of response variables
CONTEXT
The caller-supplied context of the script (if any)
FILTERS
Named filters (if any, by default: DUPLICATE_SPACES, LEADING_SPACES, TRAILING_SPACES, DUPLICATE_NEWLINES, TRANSIENT_OUTPUT, CANONICALIZE)
This class provides access to "properties" which are abstract names that can be resolved in several ways: via the variable map, as a resource in the classloader, as a url, and as literal text.
See Also:   edu.iu.uis.eden.test.web.framework.actions.SubmitAction
See Also:    for information on RESPONSE Map contents
author:
   Aaron Hamid (arh14 at cornell dot edu)


Field Summary
final public static  StringBACKDOORID
    
final public static  FilterCANONICALIZE_FILTER
    
final public static  StringCANONICALIZE_FILTER_NAME
    
final public static  StringCONTEXT
    
final public static  PatternDUPLICATE_NEWLINES
    
final public static  FilterDUPLICATE_NEWLINES_FILTER
    
final public static  PatternDUPLICATE_SPACES
    
final public static  FilterDUPLICATE_SPACES_FILTER
    
final public static  StringFILTERS
    
final public static  PatternLEADING_SPACES
    
final public static  FilterLEADING_SPACES_FILTER
    
final public static  StringREQUEST
    
final public static  StringRESOURCE_PREFIX
    
final public static  StringRESPONSE
    
final public static  PatternTRAILING_SPACES
    
final public static  FilterTRAILING_SPACES_FILTER
    
final public static  PatternTRANSIENT_OUTPUT
    
final public static  FilterTRANSIENT_OUTPUT_FILTER
    
final public static  StringUSER
    

Constructor Summary
public  ScriptState()
    

Method Summary
public  StringgetBackdoorId()
    
public  MapgetContext()
    
public  MapgetFilters()
    
public  ObjectgetLiteral(String name)
    
public  MapgetRequest()
    
public  ObjectgetResource(String name)
    
public  StringgetResourcePrefix()
    
public  MapgetResponse()
    
public  ObjectgetURL(String name)
    
public  StringgetUser()
    
public  ObjectgetVariable(String name)
    
public  MapgetVariables()
    
public  voidreset()
    
public  ObjectretrieveProperty(String name)
    
public  ObjectretrieveProperty(String name, PropertyScheme defaultScheme)
    
public  ObjectretrieveProperty(Property prop, PropertyScheme defaultScheme)
    
public  ObjectretrieveProperty(Property prop)
    
public  voidsetBackdoorId(String backdoorId)
    
public  voidsetContext(Map context)
    
public  voidsetResourcePrefix(String prefix)
    
public  voidsetUser(String user)
    
public  voidsetVariable(String name, Object value)
    

Field Detail
BACKDOORID
final public static String BACKDOORID(Code)



CANONICALIZE_FILTER
final public static Filter CANONICALIZE_FILTER(Code)



CANONICALIZE_FILTER_NAME
final public static String CANONICALIZE_FILTER_NAME(Code)



CONTEXT
final public static String CONTEXT(Code)



DUPLICATE_NEWLINES
final public static Pattern DUPLICATE_NEWLINES(Code)



DUPLICATE_NEWLINES_FILTER
final public static Filter DUPLICATE_NEWLINES_FILTER(Code)



DUPLICATE_SPACES
final public static Pattern DUPLICATE_SPACES(Code)



DUPLICATE_SPACES_FILTER
final public static Filter DUPLICATE_SPACES_FILTER(Code)



FILTERS
final public static String FILTERS(Code)



LEADING_SPACES
final public static Pattern LEADING_SPACES(Code)



LEADING_SPACES_FILTER
final public static Filter LEADING_SPACES_FILTER(Code)



REQUEST
final public static String REQUEST(Code)



RESOURCE_PREFIX
final public static String RESOURCE_PREFIX(Code)



RESPONSE
final public static String RESPONSE(Code)



TRAILING_SPACES
final public static Pattern TRAILING_SPACES(Code)



TRAILING_SPACES_FILTER
final public static Filter TRAILING_SPACES_FILTER(Code)



TRANSIENT_OUTPUT
final public static Pattern TRANSIENT_OUTPUT(Code)



TRANSIENT_OUTPUT_FILTER
final public static Filter TRANSIENT_OUTPUT_FILTER(Code)



USER
final public static String USER(Code)




Constructor Detail
ScriptState
public ScriptState()(Code)




Method Detail
getBackdoorId
public String getBackdoorId()(Code)



getContext
public Map getContext()(Code)



getFilters
public Map getFilters()(Code)



getLiteral
public Object getLiteral(String name)(Code)
Resolves the specified name as a literal (just returns it)
Parameters:
  name - the literal name the literal name



getRequest
public Map getRequest()(Code)



getResource
public Object getResource(String name)(Code)
Resolves the specified name as a resource
Parameters:
  name - the resource name resource contents if found, null otherwise



getResourcePrefix
public String getResourcePrefix()(Code)



getResponse
public Map getResponse()(Code)



getURL
public Object getURL(String name)(Code)
Resolves the specified name as a url
Parameters:
  name - the url url contents if found, null otherwise



getUser
public String getUser()(Code)



getVariable
public Object getVariable(String name)(Code)
Resolves the specified name as a variable
Parameters:
  name - the variable name variable value if found, null otherwise



getVariables
public Map getVariables()(Code)



reset
public void reset()(Code)



retrieveProperty
public Object retrieveProperty(String name)(Code)
Resolves the specified name as a qualified property
Parameters:
  name - the qualified property name value if found, null otherwise



retrieveProperty
public Object retrieveProperty(String name, PropertyScheme defaultScheme)(Code)
Resolves the specified name as an unqualified property
Parameters:
  name - the potentially unqualified property name
Parameters:
  defaultScheme - the default scheme to use if the property is unqualified value if found, null otherwise



retrieveProperty
public Object retrieveProperty(Property prop, PropertyScheme defaultScheme)(Code)
Resolves the specified name as an unqualified property
Parameters:
  prop - the potentially unqualified property
Parameters:
  defaultScheme - the default scheme to use if the property is unqualified value if found, null otherwise



retrieveProperty
public Object retrieveProperty(Property prop)(Code)
Resolves the specified name as a qualified property
Parameters:
  prop - the qualified property value if found, null otherwise



setBackdoorId
public void setBackdoorId(String backdoorId)(Code)



setContext
public void setContext(Map context)(Code)



setResourcePrefix
public void setResourcePrefix(String prefix)(Code)



setUser
public void setUser(String user)(Code)



setVariable
public void setVariable(String name, Object value)(Code)
Sets a key/value pair in the state map root
Parameters:
  name - name of the variable
Parameters:
  value - value of the variable



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

w__w_w___.___j___a___v_a___2___s__.___c___o__m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.