org.geotools.feature.xpath
Class AttributeDescriptorPropertyHandler

java.lang.Object
  extended by org.geotools.feature.xpath.AttributeDescriptorPropertyHandler
All Implemented Interfaces:
org.apache.commons.jxpath.DynamicPropertyHandler

public class AttributeDescriptorPropertyHandler
extends java.lang.Object
implements org.apache.commons.jxpath.DynamicPropertyHandler

JXPath property handler that works on AttributeDescriptor/type

Author:
Gabriel Roldan

Constructor Summary
AttributeDescriptorPropertyHandler()
           
 
Method Summary
 java.lang.Object getProperty(java.lang.Object o, java.lang.String propName)
          Returns the AttributeDescriptor contained by the org.geotools.feature.iso.impl.ComplexAttributeImpl o.
 java.lang.String[] getPropertyNames(java.lang.Object o)
           
 void setProperty(java.lang.Object feature, java.lang.String propertyName, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeDescriptorPropertyHandler

public AttributeDescriptorPropertyHandler()
Method Detail

getPropertyNames

public java.lang.String[] getPropertyNames(java.lang.Object o)
Specified by:
getPropertyNames in interface org.apache.commons.jxpath.DynamicPropertyHandler

getProperty

public java.lang.Object getProperty(java.lang.Object o,
                                    java.lang.String propName)
Returns the AttributeDescriptor contained by the org.geotools.feature.iso.impl.ComplexAttributeImpl o.

Specified by:
getProperty in interface org.apache.commons.jxpath.DynamicPropertyHandler

setProperty

public void setProperty(java.lang.Object feature,
                        java.lang.String propertyName,
                        java.lang.Object value)
Specified by:
setProperty in interface org.apache.commons.jxpath.DynamicPropertyHandler


Copyright © 1996-2010 Geotools. All Rights Reserved.