Class OMHelper

java.lang.Object
org.n52.shetland.util.OMHelper

public final class OMHelper extends Object
Utility class for Observation and Measurement
Since:
1.0.0
  • Method Details

    • getNamespaceForFeatureType

      public static String getNamespaceForFeatureType(String featureType)
    • getObservationTypeFrom

      public static String getObservationTypeFrom(SweAbstractDataComponent component) throws OwsExceptionReport
      Throws:
      OwsExceptionReport
    • getObservationTypeFor

      public static String getObservationTypeFor(Value<?> value)
    • getObservationTypeFor

      public static String getObservationTypeFor(QName resultModel)
    • getQNamesForResultModel

      public static Collection<QName> getQNamesForResultModel(Collection<String> resultModels4Offering)
      Get the QName for resultModels from observationType constant
      Parameters:
      resultModels4Offering - Observation types
      Returns:
      QNames for resultModel parameter
    • getQNameFor

      public static QName getQNameFor(String observationType)
    • getEncodedResultModelFor

      public static Object getEncodedResultModelFor(String resultModel)