有了这个工具你就可以快速生成非常标准且实用的TLD说明文档。
TLDDoc的使用非常简单,首先我们从TLDDoc的主页(https://taglibrarydoc.dev.java.net/)下载工具包,下载完毕后进行解压。只需找到相关的tld文件,然后执行以下命名即可:
>java –jar tlddoc.jar –d <outdir> tldfile1.tld tldfile2.tld
如果你想查看详细的帮助信息,可以使用以下命令:
>java –jar tlddoc.jar -help
当前TLDDoc可以处理tld文件、jar文件、war文件及tag files,遵循JSP1.1,1.2和2.0规范,详细的信息参考TLDDoc的帮助信息。
在实际的开发过程中,大家可能更多地使用Ant,这里可以将TLDDoc的命令和Ant结合起来,代码如下:
<java jar="${project.classpath}/tlddoc.jar" failonerror="true"> <arg line="-d ${project.doc}/taglib"/> <arg value="WEB-INF/my1.tld"/> <arg value="WEB-INF/my2.tld"/> </java>
如果你在实际的开发中结合XDoclet来开发Taglib,这样tld文件生成、tld文档生成在一个Ant的target中就可以快速完成。
总结:TLDDoc对于tld文件的文档处理非常实用,文档规范便于理解。对最新的Jsp 2.0的tag file也能处理,在日常的开发中,完全可以将Taglib的文档交给其去处理,开发出来的Taglib一定会更加专业。
点击此处下载。 |
相关推荐
这个工具的主要目的是帮助IT专业人员,特别是数据库管理员(DBAs)、开发人员和数据架构师,更好地理解和管理他们的数据库结构。它通过解析数据库的模式信息,并结合可选的元数据文本描述,创建出详细且易于阅读的...
1、JavaServer Faces API(1.2) 2、JavaServer Faces Tag Library Documentation 3、ADF WebControls Java API 4、ADF Tag Library Documentation (chm格式)
NetDxf子集目录 AciColor Class BoundingRectangle Class ClippingBoundary Class ClippingBoundaryType Enumeration CoordinateSystem Enumeration DxfDocument Class DxfDocument DxfObject Class ...
mgucv-4.0.1.3373 官网离线帮助文档(英文版) Emgu.CV.Documentation.chm
VSdocman - Visual Studio documentation generator and .NET code commenter VSdocman is an ultimate, fast and easy to use .NET documenting tool for every Visual Studio C# and VB developer.
可以按照doxygen规定的格式编写代码注释,然后利用doxygen工具直接生成参考文档
Enterprise Library 5.0 VS 2008 Documentation
This document describes the usage and installation of the “EtherCAT Library for LabVIEW“ version 2.9.
__A_magical_documentation_site_generator._docsify
在"documentation-generator-container-master"这个压缩包中,你将找到该容器的源代码和其他资源。通过研究和配置这些文件,你可以将文档生成器集成到自己的Apiato项目中。这可能包括安装依赖、配置容器、以及在项目...
Qt Reference Documentation
压缩包内的“documentation.pdf”很可能包含了JSONLibrary的详细使用指南,包括如何安装、集成到UE4项目中,以及如何使用提供的API进行JSON操作等信息。而“JsonLibrary”文件可能是库的实际源代码或者编译后的库...
对象库文档项目定义了用于为对象模型和包(如ActiveX动态库,控件,.NET程序集,Java包和Web服务)创建文档结构的标准和实用程序。
The book provides comprehensive documentation of each library component, including an introduction to its purpose and design; clearly written explanations of complex concepts; the practical ...
Emgu CV is a cross platform .Net wrapper to the OpenCV image processing library. Allowing OpenCV functions to be called from .NET compatible languages such as C#, VB, VC++, IronPython etc. The wrapper...
Documentation - Leaflet
This documentation is preliminary and subject to change. Welcome to Enterprise Library. The following sections of this guidance describe the ways that you can use Enterprise Library and the ...
`documentation.pdf`文档详细阐述了HttpLibrary的使用方法和示例,包括如何配置请求参数,如URL、HTTP方法、请求头、正文数据等,以及如何解析和处理响应数据。通过阅读这份文档,开发者可以快速掌握插件的使用技巧...
The book provides comprehensive documentation of each library component, including an introduction to its purpose and design; clearly written explanations of complex concepts; the practical ...
Ext 2 API Documentation