public void setNamespace(String namespace) { if (StringHelper.isNotEmpty(namespace)) { this.namespace = namespace; } }
@Override public Set<String> getChildOfferings(final String offeringIdentifier, final boolean fullHierarchy, final boolean includeSelf) { return getHierarchy(this.childOfferingsForOfferings, offeringIdentifier, fullHierarchy, includeSelf); }
protected static XmlObject encodeSweCommon(Object o, Map<HelperValues, String> helperValues) throws OwsExceptionReport { return CodingHelper.encodeObjectToXml(SweConstants.NS_SWE_20, o, helperValues); } }
/** * Get WKT string from longitude and latitude with axis order as defined by EPSG code. * * @param longitude Longitude coordinate * @param latitude Latitude coordinate * @param epsg EPSG code to check for axis order * * @return WKT string */ public String getWktString(Object longitude, Object latitude, int epsg) { return getWktString(latitude, longitude, isNorthingFirstEpsgCode(epsg)); }
/** * Check if the EPSG code is easting first. * * @param epsgCode EPSG code to check * * @return <code>true</code>, if the EPSG code is easting first */ public boolean isEastingFirstEpsgCode(int epsgCode) { return !isNorthingFirstEpsgCode(epsgCode); }
protected static XmlObject encodeGWMLProperty(Object o, Map<HelperValues, String> helperValues) throws OwsExceptionReport { return CodingHelper.encodeObjectToXmlPropertyType(GWMLConstants.NS_GWML_22, o, helperValues); } }
@SuppressWarnings("unchecked") private static Set<EncoderKey> createEncoderKeys() { return CollectionHelper.union(getDefaultEncoderKeys(), CodingHelper.encoderKeysForElements( WaterMLConstants.NS_WML_20_DR, GetObservationResponse.class, OmObservation.class, AbstractFeature.class, SingleObservationValue.class, MultiObservationValues.class)); }
/** * Get WKT string from longitude and latitude. * * @param longitude Longitude coordinate * @param latitude Latitude coordinate * * @return WKT string */ public String getWktString(Object longitude, Object latitude) { return getWktString(latitude, longitude, datasoureUsesNorthingFirst); }
/** * @param value */ public IncDecInteger(int value) { set(value); }
/** * Convert from old-style VividSolutions Envelops to new-style LocationTech Envelopes. * * @param envelope the envelope * * @return the converted envelope */ public static org.locationtech.jts.geom.Envelope convert(com.vividsolutions.jts.geom.Envelope envelope) { return VS2LT_CONVERTER.convert(envelope); }
protected static XmlObject encodeInspireOMSO(Object o, Map<HelperValues, String> helperValues) throws OwsExceptionReport { return CodingHelper.encodeObjectToXml(InspireOMSOConstants.NS_OMSO_30, o, helperValues); }
public GetDataAvailabilityRequest setNamespace(String namspace) { if (StringHelper.isNotEmpty(namspace)) { this.namspace = namspace; } return this; }
@Override public Set<String> getParentOfferings(final Set<String> offeringIdentifiers, final boolean fullHierarchy, final boolean includeSelves) { return getHierarchy(this.parentOfferingsForOfferings, offeringIdentifiers, fullHierarchy, includeSelves); }
@Override public Set<String> getChildOfferings(final String offeringIdentifier, final boolean fullHierarchy, final boolean includeSelf) { return getHierarchy(this.childOfferingsForOfferings, offeringIdentifier, fullHierarchy, includeSelf); }
@Override public Set<String> getParentFeatures(final Set<String> featureIdentifiers, final boolean fullHierarchy, final boolean includeSelves) { return getHierarchy(this.parentFeaturesForFeaturesOfInterest, featureIdentifiers, fullHierarchy, includeSelves); }
@Override public Set<String> getChildProcedures(final String procedureIdentifier, final boolean fullHierarchy, final boolean includeSelf) { return getHierarchy(this.childProceduresForProcedures, procedureIdentifier, fullHierarchy, includeSelf); }
@Override public Set<String> getParentOfferings(final Set<String> offeringIdentifiers, final boolean fullHierarchy, final boolean includeSelves) { return getHierarchy(this.parentOfferingsForOfferings, offeringIdentifiers, fullHierarchy, includeSelves); }
@Override public Set<String> getParentProcedures(String procedureIdentifier, boolean fullHierarchy, boolean includeSelf) { return getHierarchy(this.parentProceduresForProcedures, procedureIdentifier, fullHierarchy, includeSelf); }
@Override public Set<String> getChildOfferings(final Set<String> offeringIdentifiers, final boolean fullHierarchy, final boolean includeSelves) { return getHierarchy(this.childOfferingsForOfferings, offeringIdentifiers, fullHierarchy, includeSelves); }