Package oracle.spatial.util
Class WKB
- java.lang.Object
-
- oracle.spatial.util.WKBasis
-
- oracle.spatial.util.WKB
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classWKB.WKBInputStream-
Nested classes/interfaces inherited from class oracle.spatial.util.WKBasis
WKBasis.VectorOfDouble, WKBasis.VectorOfInt
-
-
Field Summary
-
Fields inherited from class oracle.spatial.util.WKBasis
LABEL_WKB_CIRCULARSTRING, LABEL_WKB_COMPOUNDCURVE, LABEL_WKB_CURVEPOLYGON, LABEL_WKB_GEOMETRYCOLLECTION, LABEL_WKB_LINESTRING, LABEL_WKB_MULTICURVE, LABEL_WKB_MULTILINESTRING, LABEL_WKB_MULTIPOINT, LABEL_WKB_MULTIPOLYGON, LABEL_WKB_MULTISURFACE, LABEL_WKB_NURBSCURVE, LABEL_WKB_POINT, LABEL_WKB_POLYGON, LABEL_WKT_CONTROLPOINTS, LABEL_WKT_DEGREE, LABEL_WKT_KNOT, LABEL_WKT_KNOTS, LABEL_WKT_MULTIPLICITY, LABEL_WKT_NURBSPOINT, LABEL_WKT_VALUE, LABEL_WKT_WEIGHT, LABEL_WKT_WEIGHTEDPOINT, m_defaultByteOrder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WKInputStreamgetWKInputStream(byte[] wkb)protected WKInputStreamgetWKInputStream(java.lang.String wkt)protected voidwriteBeginningOfList(java.io.DataOutputStream out)protected voidwriteBeginningOfList(ByteOrder byteOrder, java.io.DataOutputStream out, int length)protected voidwriteByte(java.io.DataOutputStream out, int b)protected voidwriteByteOrder(java.io.DataOutputStream out)protected voidwriteCoordPairSeparator(java.io.DataOutputStream out)protected voidwriteDouble(ByteOrder byteOrder, java.io.DataOutputStream out, double value)protected voidwriteEndOfList(java.io.DataOutputStream out)protected voidwriteGeometrySeparator(java.io.DataOutputStream out)protected voidwriteInnerLabel(java.io.DataOutputStream out, int label, int outerLabel)protected voidwriteLabel(java.io.DataOutputStream out, int label, int outerLabel, ByteOrder byteOrder)protected voidwriteUInt32(ByteOrder byteOrder, java.io.DataOutputStream out, int value)protected voidwriteXYSeparator(java.io.DataOutputStream out)-
Methods inherited from class oracle.spatial.util.WKBasis
determineCenterAndRadiusForArc, fromJGeometry, fromJGeometry, fromJGeometry_CollectionElement, fromJGeometry_ETYPE_1_1, fromJGeometry_ETYPE_1_n, fromJGeometry_ETYPE_1_n_internal, fromJGeometry_ETYPE_2, fromJGeometry_ETYPE_2_1, fromJGeometry_ETYPE_2_2, fromJGeometry_ETYPE_2_3, fromJGeometry_ETYPE_4, fromJGeometry_ETYPE_4_n, fromJGeometry_ETYPE_x003, fromJGeometry_ETYPE_x003_optimized_circle, fromJGeometry_ETYPE_x003_optimized_rectangle, fromJGeometry_ETYPE_x005, fromJGeometry_GTYPE_COLLECTION, fromJGeometry_GTYPE_CURVE, fromJGeometry_GTYPE_MULTICURVE, fromJGeometry_GTYPE_MULTIPOINT, fromJGeometry_GTYPE_MULTIPOLYGON, fromJGeometry_GTYPE_POINT, fromJGeometry_GTYPE_POLYGON, fromStruct, fromSTRUCT, getEndPosInOrdinateArray, getStartPosInOrdinateArray, hasType, isInnerRing, MDCGEQ, readByte, readByteOrder, readDouble, readEndList, readEndListOrSeparator, readInnerLabel, readLabel, readSeparator, readStartList, readStartList, toJGeometry, toJGeometry, toJGeometry, toJGeometry_WKB_CIRCULARSTRING, toJGeometry_WKB_COLLECTION, toJGeometry_WKB_COMPOUNDCURVE, toJGeometry_WKB_CURVEPOLYGON, toJGeometry_WKB_LINESTRING, toJGeometry_WKB_MULTICURVE, toJGeometry_WKB_MULTILINESTRING, toJGeometry_WKB_MULTIPOINT, toJGeometry_WKB_MULTIPOLYGON, toJGeometry_WKB_MULTISURFACE, toJGeometry_WKB_MULTIXXXPOLYGON, toJGeometry_WKB_MULTIXXXSTRING, toJGeometry_WKB_NURBSCURVE, toJGeometry_WKB_POINT, toJGeometry_WKB_POLYGON, toJGeometry_WKB_XXXSTRING, toStruct, toStruct, toSTRUCT
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface oracle.spatial.util.WKAdapter
fromJGeometry, fromSTRUCT, toJGeometry, toSTRUCT
-
-
-
-
Constructor Detail
-
WKB
public WKB(ByteOrder defaultByteOrder)
-
WKB
public WKB()
-
-
Method Detail
-
getWKInputStream
protected WKInputStream getWKInputStream(byte[] wkb)
- Specified by:
getWKInputStreamin classWKBasis
-
getWKInputStream
protected WKInputStream getWKInputStream(java.lang.String wkt)
- Specified by:
getWKInputStreamin classWKBasis
-
writeDouble
protected void writeDouble(ByteOrder byteOrder, java.io.DataOutputStream out, double value) throws GeometryExceptionWithContext
- Specified by:
writeDoublein classWKBasis- Throws:
GeometryExceptionWithContext
-
writeUInt32
protected void writeUInt32(ByteOrder byteOrder, java.io.DataOutputStream out, int value) throws GeometryExceptionWithContext
- Throws:
GeometryExceptionWithContext
-
writeByteOrder
protected void writeByteOrder(java.io.DataOutputStream out) throws GeometryExceptionWithContext- Specified by:
writeByteOrderin classWKBasis- Throws:
GeometryExceptionWithContext
-
writeLabel
protected void writeLabel(java.io.DataOutputStream out, int label, int outerLabel, ByteOrder byteOrder) throws GeometryExceptionWithContext- Specified by:
writeLabelin classWKBasis- Throws:
GeometryExceptionWithContext
-
writeInnerLabel
protected void writeInnerLabel(java.io.DataOutputStream out, int label, int outerLabel) throws GeometryExceptionWithContext- Specified by:
writeInnerLabelin classWKBasis- Throws:
GeometryExceptionWithContext
-
writeCoordPairSeparator
protected void writeCoordPairSeparator(java.io.DataOutputStream out) throws GeometryExceptionWithContext- Specified by:
writeCoordPairSeparatorin classWKBasis- Throws:
GeometryExceptionWithContext
-
writeGeometrySeparator
protected void writeGeometrySeparator(java.io.DataOutputStream out) throws GeometryExceptionWithContext- Specified by:
writeGeometrySeparatorin classWKBasis- Throws:
GeometryExceptionWithContext
-
writeXYSeparator
protected void writeXYSeparator(java.io.DataOutputStream out) throws GeometryExceptionWithContext- Specified by:
writeXYSeparatorin classWKBasis- Throws:
GeometryExceptionWithContext
-
writeBeginningOfList
protected void writeBeginningOfList(ByteOrder byteOrder, java.io.DataOutputStream out, int length) throws GeometryExceptionWithContext
- Specified by:
writeBeginningOfListin classWKBasis- Throws:
GeometryExceptionWithContext
-
writeBeginningOfList
protected void writeBeginningOfList(java.io.DataOutputStream out) throws GeometryExceptionWithContext- Specified by:
writeBeginningOfListin classWKBasis- Throws:
GeometryExceptionWithContext
-
writeEndOfList
protected void writeEndOfList(java.io.DataOutputStream out) throws GeometryExceptionWithContext- Specified by:
writeEndOfListin classWKBasis- Throws:
GeometryExceptionWithContext
-
writeByte
protected void writeByte(java.io.DataOutputStream out, int b) throws GeometryExceptionWithContext- Specified by:
writeBytein classWKBasis- Throws:
GeometryExceptionWithContext
-
-