|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.data.complex.FeatureTypeMapping
public class FeatureTypeMapping
Constructor Summary | |
---|---|
FeatureTypeMapping()
No parameters constructor for use by the digester configuration engine as a JavaBean |
|
FeatureTypeMapping(FeatureSource source,
org.opengis.feature.type.AttributeDescriptor target,
java.util.List<AttributeMapping> mappings,
org.xml.sax.helpers.NamespaceSupport namespaces)
|
|
FeatureTypeMapping(FeatureSource source,
org.opengis.feature.type.AttributeDescriptor target,
java.util.List<AttributeMapping> mappings,
org.xml.sax.helpers.NamespaceSupport namespaces,
java.lang.String itemXpath)
|
Method Summary | |
---|---|
AttributeMapping |
getAttributeMapping(XPath.StepList exactPath)
Finds the attribute mapping for the target expression exactPath |
java.util.List<AttributeMapping> |
getAttributeMappings()
|
java.util.List<AttributeMapping> |
getAttributeMappingsByExpression(org.opengis.filter.expression.Expression sourceExpression)
Finds the attribute mappings for the given source expression. |
java.util.List<AttributeMapping> |
getAttributeMappingsIgnoreIndex(XPath.StepList targetPath)
Finds the attribute mappings for the given target location path. |
java.lang.String |
getItemXpath()
|
org.opengis.feature.type.Name |
getMappingName()
|
org.xml.sax.helpers.NamespaceSupport |
getNamespaces()
|
FeatureSource |
getSource()
|
org.opengis.feature.type.AttributeDescriptor |
getTargetFeature()
|
FeatureTypeMapping |
getUnderlyingComplexMapping()
|
void |
setName(org.opengis.feature.type.Name name)
|
void |
setTargetFeature(org.opengis.feature.type.AttributeDescriptor feature)
Has to be called after #setTargetType(FeatureType) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FeatureTypeMapping()
public FeatureTypeMapping(FeatureSource source, org.opengis.feature.type.AttributeDescriptor target, java.util.List<AttributeMapping> mappings, org.xml.sax.helpers.NamespaceSupport namespaces)
public FeatureTypeMapping(FeatureSource source, org.opengis.feature.type.AttributeDescriptor target, java.util.List<AttributeMapping> mappings, org.xml.sax.helpers.NamespaceSupport namespaces, java.lang.String itemXpath)
Method Detail |
---|
public java.util.List<AttributeMapping> getAttributeMappings()
public java.util.List<AttributeMapping> getAttributeMappingsIgnoreIndex(XPath.StepList targetPath)
targetPath
-
public java.util.List<AttributeMapping> getAttributeMappingsByExpression(org.opengis.filter.expression.Expression sourceExpression)
sourceExpression
-
public AttributeMapping getAttributeMapping(XPath.StepList exactPath)
exactPath
exactPath
- the xpath expression on the target schema to find the mapping for
exactPath
or null
ifpublic org.xml.sax.helpers.NamespaceSupport getNamespaces()
public java.lang.String getItemXpath()
public void setTargetFeature(org.opengis.feature.type.AttributeDescriptor feature)
#setTargetType(FeatureType)
elementName
- featureTypeName
- public org.opengis.feature.type.AttributeDescriptor getTargetFeature()
public FeatureSource getSource()
public FeatureTypeMapping getUnderlyingComplexMapping()
public void setName(org.opengis.feature.type.Name name)
public org.opengis.feature.type.Name getMappingName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |