Class AnnotationUtilities


  • public class AnnotationUtilities
    extends Object
    Utilities to handle annotations.
    Author:
    Andrea Antonello (www.hydrologis.com)
    • Constructor Detail

      • AnnotationUtilities

        public AnnotationUtilities()
    • Method Detail

      • getLocalizedDescription

        public static String getLocalizedDescription​(oms3.annotations.Description description)
                                              throws Exception
        Gets the localized description of the Description.
        Parameters:
        description - the Description annotation.
        Returns:
        the description string or " - ".
        Throws:
        Exception
      • getLocalizedDocumentation

        public static String getLocalizedDocumentation​(oms3.annotations.Documentation documentation)
                                                throws Exception
        Throws:
        Exception
      • getLocalizedStatus

        public static String getLocalizedStatus​(oms3.annotations.Status annotation)
                                         throws Exception
        Throws:
        Exception
      • getLocalizedName

        public static String getLocalizedName​(oms3.annotations.Name annotation)
                                       throws Exception
        Throws:
        Exception
      • getLocalizedAuthor

        public static String getLocalizedAuthor​(oms3.annotations.Author annotation)
                                         throws Exception
        Throws:
        Exception
      • getLocalizedLicense

        public static String getLocalizedLicense​(oms3.annotations.License annotation)
                                          throws Exception
        Throws:
        Exception
      • getLocalizedKeywords

        public static String getLocalizedKeywords​(oms3.annotations.Keywords annotation)
                                           throws Exception
        Throws:
        Exception