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, setTypeMapping
protected boolean registerType(PropertyDescriptor desc)
registerType
in class BeanTypeInfo
protected void mapProperty(PropertyDescriptor pd)
mapProperty
in class BeanTypeInfo
public boolean isNillable(QName name)
isNillable
in class BeanTypeInfo
public int getMinOccurs(QName name)
getMinOccurs
in class BeanTypeInfo
name
- Element QNamepublic int getMaxOccurs(QName name)
getMaxOccurs
in class BeanTypeInfo
name
- Element QNameApache CXF