Java Doc for TestProvider.java in  » Template-Engine » Velocity » org » apache » velocity » test » provider » 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 » Template Engine » Velocity » org.apache.velocity.test.provider 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.velocity.test.provider.TestProvider

TestProvider
public class TestProvider (Code)
This class is used by the testbed. Instances of the class are fed into the context that is set before the AST is traversed and dynamic content generated.
author:
   Jason van Zyl
version:
   $Id: TestProvider.java 463298 2006-10-12 16:10:32Z henning $


Field Summary
public static  StringPUB_STAT_STRING
    
 Objectob
    
 booleanstate
    
 intstateint
    
 Stringtitle
    


Method Summary
public  booleanallEmpty(Object[] list)
    
public  Integerbang()
    
public  Stringchop(String string, int i)
     Chop i characters off the end of a string.
Parameters:
  string - String to chop.
Parameters:
  i - Number of characters to chop.
public  Stringconcat(Object[] strings)
    
public  Stringconcat(List strings)
    
public  Stringconcat(String a, String b)
    
public  Stringget(String key)
     Test the ability of vel to use a get(key) method for any object type, not just one that implements the Map interface.
public  String[]getArray()
    
public  ChildgetChild()
    
public  ArrayListgetCustomers()
    
public  ArrayListgetCustomers2()
    
public  ListgetEmptyList()
    
public  StringgetFoo()
    
public  HashtablegetHashtable()
    
public  ListgetList()
    
public  Object[]getMenu()
    
public  StringgetName()
    
public  PersongetPerson()
    
public  ArrayListgetRelSearches()
    
public  HashtablegetSearch()
    
public  StackgetStack()
    
public  booleangetStateFalse()
    
public  booleangetStateTrue()
    
public  StringgetThrow()
    
public  StringgetTitle()
    
public  VectorgetVector()
    
public  Objectme()
    
public  StringobjConcat(List objects)
    
public  StringobjectArrayMethod(Object[] o)
    
public  Stringparse(String a, Object o, String c, String d)
    
public  Stringput(String key, Object o)
     Test the ability of vel to use a put(key) method for any object type, not just one that implements the Map interface.
public  voidsetBangStart(Integer i)
    
public  voidsetState(Boolean state)
    
public  voidsetTitle(String title)
    
public  StringshowPerson(Person person)
    
public  booleantheAPLRules()
    
public  StringtoString()
    

Field Detail
PUB_STAT_STRING
public static String PUB_STAT_STRING(Code)



ob
Object ob(Code)



state
boolean state(Code)



stateint
int stateint(Code)



title
String title(Code)





Method Detail
allEmpty
public boolean allEmpty(Object[] list)(Code)



bang
public Integer bang()(Code)



chop
public String chop(String string, int i)(Code)
Chop i characters off the end of a string.
Parameters:
  string - String to chop.
Parameters:
  i - Number of characters to chop. String with processed answer.



concat
public String concat(Object[] strings)(Code)



concat
public String concat(List strings)(Code)



concat
public String concat(String a, String b)(Code)



get
public String get(String key)(Code)
Test the ability of vel to use a get(key) method for any object type, not just one that implements the Map interface.



getArray
public String[] getArray()(Code)



getChild
public Child getChild()(Code)



getCustomers
public ArrayList getCustomers()(Code)



getCustomers2
public ArrayList getCustomers2()(Code)



getEmptyList
public List getEmptyList()(Code)



getFoo
public String getFoo() throws Exception(Code)



getHashtable
public Hashtable getHashtable()(Code)



getList
public List getList()(Code)



getMenu
public Object[] getMenu()(Code)



getName
public String getName()(Code)



getPerson
public Person getPerson()(Code)



getRelSearches
public ArrayList getRelSearches()(Code)



getSearch
public Hashtable getSearch()(Code)



getStack
public Stack getStack()(Code)



getStateFalse
public boolean getStateFalse()(Code)



getStateTrue
public boolean getStateTrue()(Code)



getThrow
public String getThrow() throws Exception(Code)



getTitle
public String getTitle()(Code)



getVector
public Vector getVector()(Code)



me
public Object me()(Code)



objConcat
public String objConcat(List objects)(Code)



objectArrayMethod
public String objectArrayMethod(Object[] o)(Code)



parse
public String parse(String a, Object o, String c, String d)(Code)



put
public String put(String key, Object o)(Code)
Test the ability of vel to use a put(key) method for any object type, not just one that implements the Map interface.



setBangStart
public void setBangStart(Integer i)(Code)



setState
public void setState(Boolean state)(Code)



setTitle
public void setTitle(String title)(Code)



showPerson
public String showPerson(Person person)(Code)



theAPLRules
public boolean theAPLRules()(Code)



toString
public String toString()(Code)



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)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.