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.
  • 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

      <T> T getValue(String fieldName, AnnotationPlacemarkValueType<T> valueType)
      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 field
      valueType - the value type of the field
      Returns:
      The value of the field