kiwi-postgis  Version 0.1.0.0
LiteralRegistry Class Reference
Collaboration diagram for LiteralRegistry:

Public Member Functions

 LiteralRegistry ()
 

Static Public Member Functions

static LiteralType getLiteral (String uri)
 

Static Public Attributes

static final Map< String, LiteralTypeliterals =new TreeMap<>()
 
static final LiteralRegistry INSTANCE =new LiteralRegistry()
 

Constructor & Destructor Documentation

◆ LiteralRegistry()

References NetCDFDatatype.INSTANCE, SVGDatatype.INSTANCE, GMLCOVDatatype.INSTANCE, GeoTIFFDatatype.INSTANCE, WKBRastDatatype.INSTANCE, CovJSONDatatype.INSTANCE, GeoURIDatatype.INSTANCE, WKTDatatype.INSTANCE, HexWKBRastDatatype.INSTANCE, PolyshapeDatatype.INSTANCE, KMLDatatype.INSTANCE, GeobufDatatype.INSTANCE, GPXDatatype.INSTANCE, HexWKBDatatype.INSTANCE, WKBDatatype.INSTANCE, TWKBDatatype.INSTANCE, EncodedPolylineDatatype.INSTANCE, DXFDatatype.INSTANCE, TopoJSONDatatype.INSTANCE, GMLDatatype.INSTANCE, GeoJSONDatatype.INSTANCE, NetCDFDatatype.URI, SVGDatatype.URI, GMLCOVDatatype.URI, GeoTIFFDatatype.URI, GeoURIDatatype.URI, WKTDatatype.URI, WKBRastDatatype.URI, CovJSONDatatype.URI, PolyshapeDatatype.URI, KMLDatatype.URI, HexWKBRastDatatype.URI, GeobufDatatype.URI, GPXDatatype.URI, HexWKBDatatype.URI, WKBDatatype.URI, TWKBDatatype.URI, EncodedPolylineDatatype.URI, DXFDatatype.URI, TopoJSONDatatype.URI, GMLDatatype.URI, and GeoJSONDatatype.URI.

35  {
36  literals.put(GMLDatatype.URI, GMLDatatype.INSTANCE);
37  literals.put(KMLDatatype.URI, KMLDatatype.INSTANCE);
38  literals.put(TWKBDatatype.URI, TWKBDatatype.INSTANCE);
39  literals.put(WKBDatatype.URI, WKBDatatype.INSTANCE);
40  literals.put(WKTDatatype.URI, WKTDatatype.INSTANCE);
41  literals.put(GeoJSONDatatype.URI, GeoJSONDatatype.INSTANCE);
42  literals.put(GeoURIDatatype.URI, GeoURIDatatype.INSTANCE);
43  literals.put(GPXDatatype.URI, GPXDatatype.INSTANCE);
44  literals.put(HexWKBDatatype.URI, HexWKBDatatype.INSTANCE);
45  literals.put(SVGDatatype.URI, SVGDatatype.INSTANCE);
46  literals.put(GeobufDatatype.URI, GeobufDatatype.INSTANCE);
47  literals.put(TopoJSONDatatype.URI, TopoJSONDatatype.INSTANCE);
48  literals.put(PolyshapeDatatype.URI, PolyshapeDatatype.INSTANCE);
49  literals.put(DXFDatatype.URI, DXFDatatype.INSTANCE);
50  literals.put(EncodedPolylineDatatype.URI, EncodedPolylineDatatype.INSTANCE);
51  literals.put(WKBRastDatatype.URI, WKBRastDatatype.INSTANCE);
52  literals.put(GeoTIFFDatatype.URI, GeoTIFFDatatype.INSTANCE);
53  literals.put(GMLCOVDatatype.URI, GMLCOVDatatype.INSTANCE);
54  literals.put(CovJSONDatatype.URI, CovJSONDatatype.INSTANCE);
55  literals.put(NetCDFDatatype.URI, NetCDFDatatype.INSTANCE);
56  literals.put(HexWKBRastDatatype.URI, HexWKBRastDatatype.INSTANCE);
57  }
static final Map< String, LiteralType > literals
Definition: LiteralRegistry.java:31

Member Function Documentation

◆ getLiteral()

static LiteralType getLiteral ( String  uri)
static

Referenced by GeometricBinaryFunction.evaluate(), GeometricConstructor.evaluate(), GeometricModifierFunction.evaluate(), RasterModifierIntIntFunction.evaluate(), RasterConstructorFunction.evaluate(), RasterModifierBoolDoubleFunction.evaluate(), RasterModifierDoubleDoubleFunction.evaluate(), GeometricModifierIntegerFunction.evaluate(), RasterModifierFunction.evaluate(), GeometricModifierStringFunction.evaluate(), GeometricConstructorInteger.evaluate(), RasterAttributeBooleanIntFunction.evaluate(), GeometricRelationBinaryFunction.evaluate(), GeometricRelationDoubleFunction.evaluate(), GeometricDoubleAttributeFunction.evaluate(), GeometricRelationIntegerFunction.evaluate(), GeometricRelationModifierFunction.evaluate(), GeometricDoubleModifierIntegerFunction.evaluate(), GeometricStringExportFunction.evaluate(), GeometricStringExportIntegerFunction.evaluate(), GeometricUnaryFunction.evaluate(), GeometricIntegerAttributeFunction.evaluate(), GeometricModifierDoubleFunction.evaluate(), GeometricBinaryAttributeFunction.evaluate(), GeometricModifierGeometryIntegerFunction.evaluate(), RasterAttributeIntIntDoubleFunction.evaluate(), RasterModifierGeometryFunction.evaluate(), RasterAttributeIntIntGeomFunction.evaluate(), GeometricEditFunction.evaluate(), Intersects.relation(), Overlaps.relation(), Contains.relation(), CoveredBy.relation(), Touches.relation(), Disjoint.relation(), Equals.relation(), Crosses.relation(), Within.relation(), Intersection.relation(), and ContainsProperly.relation().

60  {
61  if(literals.containsKey(uri)) {
62  return literals.get(uri);
63  }
64  return null;
65  }
static final Map< String, LiteralType > literals
Definition: LiteralRegistry.java:31

Member Data Documentation

◆ INSTANCE

final LiteralRegistry INSTANCE =new LiteralRegistry()
static

◆ literals

final Map<String,LiteralType> literals =new TreeMap<>()
static