Class KML


  • public class KML
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.sql.Connection _conn  
      protected static java.lang.String _srsNameSpace  
      protected static java.util.Set kmlTypes  
    • Constructor Summary

      Constructors 
      Constructor Description
      KML()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static void addCoords​(java.util.Vector coordVector, java.lang.String newCoords)  
      static JGeometry fromNodeToCurve​(org.w3c.dom.Node nd)  
      static JGeometry fromNodeToGeometry​(org.w3c.dom.Node nd)  
      static JGeometry fromNodeToGeometryCollection​(org.w3c.dom.Node nd)  
      static JGeometry fromNodeToLinearRing​(org.w3c.dom.Node nd)  
      static JGeometry fromNodeToPoint​(org.w3c.dom.Node nd)  
      static JGeometry fromNodeToPolygon​(org.w3c.dom.Node nd)  
      protected static java.util.Vector getAll​(org.w3c.dom.Node start, java.lang.String[] path)  
      protected static void getAll​(org.w3c.dom.Node start, java.lang.String[] path, int posInPath, java.util.Vector result)  
      protected static org.w3c.dom.Node getFirst​(org.w3c.dom.Node start, java.lang.String[] path)  
      protected static org.w3c.dom.Node getFirst​(org.w3c.dom.Node start, java.lang.String[] path, int posInPath)  
      static java.util.Vector getGeometry​(org.w3c.dom.Node start, java.lang.String[] geometryTypes)  
      static void getGeometry​(org.w3c.dom.Node start, java.lang.String[] geometryTypes, java.util.Vector result)  
      static java.lang.String getNameSpace()  
      protected static java.lang.String normalize​(java.lang.String nodeName)  
      static void setConnection​(java.sql.Connection conn)  
      static void setsrsNameSpace​(java.lang.String srsNameSpace)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • _conn

        protected static java.sql.Connection _conn
      • _srsNameSpace

        protected static java.lang.String _srsNameSpace
      • kmlTypes

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

      • KML

        public KML()
    • 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()
      • 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
      • addCoords

        protected static void addCoords​(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)
      • getGeometry

        public static java.util.Vector getGeometry​(org.w3c.dom.Node start,
                                                   java.lang.String[] geometryTypes)
      • getGeometry

        public static void getGeometry​(org.w3c.dom.Node start,
                                       java.lang.String[] geometryTypes,
                                       java.util.Vector result)