Package org.n52.shetland.util
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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ObjectgetEncodedResultModelFor(String resultModel)static StringgetNamespaceForFeatureType(String featureType)static StringgetObservationTypeFor(QName resultModel)static StringgetObservationTypeFor(Value<?> value)static StringgetObservationTypeFrom(SweAbstractDataComponent component)static QNamegetQNameFor(String observationType)static Collection<QName>getQNamesForResultModel(Collection<String> resultModels4Offering)Get the QName for resultModels from observationType constant
-
-
-
Method Detail
-
getObservationTypeFrom
public static String getObservationTypeFrom(SweAbstractDataComponent component) throws OwsExceptionReport
- Throws:
OwsExceptionReport
-
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
-
-