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. You can find a full list and descriptions of annotation placemark types and fields in the Developer Portal.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceCreates an instance ofAnnotationPlacemark. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the type of this annotation placemark.<T> TgetValue(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
-