Class LineFeatureBuilder
Object
GridFeatureBuilder
LineFeatureBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
Default feature TYPE name: "linegrid"static final String
protected int
static final String
Name used for the integer id attribute: "id"static final String
static final String
Name of the Integer level attribute ("level")static final String
static final String
static final String
"start", "mid", "end" to indicate where this line belongs in the progression of horizontal or vertical linesstatic final String
static final String
static final String
static final String
static final String
Name of the Object value attribute ("vaStringlue")static final String
Fields inherited from class GridFeatureBuilder
DEFAULT_GEOMETRY_ATTRIBUTE_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setAttributes
(GridElement el, Map<String, Object> attributes) Sets the values of attributes for a newSimpleFeature
being constructed from the givenGridElement
.Methods inherited from class GridFeatureBuilder
getCreateFeature, getFeatureID, getType
-
Field Details
-
DEFAULT_TYPE_NAME
Default feature TYPE name: "linegrid"- See Also:
-
ID_ATTRIBUTE_NAME
Name used for the integer id attribute: "id"- See Also:
-
LEVEL_ATTRIBUTE_NAME
Name of the Integer level attribute ("level")- See Also:
-
VALUE_ATTRIBUTE_NAME
Name of the Object value attribute ("vaStringlue")- See Also:
-
VALUE_LABEL_NAME
- See Also:
-
HORIZONTAL
- See Also:
-
TOP
- See Also:
-
LEFT
- See Also:
-
ANCHOR_X
- See Also:
-
ANCHOR_Y
- See Also:
-
OFFSET_X
- See Also:
-
OFFSET_Y
- See Also:
-
SEQUENCE
"start", "mid", "end" to indicate where this line belongs in the progression of horizontal or vertical lines- See Also:
-
SEQUENCE_START
- See Also:
-
SEQUENCE_MID
- See Also:
-
SEQUENCE_END
- See Also:
-
id
protected int id
-
-
Constructor Details
-
LineFeatureBuilder
-
-
Method Details
-
setAttributes
Description copied from class:GridFeatureBuilder
Sets the values of attributes for a newSimpleFeature
being constructed from the givenGridElement
.This method must be overridden by the user. It is called by the grid building classes as each new feature is constructed.
- Specified by:
setAttributes
in classGridFeatureBuilder
- Parameters:
el
- the element from which the new feature is being constructedattributes
- aMap
with attribute names as keys and attribute values as values
-