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:
-
platformdefinition.dtd
Definition of XML format for J2SE platform type (i.e. a JDK).
-
library-volume-types
The library type provider defines three volume types:
-
classpath
-
src
-
javadoc
-
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.
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
Group of dtd interfaces
Interface Name | In/Out | Stability | Specified in What Document? |
platformdefinition.dtd | Exported | Official |
.../dtds/java-platformdefinition-1_0.dtd
Definition of XML format for J2SE platform type (i.e. a JDK).
|
library-volume-types | Exported | Official |
The library type provider defines three volume types:
-
classpath
-
src
-
javadoc
-
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 Name | In/Out | Stability | Specified in What Document? |
org.netbeans.modules.java.j2seplatform.api.API_Ask_attachSourcesQuestion | Exported | Stable |
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_attachJavadocQuestion | Exported | Stable |
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.