org.apache.cocoon.portal.persistence.castor
Class AttributesFieldHandler

java.lang.Object
  extended byorg.exolab.castor.mapping.loader.FieldHandlerFriend
      extended byorg.exolab.castor.mapping.ExtendedFieldHandler
          extended byorg.exolab.castor.mapping.AbstractFieldHandler
              extended byorg.apache.cocoon.portal.persistence.castor.AbstractFieldHandler
                  extended byorg.apache.cocoon.portal.persistence.castor.AttributesFieldHandler
All Implemented Interfaces:
org.exolab.castor.mapping.FieldHandler

public class AttributesFieldHandler
extends AbstractFieldHandler

Field handler for attributes of a CopletData object. FIXME This is a little bit hacky and should be changed by using reflection

Version:
$Id: AttributesFieldHandler.java 328135 2005-10-24 19:02:33Z cziegeler $

Constructor Summary
AttributesFieldHandler()
           
 
Method Summary
protected  Map getAttributes(Object object)
           
 Object getValue(Object object)
           
 Object newInstance(Object parent)
           
 void resetValue(Object object)
           
 void setValue(Object object, Object value)
           
 
Methods inherited from class org.apache.cocoon.portal.persistence.castor.AbstractFieldHandler
newInstance
 
Methods inherited from class org.exolab.castor.mapping.AbstractFieldHandler
getFieldDescriptor, hasValue, setFieldDescriptor
 
Methods inherited from class org.exolab.castor.mapping.ExtendedFieldHandler
checkValidity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributesFieldHandler

public AttributesFieldHandler()
Method Detail

getAttributes

protected Map getAttributes(Object object)

getValue

public Object getValue(Object object)

newInstance

public Object newInstance(Object parent)

resetValue

public void resetValue(Object object)

setValue

public void setValue(Object object,
                     Object value)


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.