Package org.apache.cxf.aegis.type.java5
Class AnnotatedTypeInfo
java.lang.Object
org.apache.cxf.aegis.type.basic.BeanTypeInfo
org.apache.cxf.aegis.type.java5.AnnotatedTypeInfo
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotatedTypeInfo(TypeMapping tm, Class<?> typeClass, String ns, AnnotationReader annotationReader, TypeCreationOptions typeCreationOptions) AnnotatedTypeInfo(TypeMapping tm, Class<?> typeClass, String ns, TypeCreationOptions typeCreationOptions) -
Method Summary
Modifier and TypeMethodDescriptionprotected QNamecreateMappedName(PropertyDescriptor desc, boolean qualify) Specifies the name of the property as it shows up in the xml schema.protected QNameintgetMinOccurs(QName name) Return the minOccurs value.protected booleanprotected booleanisElement(PropertyDescriptor desc) booleanisNillable(QName name) Nillable is only allowed if the actual property is Nullableprotected voidOverride from parent in order to check for IgnoreProperty annotation.protected booleanMethods inherited from class org.apache.cxf.aegis.type.basic.BeanTypeInfo
getAttributes, getDefaultNamespace, getElements, getMaxOccurs, getMinOccurs, getPropertyDescriptor, getPropertyDescriptorFromMappedName, getPropertyDescriptors, getType, getTypeClass, getTypeMapping, initialize, isExtensibleAttributes, isExtensibleElements, isExtension, isMapped, isQualifyAttributes, isQualifyElements, isSerializable, mapAttribute, mapElement, mapType, mapTypeName, setDefaultMinOccurs, setDefaultNillable, setExtensibleAttributes, setExtensibleElements, setExtension, setQualifyAttributes, setQualifyElements, setTypeMapping
-
Constructor Details
-
AnnotatedTypeInfo
public AnnotatedTypeInfo(TypeMapping tm, Class<?> typeClass, String ns, TypeCreationOptions typeCreationOptions) -
AnnotatedTypeInfo
public AnnotatedTypeInfo(TypeMapping tm, Class<?> typeClass, String ns, AnnotationReader annotationReader, TypeCreationOptions typeCreationOptions)
-
-
Method Details
-
mapProperty
Override from parent in order to check for IgnoreProperty annotation.- Overrides:
mapPropertyin classBeanTypeInfo
-
registerType
- Overrides:
registerTypein classBeanTypeInfo
-
isAttribute
- Overrides:
isAttributein classBeanTypeInfo
-
isElement
- Overrides:
isElementin classBeanTypeInfo
-
createMappedName
Description copied from class:BeanTypeInfoSpecifies the name of the property as it shows up in the xml schema. This method just returnspropertyDescriptor.getName();- Overrides:
createMappedNamein classBeanTypeInfo- Returns:
-
createQName
-
isNillable
Description copied from class:BeanTypeInfoNillable is only allowed if the actual property is Nullable- Overrides:
isNillablein classBeanTypeInfo- Returns:
-
getMinOccurs
Description copied from class:BeanTypeInfoReturn the minOccurs value. When there is no XML file or annotation (the situation if we are running from the base class here), there is no source for the minOccurs parameter except the default, which is supplied from the overall Aegis options.- Overrides:
getMinOccursin classBeanTypeInfo- Parameters:
name- Element QName- Returns:
-