Package org.geotools.data.complex
Class AttributeCreateOrderList
- Object
-
- AttributeCreateOrderList
-
public class AttributeCreateOrderList extends Object
A Collection of AttributeMappings that correspond to complex types that need to be created. It returns them in an order such that parent elements are created first, and so children elements can be slotted straight into them.- Author:
- Russell Petty (GeoScience Victoria)
-
-
Constructor Summary
Constructors Constructor Description AttributeCreateOrderList(String rootLabel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<AttributeMapping>
iterator()
boolean
put(AttributeMapping attMapping)
Attempt to add an attribute to the list.void
setRootLabel(String rootLabel)
-
-
-
Constructor Detail
-
AttributeCreateOrderList
public AttributeCreateOrderList(String rootLabel)
-
-
Method Detail
-
put
public boolean put(AttributeMapping attMapping)
Attempt to add an attribute to the list.- Parameters:
attMapping
- attribute to add- Returns:
- whether an item was added or not.
-
iterator
public Iterator<AttributeMapping> iterator()
-
setRootLabel
public void setRootLabel(String rootLabel)
-
-