|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.data.complex.AttributeMapping
org.geotools.data.complex.NestedAttributeMapping
public class NestedAttributeMapping
This class represents AttributeMapping for attributes that are nested inside another complex attribute. The nested attributes would be features, or fake features, ie. complex attributes which types are wrapped with NonFeatureTypeProxy instances. The purpose of this class is to store nested built features so they can be retrieved when the parent feature is being built. Simple features are also stored for caching if a filter involving these nested features is run.
Constructor Summary | |
---|---|
NestedAttributeMapping(org.opengis.filter.expression.Expression idExpression,
org.opengis.filter.expression.Expression parentExpression,
XPath.StepList targetXPath,
boolean isMultiValued,
java.util.Map<org.opengis.feature.type.Name,org.opengis.filter.expression.Expression> clientProperties,
org.opengis.filter.expression.Expression sourceElement,
XPath.StepList sourcePath,
org.xml.sax.helpers.NamespaceSupport namespaces)
Sole constructor |
Method Summary | |
---|---|
java.util.List<org.opengis.feature.Feature> |
getFeatures(java.lang.Object foreignKeyValue,
org.opengis.referencing.crs.CoordinateReferenceSystem reprojection,
org.opengis.feature.Feature feature)
Get the maching built features that are stored in this mapping using a supplied link value |
FeatureTypeMapping |
getFeatureTypeMapping(org.opengis.feature.Feature feature)
|
java.util.List<org.opengis.feature.Feature> |
getInputFeatures(java.lang.Object foreignKeyValue,
org.opengis.referencing.crs.CoordinateReferenceSystem reprojection,
org.opengis.feature.Feature feature)
Get matching input features that are stored in this mapping using a supplied link value. |
java.util.List<org.opengis.feature.Feature> |
getInputFeatures(java.lang.Object foreignKeyValue,
org.opengis.referencing.crs.CoordinateReferenceSystem reprojection,
FeatureTypeMapping fMapping)
Get matching input features that are stored in this mapping using a supplied link value. |
org.xml.sax.helpers.NamespaceSupport |
getNamespaces()
|
java.lang.Object |
getNestedFeatureType(org.opengis.feature.Feature feature)
|
boolean |
isConditional()
|
boolean |
isNestedAttribute()
This is overridden by NestedAttributeMapping |
boolean |
isSameSource()
|
Methods inherited from class org.geotools.data.complex.AttributeMapping |
---|
equals, getClientProperties, getIdentifierExpression, getSourceExpression, getTargetNodeInstance, getTargetXPath, hashCode, isMultiValued, isTreeAttribute, setIdentifierExpression, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NestedAttributeMapping(org.opengis.filter.expression.Expression idExpression, org.opengis.filter.expression.Expression parentExpression, XPath.StepList targetXPath, boolean isMultiValued, java.util.Map<org.opengis.feature.type.Name,org.opengis.filter.expression.Expression> clientProperties, org.opengis.filter.expression.Expression sourceElement, XPath.StepList sourcePath, org.xml.sax.helpers.NamespaceSupport namespaces) throws java.io.IOException
idExpression
- parentExpression
- targetXPath
- targetNodeInstance
- isMultiValued
- clientProperties
- sourceElement
- parent feature element typesourcePath
- XPath link to nested featureparentSource
- parent feature source
java.io.IOException
Method Detail |
---|
public boolean isNestedAttribute()
AttributeMapping
isNestedAttribute
in class AttributeMapping
public java.util.List<org.opengis.feature.Feature> getInputFeatures(java.lang.Object foreignKeyValue, org.opengis.referencing.crs.CoordinateReferenceSystem reprojection, org.opengis.feature.Feature feature) throws java.io.IOException
foreignKeyValue
- reprojection
- Reprojected CRS or null
java.io.IOException
java.io.IOException
public java.util.List<org.opengis.feature.Feature> getInputFeatures(java.lang.Object foreignKeyValue, org.opengis.referencing.crs.CoordinateReferenceSystem reprojection, FeatureTypeMapping fMapping) throws java.io.IOException
foreignKeyValue
- reprojection
- Reprojected CRS or null
java.io.IOException
java.io.IOException
public java.util.List<org.opengis.feature.Feature> getFeatures(java.lang.Object foreignKeyValue, org.opengis.referencing.crs.CoordinateReferenceSystem reprojection, org.opengis.feature.Feature feature) throws java.io.IOException
foreignKeyValue
- reprojection
- Reprojected CRS or null
java.io.IOException
public java.lang.Object getNestedFeatureType(org.opengis.feature.Feature feature)
public boolean isSameSource()
public boolean isConditional()
public FeatureTypeMapping getFeatureTypeMapping(org.opengis.feature.Feature feature) throws java.io.IOException
java.io.IOException
public org.xml.sax.helpers.NamespaceSupport getNamespaces()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |