Package org.geotools.data.complex
Class PathAttributeList
- Object
-
- PathAttributeList
-
public class PathAttributeList extends Object
- Author:
- Russell Petty (GeoScience Victoria)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
PathAttributeList.Pair
-
Constructor Summary
Constructors Constructor Description PathAttributeList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PathAttributeList.Pair>
get(String key)
Return list of matching source input xpath - Attribute pair based on the label.String
getPath(String label)
Get full input xpath based on the label.void
put(String key, String xpath, Attribute attribute)
Store information for labelled attributes.
-
-
-
Method Detail
-
put
public void put(String key, String xpath, Attribute attribute)
Store information for labelled attributes.- Parameters:
key
- AttributeMapping labelxpath
- full input xpath from web service including itemXpath + instanceXpathattribute
- Attribute instance that is created for the AttributeMapping
-
getPath
public String getPath(String label)
Get full input xpath based on the label.- Parameters:
label
- AttributeMapping label- Returns:
- full input xpath from web service including itemXpath + instanceXpath
-
get
public List<PathAttributeList.Pair> get(String key)
Return list of matching source input xpath - Attribute pair based on the label.- Parameters:
key
- The attribute label- Returns:
- full input xpath - Attribute pair
-
-