org.apache.cocoon.portal.util
Class AttributesFieldHandler

java.lang.Object
  extended by org.exolab.castor.mapping.loader.FieldHandlerFriend
      extended by org.exolab.castor.mapping.ExtendedFieldHandler
          extended by org.exolab.castor.mapping.AbstractFieldHandler
              extended by org.apache.cocoon.portal.util.AbstractFieldHandler
                  extended by org.apache.cocoon.portal.util.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:
CVS $Id: AttributesFieldHandler.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Björn Lütkemeier

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.util.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)
Specified by:
getValue in interface org.exolab.castor.mapping.FieldHandler
Specified by:
getValue in class org.exolab.castor.mapping.AbstractFieldHandler

newInstance

public Object newInstance(Object parent)
Specified by:
newInstance in interface org.exolab.castor.mapping.FieldHandler
Specified by:
newInstance in class org.exolab.castor.mapping.AbstractFieldHandler

resetValue

public void resetValue(Object object)
Specified by:
resetValue in interface org.exolab.castor.mapping.FieldHandler
Specified by:
resetValue in class org.exolab.castor.mapping.AbstractFieldHandler

setValue

public void setValue(Object object,
                     Object value)
Specified by:
setValue in interface org.exolab.castor.mapping.FieldHandler
Specified by:
setValue in class org.exolab.castor.mapping.AbstractFieldHandler


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.