Package org.vast.ogc.gml
Class SequentialIdGenerator<T>
java.lang.Object
org.vast.ogc.gml.SequentialIdGenerator<T>
- Type Parameters:
T
- Type of identified object
- All Implemented Interfaces:
GmlIdGenerator<T>
Implementation of GML ID generator that just creates numerical IDs in sequence, prefixed by a configurable string.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
prefix
-
keepOriginal
protected boolean keepOriginal -
counter
protected int counter
-
-
Constructor Details
-
SequentialIdGenerator
- Parameters:
prefix
-keepOriginal
- Keep the ID contained in the object if set
-
-
Method Details
-
nextId
- Specified by:
nextId
in interfaceGmlIdGenerator<T>
-