Class DepartureElement
java.lang.Object
org.opengis.tools.taglet.DepartureElement
- All Implemented Interfaces:
Comparable<DepartureElement>
An element in the
Departure.departures list.
Note: compareTo(DepartureElement) is inconsistent with Object.equals(Object), but the
Departure taglet doesn't use the equals method anyway.
- Since:
- 2.3
- Version:
- 3.0.2
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final booleantrueif this element is for a field or method.private final booleantrueif this element is for a package.private final StringThe class or method name that contains the departure.private final StringPath to HTML javadoc.private final StringThe simple name (without path or extension) of the type that contains the departure.(package private) final StringThe departure text.private final String"Package", "Interface", "Class", "Method", "Field" or "Enum".(package private) final NameQualified name of the type, package or module that contains the departure. -
Constructor Summary
ConstructorsConstructorDescriptionDepartureElement(Element parent, com.sun.source.doctree.DocTree tag, String text) Stores a description for the given departure tag. -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(DepartureElement other) For sorting in the order to be published on the HTML page.(package private) final voidwriteClassName(Writer out) Writes the a class name to the given writer.(package private) final voidwriteFieldName(Writer out) Writes the a field name to the given writer.
-
Field Details
-
typeName
Qualified name of the type, package or module that contains the departure. Used for inferring the source file path relative to the javadoc root directory. -
shortTypeName
The simple name (without path or extension) of the type that contains the departure. -
pathToHTML
Path to HTML javadoc. -
type
"Package", "Interface", "Class", "Method", "Field" or "Enum". -
name
The class or method name that contains the departure. May be the same thanshortTypeName. -
text
The departure text. -
isMember
final boolean isMembertrueif this element is for a field or method.falseif this element is for an interface, class or package. -
isPackage
private final boolean isPackagetrueif this element is for a package.
-
-
Constructor Details
-
DepartureElement
-
-
Method Details
-
compareTo
For sorting in the order to be published on the HTML page.- Specified by:
compareToin interfaceComparable<DepartureElement>
-
writeClassName
Writes the a class name to the given writer.- Throws:
IOException
-
writeFieldName
Writes the a field name to the given writer.- Throws:
IOException
-