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.StringgetLocalizedAuthor(oms3.annotations.Author annotation)static java.lang.StringgetLocalizedDescription(oms3.annotations.Description description)Gets the localized description of theDescription.static java.lang.StringgetLocalizedDocumentation(oms3.annotations.Documentation documentation)static java.lang.StringgetLocalizedKeywords(oms3.annotations.Keywords annotation)static java.lang.StringgetLocalizedLicense(oms3.annotations.License annotation)static java.lang.StringgetLocalizedName(oms3.annotations.Name annotation)static java.lang.StringgetLocalizedStatus(oms3.annotations.Status annotation)
-
Constructor Details
-
AnnotationUtilities
public AnnotationUtilities()
-
-
Method Details
-
getLocalizedDescription
public static java.lang.String getLocalizedDescription(oms3.annotations.Description description) throws java.lang.ExceptionGets the localized description of theDescription.- Parameters:
description- theDescriptionannotation.- 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
-