Package 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
-
Constructor Summary
ConstructorsConstructorDescriptionXMLBeanTypeInfo(Class<?> typeClass, List<Element> mappings, String defaultNS) -
Method Summary
Modifier and TypeMethodDescriptionintgetMaxOccurs(QName name) Return maxOccurs if specified in the XML, otherwise from the default in the base class.intgetMinOccurs(QName name) Return minOccurs if specified in the XML, otherwise from the defaults in the base class.booleanisNillable(QName name) Grab Nillable by looking in PropertyInfo map if no entry found, revert to parent classprotected voidprotected booleanMethods 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
-
Constructor Details
-
XMLBeanTypeInfo
-
-
Method Details
-
registerType
- Overrides:
registerTypein classBeanTypeInfo
-
mapProperty
- Overrides:
mapPropertyin classBeanTypeInfo
-
isNillable
Grab Nillable by looking in PropertyInfo map if no entry found, revert to parent class- Overrides:
isNillablein classBeanTypeInfo- Returns:
-
getMinOccurs
Return minOccurs if specified in the XML, otherwise from the defaults in the base class.- Overrides:
getMinOccursin classBeanTypeInfo- Parameters:
name- Element QName- Returns:
-
getMaxOccurs
Return maxOccurs if specified in the XML, otherwise from the default in the base class.- Overrides:
getMaxOccursin classBeanTypeInfo- Parameters:
name- Element QName- Returns:
- 1
-