public class XMLBeanTypeInfo extends BeanTypeInfo
| Constructor and Description |
|---|
XMLBeanTypeInfo(Class<?> typeClass,
List<Element> mappings,
String defaultNS) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxOccurs(QName name)
Return maxOccurs if specified in the XML, otherwise from the
default in the base class.
|
int |
getMinOccurs(QName name)
Return minOccurs if specified in the XML, otherwise from the defaults
in the base class.
|
boolean |
isNillable(QName name)
Grab Nillable by looking in PropertyInfo map if no entry found, revert to
parent class
|
protected void |
mapProperty(PropertyDescriptor pd) |
protected boolean |
registerType(PropertyDescriptor desc) |
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, setTypeMappingprotected boolean registerType(PropertyDescriptor desc)
registerType in class BeanTypeInfoprotected void mapProperty(PropertyDescriptor pd)
mapProperty in class BeanTypeInfopublic boolean isNillable(QName name)
isNillable in class BeanTypeInfopublic int getMinOccurs(QName name)
getMinOccurs in class BeanTypeInfoname - Element QNamepublic int getMaxOccurs(QName name)
getMaxOccurs in class BeanTypeInfoname - Element QNameApache CXF