17                 if (args.length != 1) {
 
   18                         throw new ValueExprEvaluationException(getURI() + 
" requires exactly 1 arguments, got " + args.length);
 
   21                 LiteralType l=LiteralRegistry.getLiteral(((Literal)args[0]).getDatatype().toString());
 
   22                 if(l instanceof VectorLiteral) {
 
   23                         Geometry geom=((VectorLiteral)l).read(args[0].stringValue());
 
   25                         return valueFactory.createLiteral(result);
 
   27                 throw new ValueExprEvaluationException(
"Argument given is not a geometry literal");
 
abstract String operation(Geometry geom)
 
 
References LiteralRegistry.getLiteral(), and GeometricStringExportFunction.operation().
Referenced by AsBinaryTest.testAsBinary(), AsEncodedPolylineTest.testAsEncodedPolyline(), AsGARSTest.testAsGARS(), AsGeoJSONTest.testAsGeoJSON(), AsGeoRSSTest.testAsGeoRSS(), AsGeoURITest.testAsGeoURI(), AsLatLonTextTest.testAsLatLonText(), AsOSMLinkTest.testAsOSMLink(), AsPolyshapeTest.testAsPolyShape(), AsTextTest.testAsText(), AsTextRawTest.testAsTextRaw(), AsTextTest.testAsTextZ(), DumpTest.testDump(), GeomCRSToWKTTest.testGeomCRSToWKT(), GeometryTypeTest.testLineString(), SridGetAxis1OrientationTest.testSridAxis1Orientation(), SridGetAxis2OrientationTest.testSridAxis2Orientation(), SridGetAxis1NameTest.testSridGetAxis1Name(), SridGetAxis2NameTest.testSridGetAxis2Name(), and SridGetDatumTest.testSridGetDatum().