tools

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 com.sun » tools 
OpenJDK: tools
License:The GNU General Public License (GPL)
URL:https://openjdk.dev.java.net
Description:
Package NameComment
com.sun.tools.apt
com.sun.tools.apt.comp
com.sun.tools.apt.main
com.sun.tools.apt.mirror
com.sun.tools.apt.mirror.apt
com.sun.tools.apt.mirror.declaration
com.sun.tools.apt.mirror.type
com.sun.tools.apt.mirror.util
com.sun.tools.apt.util
com.sun.tools.attach Provides the API to attach to a JavaTM virtual machine. A tool, written in the Java Language, uses this API to attach to a target virtual machine (VM) and load its tool agent into the target VM. For example, a management console might have a management agent which it uses to obtain management information from instrumented objects in a Java virtual machine. If the management console is required to manage an application that is running in a virtual machine that does not include the management agent, then this API can be used to attach to the target VM and load the agent. @since 1.6
com.sun.tools.attach.spi Provider classes for the {@link com.sun.tools.attach} package.

Only developers who are defining new attach providers should need to make direct use of this package.

@since 1.6
com.sun.tools.corba.se.idl
com.sun.tools.corba.se.idl.constExpr
com.sun.tools.corba.se.idl.som.cff
com.sun.tools.corba.se.idl.som.idlemit
com.sun.tools.corba.se.idl.toJavaPortable
com.sun.tools.corba.se.logutil
com.sun.tools.doclets com.sun.tools/doclets package As of JDK version 1.5, replaced by {@link com.sun.tools.doclets.internal.toolkit.util}.
com.sun.tools.doclets.formats.html com.sun.tools.doclets.formats.html package This is the default doclet provided by doclet provided by SunTM that produces Javadoc's default HTML-formatted API output. For more documentation on this doclet, please refer to the link below. @see http://www.java.sun.com/javadoc/standard-doclet.html
com.sun.tools.doclets.formats.html.markup com.sun.tools.doclets.formats.html.markup package This package contains classes that write HTML markup tags.
com.sun.tools.doclets.internal.toolkit com.sun.tools.doclets.internal.toolkit package Contains the base classes that make up a doclet. Doclets that reuse the functionality provided by the toolkit should have the following characteristics:
  • The main driver class should extend {@link com.sun.tools.doclets.internal.toolkit.AbstractDoclet}.
  • The doclet configuration class should extend {@link com.sun.tools.doclets.internal.toolkit.Configuration}.
  • The doclet should have a writer factory that implements {@link com.sun.tools.doclets.internal.toolkit.WriterFactory}. This class constructs writers that write doclet specific output.
  • The doclet should have a taglet writer that extends {@link com.sun.tools.doclets.internal.toolkit.taglets.TagletWriter}. This writer determines how to output each given tag.
com.sun.tools.doclets.internal.toolkit.builders com.sun.tools.doclets.internal.toolkit.builders package This doclet-independent package has a set of classes and interfaces that are the building blocks for doclets. They define the basic structure of doclets and make doclet writing much easier because they provide the content generation code to be shared among different doclets. Builders only provide the structure and content of API documentation. They will not provide any style markup.

This code is not part of an API. It is implementation that is subject to change. Do not use it as an API.

com.sun.tools.doclets.internal.toolkit.taglets com.sun.tools.doclets.internal.toolkit.taglets package This package has classes used to generate Javadoc tag documentation. Doclets no longer have to implement its own version of standard tags such as @param and @throws. This is the single, doclet implementation of each standard tag that is shared by all doclets. Each doclet must have a taglet writer that takes a taglet as input and writes doclet-dependent output. The taglet itself will do the tag processing. For example, suppose we are outputing @throws tags. The taglet would:
  • Retrieve the list of throws tags to be documented.
  • Replace {@inheritDoc} with the appropriate documentation.
  • Add throws documentation for exceptions that are declared in the signature of the method but not documented with the throws tags.
After doing the steps above, the taglet would pass the information to the taglet writer for writing. The taglets are essentially builders for tags.

This code is not part of an API. It is implementation that is subject to change. Do not use it as an API.

com.sun.tools.doclets.internal.toolkit.util com.sun.tools.doclets.internal.toolkit.util package This package has utility classes that perform common services required for API documentation generation.

This code is not part of an API. It is implementation that is subject to change. Do not use it as an API.

com.sun.tools.doclets.internal.toolkit.util.links com.sun.tools.doclets.interal.toolkit.util.links package Provides a factory for constructing links.
com.sun.tools.doclets.standard
com.sun.tools.example.debug.bdi
com.sun.tools.example.debug.event
com.sun.tools.example.debug.expr
com.sun.tools.example.debug.gui
com.sun.tools.example.debug.tty
com.sun.tools.example.trace
com.sun.tools.extcheck
com.sun.tools.hat
com.sun.tools.hat.internal.model
com.sun.tools.hat.internal.oql
com.sun.tools.hat.internal.parser
com.sun.tools.hat.internal.server
com.sun.tools.hat.internal.util
com.sun.tools.internal.jxc
com.sun.tools.internal.jxc.apt APT related code. This package hosts a driver that runs inside APT for java-to-schema processing, and additional implementations that deal primarily with APT.
com.sun.tools.internal.jxc.gen.config
com.sun.tools.internal.jxc.model.nav
com.sun.tools.internal.txw2
com.sun.tools.internal.txw2.builder.relaxng Reads RELAX NG grammar from RNGOM and builds the model for TXW.
com.sun.tools.internal.txw2.builder.xsd Reads XML Schema grammar from XSOM and builds the model for TXW.
com.sun.tools.internal.txw2.model
com.sun.tools.internal.txw2.model.prop
com.sun.tools.internal.ws
com.sun.tools.internal.ws.processor
com.sun.tools.internal.ws.processor.config
com.sun.tools.internal.ws.processor.config.parser
com.sun.tools.internal.ws.processor.generator
com.sun.tools.internal.ws.processor.model
com.sun.tools.internal.ws.processor.model.exporter
com.sun.tools.internal.ws.processor.model.java
com.sun.tools.internal.ws.processor.model.jaxb
com.sun.tools.internal.ws.processor.modeler
com.sun.tools.internal.ws.processor.modeler.annotation
com.sun.tools.internal.ws.processor.modeler.wsdl
com.sun.tools.internal.ws.processor.util
com.sun.tools.internal.ws.spi

This document describes the SPI for the JAX-WS 2.0 tools. The WSToolsObjectFactory is used to create instances of WsGen and WsImport that other applications can use.

com.sun.tools.internal.ws.util
com.sun.tools.internal.ws.util.xml
com.sun.tools.internal.ws.wscompile
com.sun.tools.internal.ws.wsdl.document
com.sun.tools.internal.ws.wsdl.document.http
com.sun.tools.internal.ws.wsdl.document.jaxws
com.sun.tools.internal.ws.wsdl.document.mime
com.sun.tools.internal.ws.wsdl.document.schema
com.sun.tools.internal.ws.wsdl.document.soap
com.sun.tools.internal.ws.wsdl.framework
com.sun.tools.internal.ws.wsdl.parser
com.sun.tools.internal.xjc
com.sun.tools.internal.xjc.addon.at_generated
com.sun.tools.internal.xjc.addon.code_injector
com.sun.tools.internal.xjc.addon.locator
com.sun.tools.internal.xjc.addon.sync
com.sun.tools.internal.xjc.api API for programatic invocation of XJC and schemagen.

This package provides a way to invoke XJC from within another program. The primarily target of this API is the JAX-WS RI, but we hope that this API would be useful for other integration purposes as well.

Getting Started: Using XJC

To invoke XJC, a typical client would do something like this:

    SchemaCompiler sc = XJC.createSchemaCompiler();
    sc.parseSchema(new InputSource(schema1Url.toExternalForm()));
    sc.parseSchema(new InputSource(schema2Url.toExternalForm()));
    ...
    S2JModel model = sc.bind();

The bind operation causes XJC to do the bulk of the work, such as figuring out what classes to generate, what methods/fields to generate, etc. The obtained model contains useful introspective information about how the binding was performed (such as relationship between XML types and generated Java classes)

Once the model is obtained, generate the code into the file system as follows:

    JCodeModel cm = model.generateCode( null, ... );
    cm.build(new FileCodeWriter(outputDir));

Implementation Note

This package shouldn't contain any implementation code.

com.sun.tools.internal.xjc.api.impl.j2s
com.sun.tools.internal.xjc.api.impl.s2j implementation of the XJC API for schema to java.
com.sun.tools.internal.xjc.api.util Utility code shared between JAXB and JAX-WS
com.sun.tools.internal.xjc.generator

Code Generator

.
com.sun.tools.internal.xjc.generator.annotation.ri
com.sun.tools.internal.xjc.generator.annotation.spec
com.sun.tools.internal.xjc.generator.bean
com.sun.tools.internal.xjc.generator.bean.field

FieldRenderer and its implementation classes. Unless you are deriving from these classes to define your own custom renderer, you shouldn't be using these classes directly. Use the outline package.

com.sun.tools.internal.xjc.generator.util
com.sun.tools.internal.xjc.model Implementation of the com.sun.xml.internal.bind.v2.model.core package for XJC.

This model is the recipes for the code generation. It captures the essence of the JAXB-bound beans, so that the actual Java code can be generated from this object model mechanically without knowing anything about how the model was built.

Most of the classes/interfaces in this package has one-to-one relationship with the parameterized core model in the com.sun.xml.internal.bind.v2.model.core package. Refer to the core model for better documentation.

The model for XJC also exposes a few additional information on top of the core model. Those are defined in this package.

com.sun.tools.internal.xjc.model.nav

Compile-time representation of Java type system.

These classes are used as TypeT and ClassDeclT of the model parameterization. This implementaion is designed to be capable of representing pre-existing classes (such as java.lang.String) as well as the generated classes (represented as JDefinedClass.)

Handling of Primitive Types

Primitive types have two forms (int and Integer), and this complicates the binding process. For this reason, inside the front end, we always use the boxed types. We'll use the unboxed form only in the back end when we know the field doesn't need to represent the null value.

com.sun.tools.internal.xjc.outline Provides the outline of the generated Java source code so that additional processings (such as adding more annotations) can be done on the generated code.

Code generation phase builds an outline little by little, while each step is using the outline built by the prior steps.

com.sun.tools.internal.xjc.reader

Front-end that reads schema(s) and produce BGM.

com.sun.tools.internal.xjc.reader.dtd
com.sun.tools.internal.xjc.reader.dtd.bindinfo

Object Model that represents DTD binding information.

com.sun.tools.internal.xjc.reader.gbind Binary expressions are left-associative. IOW, ((A,B),C) instead of (A,(B,C))
com.sun.tools.internal.xjc.reader.internalizer

internalization of external binding files and <jaxb:bindings> customizations.

com.sun.tools.internal.xjc.reader.relaxng
com.sun.tools.internal.xjc.reader.xmlschema
com.sun.tools.internal.xjc.reader.xmlschema.bindinfo Object Model that represents customization declarations.

RelaxNGCC is used to parse XML syntax into this representation, and the other parts of XJC will use this object model.

com.sun.tools.internal.xjc.reader.xmlschema.ct
com.sun.tools.internal.xjc.reader.xmlschema.parser
com.sun.tools.internal.xjc.runtime Code generated into the user's packages in certain compilation mode.
com.sun.tools.internal.xjc.util
com.sun.tools.internal.xjc.writer
com.sun.tools.javac
com.sun.tools.javac.api
com.sun.tools.javac.code
com.sun.tools.javac.comp
com.sun.tools.javac.jvm
com.sun.tools.javac.main
com.sun.tools.javac.model
com.sun.tools.javac.parser
com.sun.tools.javac.processing
com.sun.tools.javac.sym
com.sun.tools.javac.tree
com.sun.tools.javac.util
com.sun.tools.javac.zip
com.sun.tools.javadoc
com.sun.tools.javah
com.sun.tools.jconsole This package contains the JConsole API. @since 1.6
com.sun.tools.jdi
com.sun.tools.jdwpgen
com.sun.tools.script.shell
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.