Oracle® Spatial Java API Reference
10g Release 2 (10.2)

B14373-02


oracle.spatial.util
Class Adapters

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


public class Adapters
extends java.lang.Object

Field Summary
protected static java.sql.Connection m_conn
           
protected static WKB m_wkbAdapter
           
protected static WKT m_wktAdapter
           

 

Constructor Summary
Adapters()
           

 

Method Summary
static BLOB structToWkb(STRUCT geom)
           
static BLOB structToWkb(STRUCT geom, java.sql.Connection conn)
           
protected static BLOB structToWkb2(STRUCT geom, java.sql.Connection conn)
           
static CLOB structToWkt(STRUCT geom)
           
static CLOB structToWkt(STRUCT geom, java.sql.Connection conn)
           
protected static CLOB structToWkt2(STRUCT geom, java.sql.Connection conn)
           
static java.lang.String validateWkb(BLOB wkb)
           
static java.lang.String validateWkb(BLOB wkb, java.sql.Connection conn)
           
static java.lang.String validateWkt(CLOB wkt)
           
static java.lang.String validateWkt(CLOB wkt, java.sql.Connection conn)
           
static STRUCT wkbToSTRUCT(BLOB wkb)
           
static STRUCT wkbToSTRUCT(BLOB wkb, java.sql.Connection conn)
           
protected static STRUCT wkbToSTRUCT2(BLOB wkb, java.sql.Connection conn)
           
static STRUCT wktToSTRUCT(CLOB wkt)
           
static STRUCT wktToSTRUCT(CLOB wkt, java.sql.Connection conn)
           
protected static STRUCT wktToSTRUCT2(CLOB wkt, java.sql.Connection conn)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

m_conn

protected static final java.sql.Connection m_conn

m_wkbAdapter

protected static final WKB m_wkbAdapter

m_wktAdapter

protected static final WKT m_wktAdapter

Constructor Detail

Adapters

public Adapters()

Method Detail

wkbToSTRUCT

public static STRUCT wkbToSTRUCT(BLOB wkb)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

wkbToSTRUCT

public static STRUCT wkbToSTRUCT(BLOB wkb,
                                 java.sql.Connection conn)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

wkbToSTRUCT2

protected static STRUCT wkbToSTRUCT2(BLOB wkb,
                                     java.sql.Connection conn)
                              throws java.sql.SQLException,
                                     GeometryExceptionWithContext
Throws:
java.sql.SQLException
GeometryExceptionWithContext

wktToSTRUCT

public static STRUCT wktToSTRUCT(CLOB wkt)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

wktToSTRUCT

public static STRUCT wktToSTRUCT(CLOB wkt,
                                 java.sql.Connection conn)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

wktToSTRUCT2

protected static STRUCT wktToSTRUCT2(CLOB wkt,
                                     java.sql.Connection conn)
                              throws java.sql.SQLException,
                                     GeometryExceptionWithContext
Throws:
java.sql.SQLException
GeometryExceptionWithContext

structToWkb

public static BLOB structToWkb(STRUCT geom)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

structToWkb

public static BLOB structToWkb(STRUCT geom,
                               java.sql.Connection conn)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

structToWkb2

protected static BLOB structToWkb2(STRUCT geom,
                                   java.sql.Connection conn)
                            throws java.sql.SQLException,
                                   GeometryExceptionWithContext
Throws:
java.sql.SQLException
GeometryExceptionWithContext

structToWkt

public static CLOB structToWkt(STRUCT geom)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

structToWkt

public static CLOB structToWkt(STRUCT geom,
                               java.sql.Connection conn)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

structToWkt2

protected static CLOB structToWkt2(STRUCT geom,
                                   java.sql.Connection conn)
                            throws java.sql.SQLException,
                                   GeometryExceptionWithContext
Throws:
java.sql.SQLException
GeometryExceptionWithContext

validateWkt

public static java.lang.String validateWkt(CLOB wkt)

validateWkt

public static java.lang.String validateWkt(CLOB wkt,
                                           java.sql.Connection conn)

validateWkb

public static java.lang.String validateWkb(BLOB wkb)

validateWkb

public static java.lang.String validateWkb(BLOB wkb,
                                           java.sql.Connection conn)

Oracle® Spatial Java API Reference
10g Release 2 (10.2)

B14373-02


Copyright © 2006, Oracle. All Rights Reserved.