Interface AnnotationPlacemark
public interface AnnotationPlacemark
Represents an annotation placemark and provides methods to retrieve field values and type names for any
annotation placemark type. A placemark is a property of an
Annotation
such as the text, page, or coordinates
it appears on.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Creates an instance ofAnnotationPlacemark
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the type of this annotation placemark.<T> T
getValue
(String fieldName, AnnotationPlacemarkValueType<T> valueType) Returns the value of the field with the given name and type.
-
Method Details
-
getTypeName
String getTypeName()Returns the name of the type of this annotation placemark.- Returns:
- the name of the type of this annotation placemark
-
getValue
Returns the value of the field with the given name and type.- Type Parameters:
T
- the Java class that backs the value type- Parameters:
fieldName
- the name of the annotation placemark fieldvalueType
- the value type of the field- Returns:
- The value of the field
-