|
|||||||||||
| 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
|
+--org.wkb4j.factories.EmptyWKBFactory
This Factory dones nothing.
| 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 | |
EmptyWKBFactory()
|
|
| 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 |
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. |
| Methods inherited from class org.wkb4j.factories.LoggingWKBFactory |
addPoints3D, 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 EmptyWKBFactory()
| Method Detail |
public void beginWork()
WKBFactory
beginWork in interface WKBFactorybeginWork in class LoggingWKBFactoryWKBFactory.beginWork()public void endWork()
WKBFactory
endWork in interface WKBFactoryendWork in class LoggingWKBFactoryWKBFactory.endWork()public void abortWork()
WKBFactory
abortWork in interface WKBFactoryabortWork in class LoggingWKBFactoryWKBFactory.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 LoggingWKBFactoryorg.wkb4j.engine.WKBFactory#beginUnit()public void endUnit()
WKBFactoryGeometry.
endUnit in interface WKBFactoryendUnit in class LoggingWKBFactoryWKBFactory.endUnit()public void abortUnit()
WKBFactoryGeometry.
abortUnit in interface WKBFactoryabortUnit in class LoggingWKBFactoryWKBFactory.abortUnit()public boolean beginGeometryCollection(int count)
WKBFactoryGeometryCollection.
beginGeometryCollection in interface WKBFactorybeginGeometryCollection in class LoggingWKBFactoryorg.wkb4j.engine.WKBFactory#beginGeometryCollection()public boolean endGeometryCollection()
WKBFactoryGeometryCollection.
endGeometryCollection in interface WKBFactoryendGeometryCollection in class LoggingWKBFactoryWKBFactory.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 LoggingWKBFactoryWKBFactory.abortGeometryCollection()public boolean beginLineString(int count)
WKBFactoryLineString.
* @param count the number of elements in the LineString
beginLineString in interface WKBFactorybeginLineString in class LoggingWKBFactoryorg.wkb4j.engine.WKBFactory#beginLineString()public boolean endLineString()
WKBFactoryLineString.
endLineString in interface WKBFactoryendLineString in class LoggingWKBFactoryWKBFactory.endLineString()public void abortLineString()
WKBFactoryLineString. This can happen at any time,
and Factories should just skip the malformed
abortLineString in interface WKBFactoryabortLineString in class LoggingWKBFactoryWKBFactory.abortLineString()public boolean beginMultiLineString(int count)
WKBFactoryMultiLineString.
beginMultiLineString in interface WKBFactorybeginMultiLineString in class LoggingWKBFactoryorg.wkb4j.engine.WKBFactory#beginMultiLineString()public boolean endMultiLineString()
WKBFactoryMultiLineString.
endMultiLineString in interface WKBFactoryendMultiLineString in class LoggingWKBFactoryWKBFactory.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 LoggingWKBFactoryWKBFactory.abortMultiLineString()public boolean beginPoint()
WKBFactoryPoint.
* @param count the number of elements in the Point
beginPoint in interface WKBFactorybeginPoint in class LoggingWKBFactoryWKBFactory.beginPoint()public boolean endPoint()
WKBFactoryPoint.
endPoint in interface WKBFactoryendPoint in class LoggingWKBFactoryWKBFactory.endPoint()public void abortPoint()
WKBFactoryPoint. This can happen at any time,
and Factories should just skip the malformed
abortPoint in interface WKBFactoryabortPoint in class LoggingWKBFactoryWKBFactory.abortPoint()public boolean beginMultiPoint(int count)
WKBFactoryMultiPoint.
beginMultiPoint in interface WKBFactorybeginMultiPoint in class LoggingWKBFactoryorg.wkb4j.engine.WKBFactory#beginMultiPoint()public boolean endMultiPoint()
WKBFactoryMultiPoint.
endMultiPoint in interface WKBFactoryendMultiPoint in class LoggingWKBFactoryWKBFactory.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 LoggingWKBFactoryWKBFactory.abortMultiPoint()public boolean beginMultiPolygon(int count)
WKBFactoryMultiPolygon.
beginMultiPolygon in interface WKBFactorybeginMultiPolygon in class LoggingWKBFactoryorg.wkb4j.engine.WKBFactory#beginMultiPolygon()public boolean endMultiPolygon()
WKBFactoryMultiPolygon.
endMultiPolygon in interface WKBFactoryendMultiPolygon in class LoggingWKBFactoryWKBFactory.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 LoggingWKBFactoryWKBFactory.abortMultiPolygon()public boolean beginPolygon(int count)
WKBFactoryPolygon.
beginPolygon in interface WKBFactorybeginPolygon in class LoggingWKBFactoryorg.wkb4j.engine.WKBFactory#beginPolygon()public boolean endPolygon()
WKBFactoryPolygon.
endPolygon in interface WKBFactoryendPolygon in class LoggingWKBFactoryWKBFactory.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 LoggingWKBFactoryWKBFactory.abortPolygon()public boolean beginLinearRing(int count)
WKBFactoryLinearRing.
beginLinearRing in interface WKBFactorybeginLinearRing in class LoggingWKBFactoryorg.wkb4j.engine.WKBFactory#beginPolygon()public boolean endLinearRing()
WKBFactoryLinearRing.
endLinearRing in interface WKBFactoryendLinearRing in class LoggingWKBFactoryWKBFactory.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 LoggingWKBFactoryWKBFactory.abortLinearRing()public boolean addPoints(double[] points)
WKBFactory
addPoints in interface WKBFactoryaddPoints in class LoggingWKBFactoryWKBFactory.addPoints(double[])
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||