Class BeanPropertyTarget

  • All Implemented Interfaces:
    Target

    public class BeanPropertyTarget
    extends java.lang.Object
    implements Target
    Class which knows how to update a bean property
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static org.apache.commons.logging.Log log  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void set​(java.lang.Object value)
      set the bean property with specified value
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • log

        protected static org.apache.commons.logging.Log log
    • Constructor Detail

      • BeanPropertyTarget

        public BeanPropertyTarget​(java.lang.Object object,
                                  BeanPropertyDescriptor pd)
        This constructor is used for a normal property.
        Parameters:
        object - is the bean class
        pd - is the property
      • BeanPropertyTarget

        public BeanPropertyTarget​(java.lang.Object object,
                                  BeanPropertyDescriptor pd,
                                  int i)
        This constructor is used for an indexed property.
        Parameters:
        object - is the bean class
        pd - is the property
        i - is the index
    • Method Detail

      • set

        public void set​(java.lang.Object value)
                 throws org.xml.sax.SAXException
        set the bean property with specified value
        Specified by:
        set in interface Target
        Parameters:
        value - is the value.
        Throws:
        org.xml.sax.SAXException