Class GMLDatatype

    • Field Detail

      • URI

        public static final java.lang.String URI
        The default GML type URI.
        See Also:
        Constant Field Values
      • INSTANCE

        public static final GMLDatatype INSTANCE
        A static instance of GMLDatatype.
      • GML_PREFIX

        public static final java.lang.String GML_PREFIX
        XML element tag "gml" is defined for the convenience of GML generation.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GMLDatatype

        public GMLDatatype()
        private constructor - single global instance.
    • Method Detail

      • unparse

        public java.lang.String unparse​(java.lang.Object geometry)
        This method Un-parses the JTS Geometry to the GML literal
        Specified by:
        unparse in interface RDFDatatype
        Overrides:
        unparse in class BaseDatatype
        Parameters:
        geometry - - the JTS Geometry to be un-parsed
        Returns:
        GML - the returned GML Literal.
        Notice that the Spatial Reference System "urn:ogc:def:crs:OGC::CRS84" is predefined in the returned GML literal.