Class AnnotationUtil


  • public class AnnotationUtil
    extends Object
    Some utility functions for annotations.
    Since:
    3.5
    Author:
    nicklas
    • Constructor Detail

      • AnnotationUtil

        public AnnotationUtil()
    • Method Detail

      • loadJsonForBatchInherit

        public static org.json.simple.JSONObject loadJsonForBatchInherit​(DbControl dc,
                                                                         AnnotationType at)
        Load information about categories and subtypes of an annotation type that are useful for deciding about inheriting annotations from parent items, The result is returned as a JSON object intended to be used by the "Batch inherit annotations" feature in the web interface. See: common/annotations/batch_inherit.jsp (and .js)