Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse JET Guide
Previous Page Home Next Page

<java:format>

Standard JET2 Java Tags

format

Invokes the Eclipse JDT Code formatter on the tag's content.

The tag content should be well-formed Java - otherwise it will be written out unformatted.


Tag Summary
required <java:format>
    content consumed by tag evaluation
</java:format>
full tag <java:format kind="value" project="value">
    content consumed by tag evaluation
</java:format>

Optional Attributes
kind
A string corresponding to one of these org.eclipse.jdt.core.ToolFactory constants : "K_COMPILATION_UNIT" , "K_CLASS_BODY_DECLARATIONS" ,
"K_EXPRESSION", "K_STATEMENTS".
If missing K_UNKNOWN will be used.
project
The name of a java projects whose settings (like Java source level) should be used for the formatter options.
If missing the workspace defaults are used.

Example
<java:format>
    content consumed by tag evaluation
</java:format>


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire