oracle.spatial.util
Class GML2

java.lang.Object
  extended by oracle.spatial.util.GML2

public class GML2
extends java.lang.Object


Field Summary
protected static java.sql.Connection _conn
           
protected static java.lang.String _srsAlias
           
protected static java.lang.String _srsNameSpace
           
 
Constructor Summary
GML2()
           
 
Method Summary
protected  void CCWOutputRectangle(int numDim, double[] theOrdinates, int startOrdOffset, java.lang.StringBuffer gmlStream)
           
protected  void CWOutputRectangle(int numDim, double[] theOrdinates, int startOrdOffset, java.lang.StringBuffer gmlStream)
           
 boolean geometryHasArcs(oracle.spatial.geometry.JGeometry theGeom)
           
protected  boolean geometryHasEtypeZero(oracle.spatial.geometry.JGeometry theGeom)
           
protected  void outputCoordinates(int numDim, int numPoints, double[] theOrdinates, int startOrdOffset, java.lang.StringBuffer gmlStream)
           
static void setConnection(java.sql.Connection conn)
           
static void setsrsAlias(java.lang.String srsAlias)
           
static void setsrsNameSpace(java.lang.String srsNameSpace)
           
static java.lang.String to_GMLGeometry(oracle.spatial.geometry.JGeometry theGeom)
           
static java.lang.String to_GMLGeometry(oracle.sql.STRUCT geom)
           
static java.lang.String to_GMLGeometry(oracle.sql.STRUCT geom, java.lang.String srsNameSpace, java.lang.String srsAlias)
           
static oracle.sql.CLOB to_GMLGeometryCLOB(oracle.sql.STRUCT geom)
           
static oracle.sql.CLOB to_GMLGeometryCLOB(oracle.sql.STRUCT geom, java.lang.String srsNameSpace, java.lang.String srsAlias)
           
protected  void toGML(oracle.spatial.geometry.JGeometry theGeom, java.lang.StringBuffer gmlout)
           
 
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

_srsAlias

protected static java.lang.String _srsAlias
Constructor Detail

GML2

public GML2()
Method Detail

setConnection

public static void setConnection(java.sql.Connection conn)

setsrsNameSpace

public static void setsrsNameSpace(java.lang.String srsNameSpace)

setsrsAlias

public static void setsrsAlias(java.lang.String srsAlias)

CCWOutputRectangle

protected void CCWOutputRectangle(int numDim,
                                  double[] theOrdinates,
                                  int startOrdOffset,
                                  java.lang.StringBuffer gmlStream)
                           throws java.io.IOException
Throws:
java.io.IOException

CWOutputRectangle

protected void CWOutputRectangle(int numDim,
                                 double[] theOrdinates,
                                 int startOrdOffset,
                                 java.lang.StringBuffer gmlStream)
                          throws java.io.IOException
Throws:
java.io.IOException

outputCoordinates

protected void outputCoordinates(int numDim,
                                 int numPoints,
                                 double[] theOrdinates,
                                 int startOrdOffset,
                                 java.lang.StringBuffer gmlStream)
                          throws java.io.IOException
Throws:
java.io.IOException

geometryHasArcs

public boolean geometryHasArcs(oracle.spatial.geometry.JGeometry theGeom)

geometryHasEtypeZero

protected boolean geometryHasEtypeZero(oracle.spatial.geometry.JGeometry theGeom)

toGML

protected void toGML(oracle.spatial.geometry.JGeometry theGeom,
                     java.lang.StringBuffer gmlout)
              throws java.sql.SQLException,
                     java.io.IOException,
                     oracle.spatial.geometry.DataException
Throws:
java.sql.SQLException
java.io.IOException
oracle.spatial.geometry.DataException

to_GMLGeometryCLOB

public static oracle.sql.CLOB to_GMLGeometryCLOB(oracle.sql.STRUCT geom,
                                                 java.lang.String srsNameSpace,
                                                 java.lang.String srsAlias)
                                          throws java.sql.SQLException,
                                                 java.io.IOException,
                                                 java.lang.Exception
Throws:
java.sql.SQLException
java.io.IOException
java.lang.Exception

to_GMLGeometry

public static java.lang.String to_GMLGeometry(oracle.sql.STRUCT geom,
                                              java.lang.String srsNameSpace,
                                              java.lang.String srsAlias)
                                       throws java.sql.SQLException,
                                              java.io.IOException,
                                              java.lang.Exception
Throws:
java.sql.SQLException
java.io.IOException
java.lang.Exception

to_GMLGeometry

public static java.lang.String to_GMLGeometry(oracle.sql.STRUCT geom)
                                       throws java.sql.SQLException,
                                              java.io.IOException
Throws:
java.sql.SQLException
java.io.IOException

to_GMLGeometryCLOB

public static oracle.sql.CLOB to_GMLGeometryCLOB(oracle.sql.STRUCT geom)
                                          throws java.sql.SQLException,
                                                 java.io.IOException,
                                                 java.lang.Exception
Throws:
java.sql.SQLException
java.io.IOException
java.lang.Exception

to_GMLGeometry

public static java.lang.String to_GMLGeometry(oracle.spatial.geometry.JGeometry theGeom)
                                       throws java.sql.SQLException,
                                              java.io.IOException
Throws:
java.sql.SQLException
java.io.IOException