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, setTypeMappingpublic 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 BeanTypeInfoprotected boolean registerType(PropertyDescriptor desc)
registerType in class BeanTypeInfoprotected boolean isAttribute(PropertyDescriptor desc)
isAttribute in class BeanTypeInfoprotected boolean isElement(PropertyDescriptor desc)
isElement in class BeanTypeInfoprotected QName createMappedName(PropertyDescriptor desc, boolean qualify)
BeanTypeInfopropertyDescriptor.getName();createMappedName in class BeanTypeInfoprotected QName createQName(PropertyDescriptor desc)
public boolean isNillable(QName name)
BeanTypeInfoisNillable in class BeanTypeInfopublic int getMinOccurs(QName name)
BeanTypeInfogetMinOccurs in class BeanTypeInfoname - Element QNameApache CXF