GeometryWrapper implements Serializable { public String getSrsURI() { return srsInfo.getSrsURI(); } GeometryWrapper(Geometry geometry, String srsURI, String geometryDatatypeURI, DimensionInfo dimensionInfo);  GeometryWrapper(Geometry geometry, String srsURI, String geometryDatatypeURI, DimensionInfo dimensionInfo, String geometryLiteral); protected  GeometryWrapper(Geometry parsingGeometry, Geometry xyGeometry, String srsURI, String geometryDatatypeURI, DimensionInfo dimensionInfo); protected  GeometryWrapper(Geometry parsingGeometry, Geometry xyGeometry, String srsURI, String geometryDatatypeURI, DimensionInfo dimensionInfo, String lexicalForm);  GeometryWrapper(Geometry geometry, String geometryDatatypeURI);  GeometryWrapper(Geometry geometry, String srsURI, String geometryDatatypeURI);  GeometryWrapper(String srsURI, String geometryDatatypeURI);  GeometryWrapper(CustomCoordinateSequence pointCoordinateSequence, String geometryDatatypeURI, String srsURI);  GeometryWrapper(GeometryWrapper geometryWrapper); GeometryWrapper checkTransformSRS(GeometryWrapper targetGeometryWrapper); GeometryWrapper transform(String srsURI); GeometryWrapper transform(SRSInfo srsInfo); GeometryWrapper convertSRS(String srsURI); CoordinateReferenceSystem getCRS(); Geometry getXYGeometry(); Geometry getParsingGeometry(); Geometry translateXYGeometry(); String getSrsURI(); String getSRID(); SRSInfo getSrsInfo(); Boolean isSRSRecognised(); String getGeometryDatatypeURI(); String getGeometryType(); GeometryDatatype getGeometryDatatype(); GeometryWrapper buffer(double distance, String targetDistanceUnitsURI); String getUTMZoneURI(); Double getLatitude(); double distanceEuclidean(GeometryWrapper targetGeometry); double distanceEuclidean(GeometryWrapper targetGeometry, UnitsOfMeasure unitsOfMeasure); double distanceEuclidean(GeometryWrapper targetGeometry, String targetDistanceUnitsURI); double distanceGreatCircle(GeometryWrapper targetGeometry); double distanceGreatCircle(GeometryWrapper targetGeometry, UnitsOfMeasure unitsOfMeasure); double distanceGreatCircle(GeometryWrapper targetGeometry, String targetDistanceUnitsURI); double distance(GeometryWrapper targetGeometry); double distance(GeometryWrapper targetGeometry, UnitsOfMeasure unitsOfMeasure); double distance(GeometryWrapper targetGeometry, String targetDistanceUnitsURI); GeometryWrapper boundary(); GeometryWrapper convexHull(); GeometryWrapper difference(GeometryWrapper targetGeometry); GeometryWrapper envelope(); Envelope getEnvelope(); GeometryWrapper intersection(GeometryWrapper targetGeometry); IntersectionMatrix relate(GeometryWrapper targetGeometry); boolean relate(GeometryWrapper targetGeometry, String intersectionPattern); GeometryWrapper symDifference(GeometryWrapper targetGeometry); GeometryWrapper union(GeometryWrapper targetGeometry); boolean contains(GeometryWrapper targetGeometry); boolean crosses(GeometryWrapper targetGeometry); boolean disjoint(GeometryWrapper targetGeometry); boolean equalsTopo(GeometryWrapper targetGeometry); boolean equalsExact(GeometryWrapper targetGeometry); boolean equalsExact(GeometryWrapper targetGeometry, double tolerance); boolean intersects(GeometryWrapper targetGeometry); boolean overlaps(GeometryWrapper targetGeometry); boolean touches(GeometryWrapper targetGeometry); boolean within(GeometryWrapper targetGeometry); NodeValue asNodeValue(); Node asNode(); Literal asLiteral(); Literal asLiteral(String outputGeometryDatatypeURI); Literal asLiteral(GeometryDatatype datatype); int getCoordinateDimension(); int getSpatialDimension(); int getTopologicalDimension(); CoordinateSequenceDimensions getCoordinateSequenceDimensions(); UnitsOfMeasure getUnitsOfMeasure(); DimensionInfo getDimensionInfo(); String getLexicalForm(); boolean isEmpty(); boolean isSimple(); boolean isValid(); static final GeometryWrapper extract(NodeValue geometryLiteral, GeometryIndex targetIndex); static final GeometryWrapper extract(Node geometryLiteral, GeometryIndex targetIndex); static final GeometryWrapper extract(NodeValue geometryLiteral); static final GeometryWrapper extract(Node geometryLiteral); static final GeometryWrapper extract(Literal geometryLiteral, GeometryIndex targetIndex); static final GeometryWrapper extract(Literal geometryLiteral); static GeometryWrapper extract(String lexicalForm, String datatypeURI); static GeometryWrapper extract(String lexicalForm, String datatypeURI, GeometryIndex targetIndex); static final GeometryWrapper fromPoint(double x, double y, String srsURI); static final GeometryWrapper getEmptyWKT(); static final GeometryWrapper getEmptyGML(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void testGetSrsURI() { Geometry geometry = GEOMETRY_FACTORY.createPoint(new Coordinate(1.0, 2.0)); String sourceSRSURI = SRS_URI.WGS84_CRS; GeometryWrapper instance = new GeometryWrapper(geometry, sourceSRSURI, WKTDatatype.URI, DimensionInfo.XY_POINT); String expResult = SRS_URI.WGS84_CRS; String result = instance.getSrsURI(); assertEquals(expResult, result); }