Java Doc for JExpr.java in  » 6.0-JDK-Modules » jaxb-xjc » com » sun » codemodel » 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 » 6.0 JDK Modules » jaxb xjc » com.sun.codemodel 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.codemodel.JExpr

JExpr
abstract public class JExpr (Code)
Factory methods that generate various JExpression s.


Field Summary
final public static  JExpressionFALSE
    
final public static  JExpressionTRUE
    
final static  StringcharEscape
    
final static  StringcharMacro
    


Method Summary
public static  JInvocation_new(JClass c)
    
public static  JInvocation_new(JType t)
    
public static  JExpression_null()
    
public static  JExpression_super()
     Returns a reference to "super", an implicit reference to the super class.
public static  JExpression_this()
     Returns a reference to "this", an implicit reference to the current object.
public static  JExpressionassign(JAssignmentTarget lhs, JExpression rhs)
    
public static  JExpressionassignPlus(JAssignmentTarget lhs, JExpression rhs)
    
public static  JCastcast(JType type, JExpression expr)
    
public static  JArrayCompRefcomponent(JExpression lhs, JExpression index)
    
public static  JExpressiondirect(String source)
     Creates an expression directly from a source code fragment.
public static  JExpressiondotclass(JClass cl)
    
public static  JInvocationinvoke(String method)
    
public static  JInvocationinvoke(JMethod method)
    
public static  JInvocationinvoke(JExpression lhs, JMethod method)
    
public static  JInvocationinvoke(JExpression lhs, String method)
    
public static  JExpressionlit(boolean b)
    
public static  JExpressionlit(int n)
    
public static  JExpressionlit(long n)
    
public static  JExpressionlit(float f)
    
public static  JExpressionlit(double d)
    
public static  JExpressionlit(char c)
    
public static  JExpressionlit(String s)
    
public static  JArraynewArray(JType type)
    
public static  JArraynewArray(JType type, JExpression size)
     Generates new T[size] .
Parameters:
  type - The type of the array component.
public static  JArraynewArray(JType type, int size)
     Generates new T[size] .
Parameters:
  type - The type of the array component.
public static  Stringquotify(char quote, String s)
     Escapes the given string, then surrounds it by the specified quotation mark.
public static  JFieldRefref(String field)
    
public static  JFieldRefref(JExpression lhs, JVar field)
    
public static  JFieldRefref(JExpression lhs, String field)
    
public static  JFieldRefrefthis(String field)
    

Field Detail
FALSE
final public static JExpression FALSE(Code)
Boolean constant that represents false



TRUE
final public static JExpression TRUE(Code)
Boolean constant that represents true



charEscape
final static String charEscape(Code)



charMacro
final static String charMacro(Code)





Method Detail
_new
public static JInvocation _new(JClass c)(Code)



_new
public static JInvocation _new(JType t)(Code)



_null
public static JExpression _null()(Code)



_super
public static JExpression _super()(Code)
Returns a reference to "super", an implicit reference to the super class.



_this
public static JExpression _this()(Code)
Returns a reference to "this", an implicit reference to the current object.



assign
public static JExpression assign(JAssignmentTarget lhs, JExpression rhs)(Code)



assignPlus
public static JExpression assignPlus(JAssignmentTarget lhs, JExpression rhs)(Code)



cast
public static JCast cast(JType type, JExpression expr)(Code)



component
public static JArrayCompRef component(JExpression lhs, JExpression index)(Code)



direct
public static JExpression direct(String source)(Code)
Creates an expression directly from a source code fragment.

This method can be used as a short-cut to create a JExpression. For example, instead of _a.gt(_b), you can write it as: JExpr.direct("a>b").

Be warned that there is a danger in using this method, as it obfuscates the object model.




dotclass
public static JExpression dotclass(JClass cl)(Code)



invoke
public static JInvocation invoke(String method)(Code)



invoke
public static JInvocation invoke(JMethod method)(Code)



invoke
public static JInvocation invoke(JExpression lhs, JMethod method)(Code)



invoke
public static JInvocation invoke(JExpression lhs, String method)(Code)



lit
public static JExpression lit(boolean b)(Code)



lit
public static JExpression lit(int n)(Code)



lit
public static JExpression lit(long n)(Code)



lit
public static JExpression lit(float f)(Code)



lit
public static JExpression lit(double d)(Code)



lit
public static JExpression lit(char c)(Code)



lit
public static JExpression lit(String s)(Code)



newArray
public static JArray newArray(JType type)(Code)



newArray
public static JArray newArray(JType type, JExpression size)(Code)
Generates new T[size] .
Parameters:
  type - The type of the array component. 'T' or new T[size] .



newArray
public static JArray newArray(JType type, int size)(Code)
Generates new T[size] .
Parameters:
  type - The type of the array component. 'T' or new T[size] .



quotify
public static String quotify(char quote, String s)(Code)
Escapes the given string, then surrounds it by the specified quotation mark.



ref
public static JFieldRef ref(String field)(Code)



ref
public static JFieldRef ref(JExpression lhs, JVar field)(Code)



ref
public static JFieldRef ref(JExpression lhs, String field)(Code)



refthis
public static JFieldRef refthis(String field)(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.