Class AnnotationUtilities
- java.lang.Object
-
- org.hortonmachine.gui.spatialtoolbox.core.AnnotationUtilities
-
public class AnnotationUtilities extends Object
Utilities to handle annotations.- Author:
- Andrea Antonello (www.hydrologis.com)
-
-
Constructor Summary
Constructors Constructor Description AnnotationUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetLocalizedAuthor(oms3.annotations.Author annotation)static StringgetLocalizedDescription(oms3.annotations.Description description)Gets the localized description of theDescription.static StringgetLocalizedDocumentation(oms3.annotations.Documentation documentation)static StringgetLocalizedKeywords(oms3.annotations.Keywords annotation)static StringgetLocalizedLicense(oms3.annotations.License annotation)static StringgetLocalizedName(oms3.annotations.Name annotation)static StringgetLocalizedStatus(oms3.annotations.Status annotation)
-
-
-
Method Detail
-
getLocalizedDescription
public static String getLocalizedDescription(oms3.annotations.Description description) throws Exception
Gets the localized description of theDescription.- Parameters:
description- theDescriptionannotation.- 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
-
-