Class BeanMetaData


  • public class BeanMetaData
    extends java.lang.Object

    BeanMetaData contains metadata about a bean class.

    • Field Detail

      • NULL_ARGS

        protected static final java.lang.Object[] NULL_ARGS
        Empty arguments for reflection calls
    • Constructor Detail

      • BeanMetaData

        public BeanMetaData(java.lang.Class<?> beanClass)
    • Method Detail

      • get

        public static BeanMetaData get(java.lang.Class<?> beanClass)
        Static helper method to find and cache meta data objects for bean types
        Parameters:
        beanClass - DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • attributeCount

        public int attributeCount()
        DOCUMENT ME!
        Returns:
        the number of attribtutes for this bean type
      • getQName

        public QName getQName(int index)
      • getIndex

        public int getIndex(java.lang.String name)
      • getIndex

        public int getIndex(QName qName)
      • getData

        public java.lang.Object getData(int index,
                                        java.lang.Object bean)
      • setData

        public void setData(int index,
                            java.lang.Object bean,
                            java.lang.Object data)
      • handleException

        protected void handleException(java.lang.Exception e)