|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.project.AdaptableFeature
public class AdaptableFeature
TODO Purpose of net.refractions.udig.project
Constructor Summary | |
---|---|
AdaptableFeature(Feature feature)
Construct AdaptableFeature . |
|
AdaptableFeature(Feature feature,
ILayer layer)
Construct AdaptableFeature . |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Object |
getAdapter(java.lang.Class adapter)
|
java.lang.Object |
getAttribute(int index)
|
java.lang.Object |
getAttribute(java.lang.String xPath)
|
java.lang.Object[] |
getAttributes(java.lang.Object[] attributes)
|
Envelope |
getBounds()
|
Geometry |
getDefaultGeometry()
|
FeatureType |
getFeatureType()
|
java.lang.String |
getID()
|
int |
getNumberOfAttributes()
|
java.lang.Object |
getObject()
Get the "real" object. |
FeatureCollection |
getParent()
|
int |
hashCode()
|
void |
setAttribute(int position,
java.lang.Object val)
|
void |
setAttribute(java.lang.String xPath,
java.lang.Object attribute)
|
void |
setDefaultGeometry(Geometry geometry)
|
void |
setParent(FeatureCollection collection)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AdaptableFeature(Feature feature)
AdaptableFeature
.
feature
- the wrapped featureevaluationObject
- the layer that contains the feature.public AdaptableFeature(Feature feature, ILayer layer)
AdaptableFeature
.
feature
- the wrapped featurelayer
- the layer that contains the feature.Method Detail |
---|
public java.lang.Object getAdapter(java.lang.Class adapter)
org.eclipse.core.runtime.IAdaptable#getAdapter(java.lang.Class)
public FeatureCollection getParent()
org.geotools.feature.Feature#getParent()
public void setParent(FeatureCollection collection)
org.geotools.feature.Feature#setParent(org.geotools.feature.FeatureCollection)
public FeatureType getFeatureType()
org.geotools.feature.Feature#getFeatureType()
public java.lang.String getID()
org.geotools.feature.Feature#getID()
public java.lang.Object[] getAttributes(java.lang.Object[] attributes)
org.geotools.feature.Feature#getAttributes(java.lang.Object[])
public java.lang.Object getAttribute(java.lang.String xPath)
org.geotools.feature.Feature#getAttribute(java.lang.String)
public java.lang.Object getAttribute(int index)
org.geotools.feature.Feature#getAttribute(int)
public void setAttribute(int position, java.lang.Object val) throws IllegalAttributeException, java.lang.ArrayIndexOutOfBoundsException
IllegalAttributeException
java.lang.ArrayIndexOutOfBoundsException
org.geotools.feature.Feature#setAttribute(int, java.lang.Object)
public int getNumberOfAttributes()
org.geotools.feature.Feature#getNumberOfAttributes()
public void setAttribute(java.lang.String xPath, java.lang.Object attribute) throws IllegalAttributeException
IllegalAttributeException
org.geotools.feature.Feature#setAttribute(java.lang.String, java.lang.Object)
public Geometry getDefaultGeometry()
org.geotools.feature.Feature#getDefaultGeometry()
public void setDefaultGeometry(Geometry geometry) throws IllegalAttributeException
IllegalAttributeException
org.geotools.feature.Feature#setDefaultGeometry(com.vividsolutions.jts.geom.Geometry)
public Envelope getBounds()
org.geotools.feature.Feature#getBounds()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.Object getObject()
UDIGAdaptableDecorator
getObject
in interface UDIGAdaptableDecorator
net.refractions.udig.project.ui.internal.adapters.UDIGAdaptableDecorator#getObject()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |