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 class
WKB.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 WKInputStream
getWKInputStream(byte[] wkb)
protected WKInputStream
getWKInputStream(java.lang.String wkt)
protected void
writeBeginningOfList(java.io.DataOutputStream out)
protected void
writeBeginningOfList(ByteOrder byteOrder, java.io.DataOutputStream out, int length)
protected void
writeByte(java.io.DataOutputStream out, int b)
protected void
writeByteOrder(java.io.DataOutputStream out)
protected void
writeCoordPairSeparator(java.io.DataOutputStream out)
protected void
writeDouble(ByteOrder byteOrder, java.io.DataOutputStream out, double value)
protected void
writeEndOfList(java.io.DataOutputStream out)
protected void
writeGeometrySeparator(java.io.DataOutputStream out)
protected void
writeInnerLabel(java.io.DataOutputStream out, int label, int outerLabel)
protected void
writeLabel(java.io.DataOutputStream out, int label, int outerLabel, ByteOrder byteOrder)
protected void
writeUInt32(ByteOrder byteOrder, java.io.DataOutputStream out, int value)
protected void
writeXYSeparator(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:
getWKInputStream
in classWKBasis
-
getWKInputStream
protected WKInputStream getWKInputStream(java.lang.String wkt)
- Specified by:
getWKInputStream
in classWKBasis
-
writeDouble
protected void writeDouble(ByteOrder byteOrder, java.io.DataOutputStream out, double value) throws GeometryExceptionWithContext
- Specified by:
writeDouble
in 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:
writeByteOrder
in classWKBasis
- Throws:
GeometryExceptionWithContext
-
writeLabel
protected void writeLabel(java.io.DataOutputStream out, int label, int outerLabel, ByteOrder byteOrder) throws GeometryExceptionWithContext
- Specified by:
writeLabel
in classWKBasis
- Throws:
GeometryExceptionWithContext
-
writeInnerLabel
protected void writeInnerLabel(java.io.DataOutputStream out, int label, int outerLabel) throws GeometryExceptionWithContext
- Specified by:
writeInnerLabel
in classWKBasis
- Throws:
GeometryExceptionWithContext
-
writeCoordPairSeparator
protected void writeCoordPairSeparator(java.io.DataOutputStream out) throws GeometryExceptionWithContext
- Specified by:
writeCoordPairSeparator
in classWKBasis
- Throws:
GeometryExceptionWithContext
-
writeGeometrySeparator
protected void writeGeometrySeparator(java.io.DataOutputStream out) throws GeometryExceptionWithContext
- Specified by:
writeGeometrySeparator
in classWKBasis
- Throws:
GeometryExceptionWithContext
-
writeXYSeparator
protected void writeXYSeparator(java.io.DataOutputStream out) throws GeometryExceptionWithContext
- Specified by:
writeXYSeparator
in classWKBasis
- Throws:
GeometryExceptionWithContext
-
writeBeginningOfList
protected void writeBeginningOfList(ByteOrder byteOrder, java.io.DataOutputStream out, int length) throws GeometryExceptionWithContext
- Specified by:
writeBeginningOfList
in classWKBasis
- Throws:
GeometryExceptionWithContext
-
writeBeginningOfList
protected void writeBeginningOfList(java.io.DataOutputStream out) throws GeometryExceptionWithContext
- Specified by:
writeBeginningOfList
in classWKBasis
- Throws:
GeometryExceptionWithContext
-
writeEndOfList
protected void writeEndOfList(java.io.DataOutputStream out) throws GeometryExceptionWithContext
- Specified by:
writeEndOfList
in classWKBasis
- Throws:
GeometryExceptionWithContext
-
writeByte
protected void writeByte(java.io.DataOutputStream out, int b) throws GeometryExceptionWithContext
- Specified by:
writeByte
in classWKBasis
- Throws:
GeometryExceptionWithContext
-
-