Class XMLBeanTypeInfo

java.lang.Object
org.apache.cxf.aegis.type.basic.BeanTypeInfo
org.apache.cxf.aegis.type.basic.XMLBeanTypeInfo

public class XMLBeanTypeInfo extends BeanTypeInfo
  • Constructor Details

  • Method Details

    • registerType

      protected boolean registerType(PropertyDescriptor desc)
      Overrides:
      registerType in class BeanTypeInfo
    • mapProperty

      protected void mapProperty(PropertyDescriptor pd)
      Overrides:
      mapProperty in class BeanTypeInfo
    • isNillable

      public boolean isNillable(QName name)
      Grab Nillable by looking in PropertyInfo map if no entry found, revert to parent class
      Overrides:
      isNillable in class BeanTypeInfo
      Returns:
    • getMinOccurs

      public int getMinOccurs(QName name)
      Return minOccurs if specified in the XML, otherwise from the defaults in the base class.
      Overrides:
      getMinOccurs in class BeanTypeInfo
      Parameters:
      name - Element QName
      Returns:
    • getMaxOccurs

      public int getMaxOccurs(QName name)
      Return maxOccurs if specified in the XML, otherwise from the default in the base class.
      Overrides:
      getMaxOccurs in class BeanTypeInfo
      Parameters:
      name - Element QName
      Returns:
      1