org.apache.cxf.aegis.type.basic
Class XMLBeanTypeInfo
java.lang.Object
org.apache.cxf.aegis.type.basic.BeanTypeInfo
org.apache.cxf.aegis.type.basic.XMLBeanTypeInfo
public class XMLBeanTypeInfo
- extends BeanTypeInfo
Methods inherited from class org.apache.cxf.aegis.type.basic.BeanTypeInfo |
createMappedName, getAttributes, getDefaultNamespace, getElements, getMinOccurs, getPropertyDescriptor, getPropertyDescriptorFromMappedName, getPropertyDescriptors, getType, getTypeClass, getTypeMapping, initialize, isAttribute, isElement, isExtensibleAttributes, isExtensibleElements, isExtension, isMapped, isQualifyAttributes, isQualifyElements, isSerializable, mapAttribute, mapElement, mapType, mapTypeName, setDefaultMinOccurs, setDefaultNillable, setExtensibleAttributes, setExtensibleElements, setExtension, setQualifyAttributes, setQualifyElements, setTypeMapping |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLBeanTypeInfo
public XMLBeanTypeInfo(Class typeClass,
List mappings,
String defaultNS)
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
Apache CXF