Class GML3g


  • public class GML3g
    extends java.lang.Object
    • Field Detail

      • GML_POS_LIST_ELEMENT

        public static final java.lang.String GML_POS_LIST_ELEMENT
        See Also:
        Constant Field Values
      • GML_SRS_DIMENSION_ATTRIBUTE

        public static final java.lang.String GML_SRS_DIMENSION_ATTRIBUTE
        See Also:
        Constant Field Values
      • GML_COORDINATES_ELEMENT

        public static final java.lang.String GML_COORDINATES_ELEMENT
        Deprecated with GML 3.1.0 Use the explicit properties "lowerCorner" and "upperCorner" instead.
        See Also:
        Constant Field Values
      • GML_COORD_ELEMENT

        public static final java.lang.String GML_COORD_ELEMENT
        Deprecated with GML version 3.0
        See Also:
        Constant Field Values
      • GML_LOWER_CORNER_ELEMENT

        public static final java.lang.String GML_LOWER_CORNER_ELEMENT
        See Also:
        Constant Field Values
      • GML_UPPER_CORNER_ELEMENT

        public static final java.lang.String GML_UPPER_CORNER_ELEMENT
        See Also:
        Constant Field Values
      • _conn

        protected static java.sql.Connection _conn
      • _srsNameSpace

        protected static java.lang.String _srsNameSpace
      • gmlTypes

        protected static final java.util.Set gmlTypes
    • Constructor Detail

      • GML3g

        public GML3g()
    • Method Detail

      • setConnection

        public static void setConnection​(java.sql.Connection conn)
      • setsrsNameSpace

        public static void setsrsNameSpace​(java.lang.String srsNameSpace)
      • getNameSpace

        public static java.lang.String getNameSpace()
      • fromNodeToEnvelope

        public static final JGeometry fromNodeToEnvelope​(org.w3c.dom.Node nd)
                                                  throws DataException,
                                                         java.lang.Exception
        Throws:
        DataException
        java.lang.Exception
      • fromNodeToLineString

        public static JGeometry fromNodeToLineString​(org.w3c.dom.Node nd)
                                              throws DataException,
                                                     java.lang.Exception
        Throws:
        DataException
        java.lang.Exception
      • fromNodeToMultiCurve

        public static JGeometry fromNodeToMultiCurve​(org.w3c.dom.Node nd)
                                              throws DataException,
                                                     java.lang.Exception
        Throws:
        DataException
        java.lang.Exception
      • fromNodeToMultiPoint

        public static JGeometry fromNodeToMultiPoint​(org.w3c.dom.Node nd)
                                              throws DataException,
                                                     java.lang.Exception
        Throws:
        DataException
        java.lang.Exception
      • fromNodeToGeometry

        public static JGeometry fromNodeToGeometry​(org.w3c.dom.Node nd,
                                                   int coordOrder)
                                            throws DataException,
                                                   java.lang.Exception
        Throws:
        DataException
        java.lang.Exception
      • fromNodeToGeometryCollection

        public static JGeometry fromNodeToGeometryCollection​(org.w3c.dom.Node nd)
                                                      throws DataException,
                                                             java.lang.Exception
        Throws:
        DataException
        java.lang.Exception
      • fromNodeToLinearRing

        public static JGeometry fromNodeToLinearRing​(org.w3c.dom.Node nd)
                                              throws DataException,
                                                     java.lang.Exception
        Throws:
        DataException
        java.lang.Exception
      • fromNodeToMultiSurface

        public static JGeometry fromNodeToMultiSurface​(org.w3c.dom.Node nd)
                                                throws DataException,
                                                       java.lang.Exception
        Parameters:
        nd - A Node representing the input GML
        Returns:
        The resulting JGeometry
        Throws:
        DataException
        java.lang.Exception
      • addCoords

        protected static void addCoords​(java.util.Vector coordVector,
                                        java.lang.String newCoords)
      • addDoubleCoords

        protected static void addDoubleCoords​(java.util.Vector coordVector,
                                              java.lang.String newCoords)
      • getAll

        protected static java.util.Vector getAll​(org.w3c.dom.Node start,
                                                 java.lang.String[] path)
      • getAll

        protected static void getAll​(org.w3c.dom.Node start,
                                     java.lang.String[] path,
                                     int posInPath,
                                     java.util.Vector result)
      • getFirst

        protected static org.w3c.dom.Node getFirst​(org.w3c.dom.Node start,
                                                   java.lang.String[] path)
      • getFirst

        protected static org.w3c.dom.Node getFirst​(org.w3c.dom.Node start,
                                                   java.lang.String[] path,
                                                   int posInPath)
      • normalize

        protected static java.lang.String normalize​(java.lang.String nodeName)
      • fromNodeToCompositeSurface

        public static JGeometry fromNodeToCompositeSurface​(org.w3c.dom.Node nd)
                                                    throws DataException,
                                                           java.lang.Exception
        Throws:
        DataException
        java.lang.Exception
      • fromNodeToCompositeSolid

        public static JGeometry fromNodeToCompositeSolid​(org.w3c.dom.Node nd)
                                                  throws DataException,
                                                         java.lang.Exception
        Throws:
        DataException
        java.lang.Exception
      • fromNodeToMultiSolid

        public static JGeometry fromNodeToMultiSolid​(org.w3c.dom.Node nd)
                                              throws DataException,
                                                     java.lang.Exception
        Throws:
        DataException
        java.lang.Exception
      • reverseAxisOrder

        public static int reverseAxisOrder​(int coordOrder,
                                           int theSRID,
                                           java.sql.Connection conn)
                                    throws DataException,
                                           java.lang.Exception
        Throws:
        DataException
        java.lang.Exception