Javadoc « Language « Java Articles

Java Articles
1. Class Definition
2. Data
3. Development
4. GUI
5. J2EE
6. J2ME
7. JavaBeans
8. Language
9. Microsoft Collabration
10. Network
11. Swing
12. System Resource
13. XML
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Java Articles » Language » Javadoc 
1. Code generation using Javadoc
Author:Mark Pollack
URL:http://www.javaworld.com/javaworld/jw-08-2000/jw-0818-javadoc.html?
Summary: On many medium- to large-scale development projects, a tool is needed to generate source code for parts of the application. In many cases simple attributes that describe a class are used as input, and a code generator creates classes that are integrated within an application framework. That approach is often implemented in an ad hoc fashion, by using Perl scripts or overly complicated lexer and parser generators. Javadoc is an extensible tool typically used for code documentation purposes, but it is also suitable as a code generation tool. Javadoc's extensibility comes from creating custom doclets. This article presents a custom doclet that provides a simple extensible architecture to generate code for SQL schema, and Java and C++ classes from simple Java class definitions. (1,500 words)


w___w__w.__j___a__v_a2s_.___c__o_m_ | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.