|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.wkb4j.factories.AbstractWKBFactory | +--org.wkb4j.factories.LoggingWKBFactory
Field Summary | |
protected static org.apache.log4j.Logger |
log
|
Fields inherited from class org.wkb4j.factories.AbstractWKBFactory |
depthPointer, geometryDepth, inUnit, inWork, typeStack, values, words |
Fields inherited from interface org.wkb4j.engine.WKBGeometryTypes |
linearRing, wkbGeometryCollection, wkbLineString, wkbMultiLineString, wkbMultiPoint, wkbMultiPolygon, wkbPoint, wkbPolygon |
Constructor Summary | |
LoggingWKBFactory()
|
Method Summary | |
void |
abortGeometryCollection()
Signals a malformed GeometryCollection . |
void |
abortLinearRing()
Signals a malformed LinearRing . |
void |
abortLineString()
Signals a malformed LineString . |
void |
abortMultiLineString()
Signals a malformed MultiLineString . |
void |
abortMultiPoint()
Signals a malformed MultiPoint . |
void |
abortMultiPolygon()
Signals a malformed MultiPolygon . |
void |
abortPoint()
Signals a malformed Point . |
void |
abortPolygon()
Signals a malformed Polygon . |
void |
abortUnit()
Signals the problematic stop of the transcription process for a Geometry . |
void |
abortWork()
Signals the problematic stop of the transcription process for a buffer of WKB data. |
boolean |
addPoints(double[] points)
points is an array of doubles reprensentings coordinates. |
boolean |
addPoints3D(double[] points)
points is an array of doubles reprensentings coordinates. |
boolean |
beginGeometryCollection(int count)
Signals the beginning of a new GeometryCollection . |
boolean |
beginLinearRing(int count)
Signals the beginning of a new LinearRing . |
boolean |
beginLineString(int count)
Signals the beginning of a new LineString |
boolean |
beginMultiLineString(int count)
Signals the beginning of a new MultiLineString . |
boolean |
beginMultiPoint(int count)
Signals the beginning of a new MultiPoint . |
boolean |
beginMultiPolygon(int count)
Signals the beginning of a new MultiPolygon . |
boolean |
beginPoint()
Signals the beginning of a new Point |
boolean |
beginPolygon(int count)
Signals the beginning of a new Polygon . |
void |
beginUnit(java.lang.String[] words,
int[] values)
Signals the beginning of the transcription process for a Geometry .
|
void |
beginWork()
Signals the beginning of the transcription process for a buffer of WKB data. |
boolean |
endGeometryCollection()
Signals the end of a GeometryCollection . |
boolean |
endLinearRing()
Signals the end of a LinearRing . |
boolean |
endLineString()
Signals the end of a LineString . |
boolean |
endMultiLineString()
Signals the end of a MultiLineString . |
boolean |
endMultiPoint()
Signals the end of a MultiPoint . |
boolean |
endMultiPolygon()
Signals the end of a MultiPolygon . |
boolean |
endPoint()
Signals the end of a Point . |
boolean |
endPolygon()
Signals the end of a Polygon . |
void |
endUnit()
Signals the end of the transcription process for a Geometry . |
void |
endWork()
Signals the end of the transcription process for a buffer of WKB data. |
void |
reset()
|
Methods inherited from class org.wkb4j.factories.AbstractWKBFactory |
beginUnit, getValues, getWords, init, newGeometryCollectionComponent, setValues, setWords |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static org.apache.log4j.Logger log
Constructor Detail |
public LoggingWKBFactory()
Method Detail |
public void beginWork()
WKBFactory
beginWork
in interface WKBFactory
beginWork
in class AbstractWKBFactory
WKBFactory.beginWork()
public void endWork()
WKBFactory
endWork
in interface WKBFactory
endWork
in class AbstractWKBFactory
WKBFactory.endWork()
public void abortWork()
WKBFactory
abortWork
in interface WKBFactory
abortWork
in class AbstractWKBFactory
WKBFactory.abortWork()
public void beginUnit(java.lang.String[] words, int[] values)
WKBFactory
Geometry
.
The submitted values will be available to all the Geometries contained in this Geometry
beginUnit
in interface WKBFactory
beginUnit
in class AbstractWKBFactory
org.wkb4j.engine.WKBFactory#beginUnit()
public void endUnit()
WKBFactory
Geometry
.
endUnit
in interface WKBFactory
endUnit
in class AbstractWKBFactory
WKBFactory.endUnit()
public void abortUnit()
WKBFactory
Geometry
.
abortUnit
in interface WKBFactory
abortUnit
in class AbstractWKBFactory
WKBFactory.abortUnit()
public boolean beginGeometryCollection(int count)
WKBFactory
GeometryCollection
.
beginGeometryCollection
in interface WKBFactory
beginGeometryCollection
in class AbstractWKBFactory
org.wkb4j.engine.WKBFactory#beginGeometryCollection()
public boolean endGeometryCollection()
WKBFactory
GeometryCollection
.
endGeometryCollection
in interface WKBFactory
endGeometryCollection
in class AbstractWKBFactory
WKBFactory.endGeometryCollection()
public void abortGeometryCollection()
WKBFactory
GeometryCollection
. This can happen at any time,
and Factories should just skip the malformed Geometry
and maybe escalate the error.
abortGeometryCollection
in interface WKBFactory
abortGeometryCollection
in class AbstractWKBFactory
WKBFactory.abortGeometryCollection()
public boolean beginLineString(int count)
WKBFactory
LineString
.
* @param count the number of elements in the LineString
beginLineString
in interface WKBFactory
beginLineString
in class AbstractWKBFactory
org.wkb4j.engine.WKBFactory#beginLineString()
public boolean endLineString()
WKBFactory
LineString
.
endLineString
in interface WKBFactory
endLineString
in class AbstractWKBFactory
WKBFactory.endLineString()
public void abortLineString()
WKBFactory
LineString
. This can happen at any time,
and Factories should just skip the malformed
abortLineString
in interface WKBFactory
abortLineString
in class AbstractWKBFactory
WKBFactory.abortLineString()
public boolean beginMultiLineString(int count)
WKBFactory
MultiLineString
.
beginMultiLineString
in interface WKBFactory
beginMultiLineString
in class AbstractWKBFactory
org.wkb4j.engine.WKBFactory#beginMultiLineString()
public boolean endMultiLineString()
WKBFactory
MultiLineString
.
endMultiLineString
in interface WKBFactory
endMultiLineString
in class AbstractWKBFactory
WKBFactory.endMultiLineString()
public void abortMultiLineString()
WKBFactory
MultiLineString
. This can happen at any time,
and Factories should just skip the malformed Geometry
and maybe escalate the error.
abortMultiLineString
in interface WKBFactory
abortMultiLineString
in class AbstractWKBFactory
WKBFactory.abortMultiLineString()
public boolean beginPoint()
WKBFactory
Point
.
* @param count the number of elements in the Point
beginPoint
in interface WKBFactory
beginPoint
in class AbstractWKBFactory
WKBFactory.beginPoint()
public boolean endPoint()
WKBFactory
Point
.
endPoint
in interface WKBFactory
endPoint
in class AbstractWKBFactory
WKBFactory.endPoint()
public void abortPoint()
WKBFactory
Point
. This can happen at any time,
and Factories should just skip the malformed
abortPoint
in interface WKBFactory
abortPoint
in class AbstractWKBFactory
WKBFactory.abortPoint()
public boolean beginMultiPoint(int count)
WKBFactory
MultiPoint
.
beginMultiPoint
in interface WKBFactory
beginMultiPoint
in class AbstractWKBFactory
org.wkb4j.engine.WKBFactory#beginMultiPoint()
public boolean endMultiPoint()
WKBFactory
MultiPoint
.
endMultiPoint
in interface WKBFactory
endMultiPoint
in class AbstractWKBFactory
WKBFactory.endMultiPoint()
public void abortMultiPoint()
WKBFactory
MultiPoint
. This can happen at any time,
and Factories should just skip the malformed Geometry
and maybe escalate the error.
abortMultiPoint
in interface WKBFactory
abortMultiPoint
in class AbstractWKBFactory
WKBFactory.abortMultiPoint()
public boolean beginMultiPolygon(int count)
WKBFactory
MultiPolygon
.
beginMultiPolygon
in interface WKBFactory
beginMultiPolygon
in class AbstractWKBFactory
org.wkb4j.engine.WKBFactory#beginMultiPolygon()
public boolean endMultiPolygon()
WKBFactory
MultiPolygon
.
endMultiPolygon
in interface WKBFactory
endMultiPolygon
in class AbstractWKBFactory
WKBFactory.endMultiPolygon()
public void abortMultiPolygon()
WKBFactory
MultiPolygon
. This can happen at any time,
and Factories should just skip the malformed Geometry
and maybe escalate the error.
abortMultiPolygon
in interface WKBFactory
abortMultiPolygon
in class AbstractWKBFactory
WKBFactory.abortMultiPolygon()
public boolean beginPolygon(int count)
WKBFactory
Polygon
.
beginPolygon
in interface WKBFactory
beginPolygon
in class AbstractWKBFactory
org.wkb4j.engine.WKBFactory#beginPolygon()
public boolean endPolygon()
WKBFactory
Polygon
.
endPolygon
in interface WKBFactory
endPolygon
in class AbstractWKBFactory
WKBFactory.endPolygon()
public void abortPolygon()
WKBFactory
Polygon
. This can happen at any time,
and Factories should just skip the malformed Geometry
and maybe escalate the error.
abortPolygon
in interface WKBFactory
abortPolygon
in class AbstractWKBFactory
WKBFactory.abortPolygon()
public boolean beginLinearRing(int count)
WKBFactory
LinearRing
.
beginLinearRing
in interface WKBFactory
beginLinearRing
in class AbstractWKBFactory
org.wkb4j.engine.WKBFactory#beginLinearRing()
public boolean endLinearRing()
WKBFactory
LinearRing
.
endLinearRing
in interface WKBFactory
endLinearRing
in class AbstractWKBFactory
WKBFactory.endLinearRing()
public void abortLinearRing()
WKBFactory
LinearRing
. This can happen at any time,
and Factories should just skip the malformed Geometry
and maybe escalate the error.
abortLinearRing
in interface WKBFactory
abortLinearRing
in class AbstractWKBFactory
WKBFactory.abortLinearRing()
public boolean addPoints(double[] points)
WKBFactory
addPoints
in interface WKBFactory
addPoints
in class AbstractWKBFactory
WKBFactory.addPoints(double[])
public boolean addPoints3D(double[] points)
WKBFactory3D
addPoints3D
in interface WKBFactory3D
addPoints3D
in class AbstractWKBFactory
WKBFactory.addPoints(double[])
public void reset()
reset
in class AbstractWKBFactory
AbstractWKBFactory.reset()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |