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
public class AnnotatedTypeInfo
- extends BeanTypeInfo
Method Summary |
protected javax.xml.namespace.QName |
createMappedName(java.beans.PropertyDescriptor desc,
boolean qualify)
Specifies the name of the property as it shows up in the xml schema. |
protected javax.xml.namespace.QName |
createQName(java.beans.PropertyDescriptor desc)
|
int |
getMinOccurs(javax.xml.namespace.QName name)
|
protected boolean |
isAttribute(java.beans.PropertyDescriptor desc)
|
protected boolean |
isElement(java.beans.PropertyDescriptor desc)
|
boolean |
isNillable(javax.xml.namespace.QName name)
Nillable is only allowed if the actual property is Nullable |
protected void |
mapProperty(java.beans.PropertyDescriptor pd)
Override from parent in order to check for IgnoreProperty annotation. |
protected boolean |
registerType(java.beans.PropertyDescriptor desc)
|
Methods inherited from class org.apache.cxf.aegis.type.basic.BeanTypeInfo |
getAttributes, getDefaultNamespace, getElements, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotatedTypeInfo
public AnnotatedTypeInfo(TypeMapping tm,
java.lang.Class typeClass,
java.lang.String ns,
TypeCreationOptions typeCreationOptions)
AnnotatedTypeInfo
public AnnotatedTypeInfo(TypeMapping tm,
java.lang.Class typeClass,
java.lang.String ns,
AnnotationReader annotationReader,
TypeCreationOptions typeCreationOptions)
mapProperty
protected void mapProperty(java.beans.PropertyDescriptor pd)
- Override from parent in order to check for IgnoreProperty annotation.
- Overrides:
mapProperty
in class BeanTypeInfo
registerType
protected boolean registerType(java.beans.PropertyDescriptor desc)
- Overrides:
registerType
in class BeanTypeInfo
isAttribute
protected boolean isAttribute(java.beans.PropertyDescriptor desc)
- Overrides:
isAttribute
in class BeanTypeInfo
isElement
protected boolean isElement(java.beans.PropertyDescriptor desc)
- Overrides:
isElement
in class BeanTypeInfo
createMappedName
protected javax.xml.namespace.QName createMappedName(java.beans.PropertyDescriptor desc,
boolean qualify)
- Description copied from class:
BeanTypeInfo
- Specifies the name of the property as it shows up in the xml schema. This
method just returns
propertyDescriptor.getName();
- Overrides:
createMappedName
in class BeanTypeInfo
- Returns:
createQName
protected javax.xml.namespace.QName createQName(java.beans.PropertyDescriptor desc)
isNillable
public boolean isNillable(javax.xml.namespace.QName name)
- Description copied from class:
BeanTypeInfo
- Nillable is only allowed if the actual property is Nullable
- Overrides:
isNillable
in class BeanTypeInfo
- Returns:
getMinOccurs
public int getMinOccurs(javax.xml.namespace.QName name)
- Overrides:
getMinOccurs
in class BeanTypeInfo
Apache CXF