|
|||||||||||
| 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 WKBFactorybeginWork in class AbstractWKBFactoryWKBFactory.beginWork()public void endWork()
WKBFactory
endWork in interface WKBFactoryendWork in class AbstractWKBFactoryWKBFactory.endWork()public void abortWork()
WKBFactory
abortWork in interface WKBFactoryabortWork in class AbstractWKBFactoryWKBFactory.abortWork()
public void beginUnit(java.lang.String[] words,
int[] values)
WKBFactoryGeometry.
The submitted values will be available to all the Geometries contained in this Geometry
beginUnit in interface WKBFactorybeginUnit in class AbstractWKBFactoryorg.wkb4j.engine.WKBFactory#beginUnit()public void endUnit()
WKBFactoryGeometry.
endUnit in interface WKBFactoryendUnit in class AbstractWKBFactoryWKBFactory.endUnit()public void abortUnit()
WKBFactoryGeometry.
abortUnit in interface WKBFactoryabortUnit in class AbstractWKBFactoryWKBFactory.abortUnit()public boolean beginGeometryCollection(int count)
WKBFactoryGeometryCollection.
beginGeometryCollection in interface WKBFactorybeginGeometryCollection in class AbstractWKBFactoryorg.wkb4j.engine.WKBFactory#beginGeometryCollection()public boolean endGeometryCollection()
WKBFactoryGeometryCollection.
endGeometryCollection in interface WKBFactoryendGeometryCollection in class AbstractWKBFactoryWKBFactory.endGeometryCollection()public void abortGeometryCollection()
WKBFactoryGeometryCollection. This can happen at any time,
and Factories should just skip the malformed Geometry and maybe escalate the error.
abortGeometryCollection in interface WKBFactoryabortGeometryCollection in class AbstractWKBFactoryWKBFactory.abortGeometryCollection()public boolean beginLineString(int count)
WKBFactoryLineString.
* @param count the number of elements in the LineString
beginLineString in interface WKBFactorybeginLineString in class AbstractWKBFactoryorg.wkb4j.engine.WKBFactory#beginLineString()public boolean endLineString()
WKBFactoryLineString.
endLineString in interface WKBFactoryendLineString in class AbstractWKBFactoryWKBFactory.endLineString()public void abortLineString()
WKBFactoryLineString. This can happen at any time,
and Factories should just skip the malformed
abortLineString in interface WKBFactoryabortLineString in class AbstractWKBFactoryWKBFactory.abortLineString()public boolean beginMultiLineString(int count)
WKBFactoryMultiLineString.
beginMultiLineString in interface WKBFactorybeginMultiLineString in class AbstractWKBFactoryorg.wkb4j.engine.WKBFactory#beginMultiLineString()public boolean endMultiLineString()
WKBFactoryMultiLineString.
endMultiLineString in interface WKBFactoryendMultiLineString in class AbstractWKBFactoryWKBFactory.endMultiLineString()public void abortMultiLineString()
WKBFactoryMultiLineString. This can happen at any time,
and Factories should just skip the malformed Geometry and maybe escalate the error.
abortMultiLineString in interface WKBFactoryabortMultiLineString in class AbstractWKBFactoryWKBFactory.abortMultiLineString()public boolean beginPoint()
WKBFactoryPoint.
* @param count the number of elements in the Point
beginPoint in interface WKBFactorybeginPoint in class AbstractWKBFactoryWKBFactory.beginPoint()public boolean endPoint()
WKBFactoryPoint.
endPoint in interface WKBFactoryendPoint in class AbstractWKBFactoryWKBFactory.endPoint()public void abortPoint()
WKBFactoryPoint. This can happen at any time,
and Factories should just skip the malformed
abortPoint in interface WKBFactoryabortPoint in class AbstractWKBFactoryWKBFactory.abortPoint()public boolean beginMultiPoint(int count)
WKBFactoryMultiPoint.
beginMultiPoint in interface WKBFactorybeginMultiPoint in class AbstractWKBFactoryorg.wkb4j.engine.WKBFactory#beginMultiPoint()public boolean endMultiPoint()
WKBFactoryMultiPoint.
endMultiPoint in interface WKBFactoryendMultiPoint in class AbstractWKBFactoryWKBFactory.endMultiPoint()public void abortMultiPoint()
WKBFactoryMultiPoint. This can happen at any time,
and Factories should just skip the malformed Geometry and maybe escalate the error.
abortMultiPoint in interface WKBFactoryabortMultiPoint in class AbstractWKBFactoryWKBFactory.abortMultiPoint()public boolean beginMultiPolygon(int count)
WKBFactoryMultiPolygon.
beginMultiPolygon in interface WKBFactorybeginMultiPolygon in class AbstractWKBFactoryorg.wkb4j.engine.WKBFactory#beginMultiPolygon()public boolean endMultiPolygon()
WKBFactoryMultiPolygon.
endMultiPolygon in interface WKBFactoryendMultiPolygon in class AbstractWKBFactoryWKBFactory.endMultiPolygon()public void abortMultiPolygon()
WKBFactoryMultiPolygon. This can happen at any time,
and Factories should just skip the malformed Geometry and maybe escalate the error.
abortMultiPolygon in interface WKBFactoryabortMultiPolygon in class AbstractWKBFactoryWKBFactory.abortMultiPolygon()public boolean beginPolygon(int count)
WKBFactoryPolygon.
beginPolygon in interface WKBFactorybeginPolygon in class AbstractWKBFactoryorg.wkb4j.engine.WKBFactory#beginPolygon()public boolean endPolygon()
WKBFactoryPolygon.
endPolygon in interface WKBFactoryendPolygon in class AbstractWKBFactoryWKBFactory.endPolygon()public void abortPolygon()
WKBFactoryPolygon. This can happen at any time,
and Factories should just skip the malformed Geometry and maybe escalate the error.
abortPolygon in interface WKBFactoryabortPolygon in class AbstractWKBFactoryWKBFactory.abortPolygon()public boolean beginLinearRing(int count)
WKBFactoryLinearRing.
beginLinearRing in interface WKBFactorybeginLinearRing in class AbstractWKBFactoryorg.wkb4j.engine.WKBFactory#beginLinearRing()public boolean endLinearRing()
WKBFactoryLinearRing.
endLinearRing in interface WKBFactoryendLinearRing in class AbstractWKBFactoryWKBFactory.endLinearRing()public void abortLinearRing()
WKBFactoryLinearRing. This can happen at any time,
and Factories should just skip the malformed Geometry and maybe escalate the error.
abortLinearRing in interface WKBFactoryabortLinearRing in class AbstractWKBFactoryWKBFactory.abortLinearRing()public boolean addPoints(double[] points)
WKBFactory
addPoints in interface WKBFactoryaddPoints in class AbstractWKBFactoryWKBFactory.addPoints(double[])public boolean addPoints3D(double[] points)
WKBFactory3D
addPoints3D in interface WKBFactory3DaddPoints3D in class AbstractWKBFactoryWKBFactory.addPoints(double[])public void reset()
reset in class AbstractWKBFactoryAbstractWKBFactory.reset()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||