Java Doc for SDOOnlineTest.java in  » GIS » GeoTools-2.4.1 » org » geotools » data » oracle » sdo » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » GeoTools 2.4.1 » org.geotools.data.oracle.sdo 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.geotools.data.oracle.sdo.SDOOnlineTest

SDOOnlineTest
public class SDOOnlineTest extends TestCase (Code)

author:
   jgarnett
author:
   TODO To change the template for this generated type comment go to
author:
   Window - Preferences - Java - Code Style - Code Templates


Field Summary
 GeometryConverterconverter
    
 GeometryFixturefixture
    
 OracleTestFixtureoracle
    

Constructor Summary
public  SDOOnlineTest(String arg0)
     Constructor for GeometryToJTSTest.

Method Summary
protected  voidassertEquals(Geometry expected, Geometry actual)
    
protected  voidassertEquals(String message, Geometry expected, Geometry actual)
    
protected  voidassertEquals(String message, int[] expected, int actual)
    
protected  voidassertEquals(String message, double[] expected, double actual)
    
protected  voidsetUp()
    
protected  voidtearDown()
    
final public  voidtestDecodeLine()
    
final public  voidtestDecodeMultiLine()
    
final public  voidtestDecodeMultiPoint()
    
final public  voidtestDecodeMultiPolygon()
    
final public  voidtestDecodeMultiPolygonWithHole()
    
final public  voidtestDecodePoint()
    
final public  voidtestDecodePolygon()
    
final public  voidtestDecodePolygonWithHole()
    
final public  voidtestDecodeRectangle()
    
final public  voidtestElemInfo()
    
final public  voidtestElemInfoEType()
    
final public  voidtestElemInfoStartingOffset()
    
final public  voidtestGType()
    
final public  voidtestGTypeD()
    
final public  voidtestGTypeL()
    
final public  voidtestGTypeTT()
    
final public  voidtestGeometryCollection()
    
final public  voidtestGeometryElemInfoInterpretation()
    
final public  voidtestOrdinates()
    
final public  voidtestPolygonEncoding()
    
final public  voidtestSRID()
    

Field Detail
converter
GeometryConverter converter(Code)



fixture
GeometryFixture fixture(Code)



oracle
OracleTestFixture oracle(Code)




Constructor Detail
SDOOnlineTest
public SDOOnlineTest(String arg0)(Code)
Constructor for GeometryToJTSTest.
Parameters:
  arg0 -




Method Detail
assertEquals
protected void assertEquals(Geometry expected, Geometry actual)(Code)



assertEquals
protected void assertEquals(String message, Geometry expected, Geometry actual)(Code)



assertEquals
protected void assertEquals(String message, int[] expected, int actual)(Code)



assertEquals
protected void assertEquals(String message, double[] expected, double actual)(Code)



setUp
protected void setUp() throws Exception(Code)



tearDown
protected void tearDown() throws Exception(Code)



testDecodeLine
final public void testDecodeLine() throws SQLException(Code)



testDecodeMultiLine
final public void testDecodeMultiLine() throws SQLException(Code)



testDecodeMultiPoint
final public void testDecodeMultiPoint() throws SQLException(Code)



testDecodeMultiPolygon
final public void testDecodeMultiPolygon() throws SQLException(Code)



testDecodeMultiPolygonWithHole
final public void testDecodeMultiPolygonWithHole() throws SQLException(Code)



testDecodePoint
final public void testDecodePoint() throws SQLException(Code)



testDecodePolygon
final public void testDecodePolygon() throws SQLException(Code)



testDecodePolygonWithHole
final public void testDecodePolygonWithHole() throws SQLException(Code)



testDecodeRectangle
final public void testDecodeRectangle() throws SQLException(Code)



testElemInfo
final public void testElemInfo() throws SQLException(Code)



testElemInfoEType
final public void testElemInfoEType()(Code)



testElemInfoStartingOffset
final public void testElemInfoStartingOffset()(Code)



testGType
final public void testGType() throws SQLException(Code)



testGTypeD
final public void testGTypeD()(Code)



testGTypeL
final public void testGTypeL()(Code)



testGTypeTT
final public void testGTypeTT()(Code)



testGeometryCollection
final public void testGeometryCollection() throws SQLException(Code)



testGeometryElemInfoInterpretation
final public void testGeometryElemInfoInterpretation()(Code)



testOrdinates
final public void testOrdinates() throws SQLException(Code)



testPolygonEncoding
final public void testPolygonEncoding() throws SQLException(Code)
Polygon examples used to illustrate compound encoding.

 5,13+-------------+   11,13
 /               \
 2,11+                 \
 | 7,10+----+10,10  \
 |     |    |       +13,9
 |     |    |       |
 |     |    |       |
 |  7,5+----+10,5   +13,5
 2,4+                  /
 \                /
 4,3+---------------+10,3
 

A Polygon with expected encoding:

  • SDO_GTYPE:2003
    2 dimensional polygon, 3 for polygon
  • SDO_SRID:NULL
  • SDO_POINT:NULL>
  • SDO_ELEM_INFO:(1,1003,1,19,2003,1)
    Two triplets
    • (1,1003,1): exterior polygon ring starting at 1
    • (19,2003,1): interior polygon ring starting at 19
  • SDO_ORDINATES:
     (2,4, 4,3, 10,3, 13,5, 13,9, 11,13, 5,13, 2,11, 2,4,
     7,5, 7,10, 10,10, 10,5, 7,5)
     
     

SQL:

 MDSYS.SDO_GEOMETRY(
 2003,
 NULL,
 NULL,
 MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,1, 19,2003,1),
 MDSYS.SDO_ORDINATE_ARRAY(2,4, 4,3, 10,3, 13,5, 13,9, 11,13, 5,13, 2,11, 2,4,
 7,5, 7,10, 10,10, 10,5, 7,5)
 )
 



testSRID
final public void testSRID() throws SQLException(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.