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
|
Constructor Summary |
XMLBeanTypeInfo(java.lang.Class typeClass,
java.util.List mappings,
java.lang.String defaultNS)
|
|
Method Summary |
int |
getMaxOccurs(javax.xml.namespace.QName name)
Return maxOccurs if specified in the XML, otherwise from the
default in the base class. |
int |
getMinOccurs(javax.xml.namespace.QName name)
Return minOccurs if specified in the XML, otherwise from the defaults
in the base class. |
boolean |
isNillable(javax.xml.namespace.QName name)
Grab Nillable by looking in PropertyInfo map if no entry found, revert to
parent class |
protected void |
mapProperty(java.beans.PropertyDescriptor pd)
|
protected boolean |
registerType(java.beans.PropertyDescriptor desc)
|
| 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(java.lang.Class typeClass,
java.util.List mappings,
java.lang.String defaultNS)
registerType
protected boolean registerType(java.beans.PropertyDescriptor desc)
- Overrides:
registerType in class BeanTypeInfo
mapProperty
protected void mapProperty(java.beans.PropertyDescriptor pd)
- Overrides:
mapProperty in class BeanTypeInfo
isNillable
public boolean isNillable(javax.xml.namespace.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(javax.xml.namespace.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(javax.xml.namespace.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