resources. Values can be substituted into the
strings obtained from the resource files.
Messages are reported to the doclet's reporter.
| Modifier and Type | Field and Description |
|---|---|
| private final BaseConfiguration | |
| private boolean | |
| private final Reporter | |
| private final Resources |
| Access | Constructor and Description |
|---|---|
| public | Messages(BaseConfiguration
the doclet's configuration, used to access the doclet's
reporter, and additional methods and state used to
filter out messages, if any, which should be suppressed. configuration, Resources resources for console messages and exceptions resources)Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the generated documentation contains one or more diagnostic markers for invalid inputReturns true if the generated documentation contains one or more diagnostic markers for invalid input. |
| public void | |
| public void | error(DocTreePath
a path identifying the position to be included with the message path, String the name of a resource containing the message to be printed key, Object... optional arguments to be replaced in the message args)Reports an error message to the doclet's reporter. |
| public void | error(DocTreePath
a path identifying the position to be included with the message path, int the start of a range of characters to be associated with the message start, int the position to be associated with the message pos, int the end of a range of characters to be associated with the message end, String the name of a resource containing the message to be printed key, Object... optional arguments to be replaced in the message args)Reports an error message to the doclet's reporter. |
| public void | error(FileObject
the file object to be associated with the message fo, int the start of a range of characters to be associated with the message start, int the position to be associated with the message pos, int the end of a range of characters to be associated with the message end, String the name of a resource containing the message to be printed key, Object... optional arguments to be replaced in the message args)Reports an error message to the doclet's reporter. |
| public void | |
| public Resources | |
| public void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public void | setContainsDiagnosticMarkers()
Sets the flag for documentation containing a diagnostic marker for invalid input. |
| public void | |
| public void | warning(DocTreePath
a path identifying the position to be included with the message path, String the name of a resource containing the message to be printed key, Object... optional arguments to be replaced in the message args)Reports a warning message to the doclet's reporter. |
| public void | warning(DocTreePath
a path identifying the position to be included with the message path, int the start of a range of characters to be associated with the message start, int the position to be associated with the message pos, int the end of a range of characters to be associated with the message end, String the name of a resource containing the message to be printed key, Object... optional arguments to be replaced in the message args)Reports a warning message to the doclet's reporter. |
| public void | |
| public void | warning(FileObject
the file object to be associated with the message fo, int the start of a range of characters to be associated with the message start, int the position to be associated with the message pos, int the end of a range of characters to be associated with the message end, String the name of a resource containing the message to be printed key, Object... optional arguments to be replaced in the message args)Reports a warning message to the doclet's reporter. |
| configuration | back to summary |
|---|---|
| private final BaseConfiguration configuration | |
| containsDiagnosticMarkers | back to summary |
|---|---|
| private boolean containsDiagnosticMarkers | |
| reporter | back to summary |
|---|---|
| private final Reporter reporter | |
| resources | back to summary |
|---|---|
| private final Resources resources | |
| Messages | back to summary |
|---|---|
| public Messages(BaseConfiguration configuration, Resources resources) Creates a
| |
| containsDiagnosticMarkers | back to summary |
|---|---|
| public boolean containsDiagnosticMarkers() Returns true if the generated documentation contains one or more diagnostic markers for invalid input.
| |
| error | back to summary |
|---|---|
| public void error(String key, Object... args) Reports an error message to the doclet's reporter. | |
| error | back to summary |
|---|---|
| public void error(DocTreePath path, String key, Object... args) Reports an error message to the doclet's reporter.
| |
| error | back to summary |
|---|---|
| public void error(DocTreePath path, int start, int pos, int end, String key, Object... args) Reports an error message to the doclet's reporter.
| |
| error | back to summary |
|---|---|
| public void error(FileObject fo, int start, int pos, int end, String key, Object... args) Reports an error message to the doclet's reporter.
| |
| error | back to summary |
|---|---|
| public void error(Element e, String key, Object... args) Reports an error message to the doclet's reporter. | |
| getResources | back to summary |
|---|---|
| public Resources getResources() Returns the resources being used when generating messages.
| |
| notice | back to summary |
|---|---|
| public void notice(String key, Object... args) Reports an informational notice to the doclet's reporter. The message is written directly to the reporter's diagnostic stream. | |
| report | back to summary |
|---|---|
| private void report(Diagnostic. | |
| report | back to summary |
|---|---|
| private void report(Diagnostic. | |
| report | back to summary |
|---|---|
| private void report(Diagnostic. | |
| report | back to summary |
|---|---|
| private void report(Diagnostic. | |
| report | back to summary |
|---|---|
| private void report(Diagnostic. | |
| setContainsDiagnosticMarkers | back to summary |
|---|---|
| public void setContainsDiagnosticMarkers() Sets the flag for documentation containing a diagnostic marker for invalid input. | |
| warning | back to summary |
|---|---|
| public void warning(String key, Object... args) Reports a warning message to the doclet's reporter. | |
| warning | back to summary |
|---|---|
| public void warning(DocTreePath path, String key, Object... args) Reports a warning message to the doclet's reporter.
| |
| warning | back to summary |
|---|---|
| public void warning(DocTreePath path, int start, int pos, int end, String key, Object... args) Reports a warning message to the doclet's reporter.
| |
| warning | back to summary |
|---|---|
| public void warning(Element e, String key, Object... args) Reports a warning message to the doclet's reporter. | |
| warning | back to summary |
|---|---|
| public void warning(FileObject fo, int start, int pos, int end, String key, Object... args) Reports a warning message to the doclet's reporter.
| |