Class AnnotationUtilities

java.lang.Object
org.hortonmachine.gui.spatialtoolbox.core.AnnotationUtilities

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

    Constructors 
    Constructor Description
    AnnotationUtilities()  
  • Method Summary

    Modifier and Type Method Description
    static java.lang.String getLocalizedAuthor​(oms3.annotations.Author annotation)  
    static java.lang.String getLocalizedDescription​(oms3.annotations.Description description)
    Gets the localized description of the Description.
    static java.lang.String getLocalizedDocumentation​(oms3.annotations.Documentation documentation)  
    static java.lang.String getLocalizedKeywords​(oms3.annotations.Keywords annotation)  
    static java.lang.String getLocalizedLicense​(oms3.annotations.License annotation)  
    static java.lang.String getLocalizedName​(oms3.annotations.Name annotation)  
    static java.lang.String getLocalizedStatus​(oms3.annotations.Status annotation)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getLocalizedDescription

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

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

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

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

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

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

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