public abstract class FeatureWrapper extends Object
XSDMapping
to show what they correspond to in the XSD.Constructor and Description |
---|
FeatureWrapper() |
Modifier and Type | Method and Description |
---|---|
ComplexAttribute |
getUnderlyingComplexAttribute()
Gets the underlying complex attribute.
|
void |
setUnderlyingComplexAttribute(ComplexAttribute underlyingComplexAttribute)
Sets the underlying complex attribute.
|
static <T extends FeatureWrapper> |
wrap(ComplexAttribute complexAttribute,
Class<T> clazz)
Attempt to wrap the feature in a FeatureWrapper class.
|
public ComplexAttribute getUnderlyingComplexAttribute()
public void setUnderlyingComplexAttribute(ComplexAttribute underlyingComplexAttribute)
underlyingComplexAttribute
- public static <T extends FeatureWrapper> T wrap(ComplexAttribute complexAttribute, Class<T> clazz) throws InvalidClassException
feature
- The feature to wrap.clazz
- The class you want the feature to be wrapped as. (This will be the type that is
returned).InvalidClassException
Copyright © 1996–2019 Geotools. All rights reserved.