Skip navigation links
org.netbeans.modules.java.j2seplatform/1 1.67

Java SE Platforms and Libraries
Official

See: Description

Java SE Platforms and Libraries 
Package Description
org.netbeans.modules.java.j2seplatform.api  
org.netbeans.modules.java.j2seplatform.spi  

Provides implementations of the Java platform SPI and the project library SPI.

J2SEPlatformCreator API to register a JDK and these SPI (service provide interfaces) for JDK sources and JavaDoc .

Defines some formats:

What is New (see all changes)?

Use Cases

The UI specifications describe the module in proper context.

Exported Interfaces

This table lists all of the module exported APIs with defined stability classifications. It is generated based on answers to questions about the architecture of the module. Read them all...
Group of java interfaces
Interface NameIn/OutStabilitySpecified in What Document?
J2SEPlatformCreatorExportedOfficial .../api/J2SEPlatformCreator.html

API to register a JDK

SPIExportedOfficial .../j2seplatform/spi/package-summary.html

(service provide interfaces) for JDK sources and JavaDoc

Group of dtd interfaces
Interface NameIn/OutStabilitySpecified in What Document?
platformdefinition.dtdExportedOfficial .../dtds/java-platformdefinition-1_0.dtd

Definition of XML format for J2SE platform type (i.e. a JDK).

library-volume-typesExportedOfficial

The library type provider defines three volume types:

  1. classpath
  2. src
  3. javadoc
  4. maven-pom - Added for 6.0 beta1 to allow maven projects to recognize the library content.

The actual definition of the XML syntax is controlled by the Project Libraries API.

Group of branding interfaces
Interface NameIn/OutStabilitySpecified in What Document?
org.netbeans.modules.java.j2seplatform.api.API_Ask_attachSourcesQuestionExportedStable

Controls interaction when sources are about to be attached to a Classpath root, in SourceJavadocAttacherImplementation provided by this module. By setting API_Ask_attachSourcesQuestion key in org/netbeans/modules/java/j2seplatform/api/Bundle.properties one can control the function:

  • no will disable the attachers. No source/javadoc will be attached, and no user interaction will be started.
  • yes will permit the registered SourceJavadocAttacherImplementation.Definer to attach an appropriate resource(s). User interaction will be skipped
  • ask (the default) will ask the user to supply the resources.

The key can be set by a branding file in your application build.

org.netbeans.modules.java.j2seplatform.api.API_Ask_attachJavadocQuestionExportedStable

Controls interaction when javadocs are about to be attached to a Classpath root, in SourceJavadocAttacherImplementation provided by this module. By setting API_Ask_attachJavadocQuestion key in org/netbeans/modules/java/j2seplatform/api/Bundle.properties one can control the function:

  • no will disable the attachers. No source/javadoc will be attached, and no user interaction will be started.
  • yes will permit the registered SourceJavadocAttacherImplementation.Definer to attach an appropriate resource(s). User interaction will be skipped
  • ask (the default) will ask the user to supply the resources.

The key can be set by a branding file in your application build.

Implementation Details

What do other modules need to do to declare a dependency on this one, in addition to or instead of a plain module dependency?

N/A

Read more about the implementation in the answers to architecture questions.

Skip navigation links
org.netbeans.modules.java.j2seplatform/1 1.67