|
Overview |
Standard JET2 Java Tags |
|---|
javaTags
Tags useful in generating Java code.
| Tag Summary | |
|---|---|
| <java:class> |
Create a Java class with the specified name and write its contents by evaluating the supplied template |
| <java:format> |
Invokes the Eclipse JDT Code formatter on the tag's content |
| <java:impliedImport> |
Record a name as being implicitly imported |
| <java:import> |
Replace the enclosed content with the equivalent unqualified Java name (if possible), and ensure an appropriate Java import statement is generated |
| <java:importsLocation> |
Identify the location for Java import statement generation |
| <java:merge> |
Cause the template contents to be merged with the existing Java file using the EMF JMerge engine |
| <java:package> |
Create a Java package |
| <java:resource> |
Create a file within a Java package |
| Example Directive | |
|---|---|
| <%@taglib prefix="java" id="org.eclipse.jet.javaTags"%> | |