public class AnnotatedTypeInfo extends BeanTypeInfo
Constructor and Description |
---|
AnnotatedTypeInfo(TypeMapping tm,
Class<?> typeClass,
String ns,
AnnotationReader annotationReader,
TypeCreationOptions typeCreationOptions) |
AnnotatedTypeInfo(TypeMapping tm,
Class<?> typeClass,
String ns,
TypeCreationOptions typeCreationOptions) |
Modifier and Type | Method and Description |
---|---|
protected QName |
createMappedName(PropertyDescriptor desc,
boolean qualify)
Specifies the name of the property as it shows up in the xml schema.
|
protected QName |
createQName(PropertyDescriptor desc) |
int |
getMinOccurs(QName name)
Return the minOccurs value.
|
protected boolean |
isAttribute(PropertyDescriptor desc) |
protected boolean |
isElement(PropertyDescriptor desc) |
boolean |
isNillable(QName name)
Nillable is only allowed if the actual property is Nullable
|
protected void |
mapProperty(PropertyDescriptor pd)
Override from parent in order to check for IgnoreProperty annotation.
|
protected boolean |
registerType(PropertyDescriptor desc) |
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
public AnnotatedTypeInfo(TypeMapping tm, Class<?> typeClass, String ns, TypeCreationOptions typeCreationOptions)
public AnnotatedTypeInfo(TypeMapping tm, Class<?> typeClass, String ns, AnnotationReader annotationReader, TypeCreationOptions typeCreationOptions)
protected void mapProperty(PropertyDescriptor pd)
mapProperty
in class BeanTypeInfo
protected boolean registerType(PropertyDescriptor desc)
registerType
in class BeanTypeInfo
protected boolean isAttribute(PropertyDescriptor desc)
isAttribute
in class BeanTypeInfo
protected boolean isElement(PropertyDescriptor desc)
isElement
in class BeanTypeInfo
protected QName createMappedName(PropertyDescriptor desc, boolean qualify)
BeanTypeInfo
propertyDescriptor.getName();
createMappedName
in class BeanTypeInfo
protected QName createQName(PropertyDescriptor desc)
public boolean isNillable(QName name)
BeanTypeInfo
isNillable
in class BeanTypeInfo
public int getMinOccurs(QName name)
BeanTypeInfo
getMinOccurs
in class BeanTypeInfo
name
- Element QNameApache CXF