|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.aegis.type.basic.BeanTypeInfo
public class BeanTypeInfo
Constructor Summary | |
---|---|
BeanTypeInfo(Class<?> typeClass,
String defaultNamespace)
|
|
BeanTypeInfo(Class<?> typeClass,
String defaultNamespace,
boolean initialize)
Create a BeanTypeInfo class. |
Method Summary | |
---|---|
protected QName |
createMappedName(PropertyDescriptor desc,
boolean qualified)
Specifies the name of the property as it shows up in the xml schema. |
List<QName> |
getAttributes()
|
String |
getDefaultNamespace()
|
List<QName> |
getElements()
|
int |
getMaxOccurs(QName name)
Return the maxOccurs value. |
long |
getMinOccurs()
|
int |
getMinOccurs(QName name)
Return the minOccurs value. |
protected PropertyDescriptor |
getPropertyDescriptor(String name)
|
PropertyDescriptor |
getPropertyDescriptorFromMappedName(QName name)
|
protected PropertyDescriptor[] |
getPropertyDescriptors()
|
AegisType |
getType(QName name)
Get the type class for the field with the specified QName. |
protected Class<?> |
getTypeClass()
|
TypeMapping |
getTypeMapping()
|
void |
initialize()
|
protected boolean |
isAttribute(PropertyDescriptor desc)
|
protected boolean |
isElement(PropertyDescriptor desc)
|
boolean |
isExtensibleAttributes()
|
boolean |
isExtensibleElements()
|
boolean |
isExtension()
|
boolean |
isMapped(PropertyDescriptor pd)
|
boolean |
isNillable(QName name)
Nillable is only allowed if the actual property is Nullable |
boolean |
isQualifyAttributes()
|
boolean |
isQualifyElements()
|
protected boolean |
isSerializable(PropertyDescriptor desc)
|
void |
mapAttribute(String property,
QName mappedName)
|
void |
mapElement(String property,
QName mappedName)
|
protected void |
mapProperty(PropertyDescriptor pd)
|
void |
mapType(QName name,
AegisType type)
|
void |
mapTypeName(QName mappedName,
QName type)
Specifies the SchemaType for a particular class. |
protected boolean |
registerType(PropertyDescriptor desc)
|
void |
setDefaultMinOccurs(int m)
|
void |
setDefaultNillable(boolean n)
|
void |
setExtensibleAttributes(boolean extensibleAttributes)
|
void |
setExtensibleElements(boolean futureProof)
|
void |
setExtension(boolean extension)
|
void |
setQualifyAttributes(boolean qualifyAttributes)
|
void |
setQualifyElements(boolean qualifyElements)
|
void |
setTypeMapping(TypeMapping typeMapping)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanTypeInfo(Class<?> typeClass, String defaultNamespace)
public BeanTypeInfo(Class<?> typeClass, String defaultNamespace, boolean initialize)
typeClass
- defaultNamespace
- initiallize
- If true attempt default property/xml mappings.Method Detail |
---|
public String getDefaultNamespace()
public void initialize()
public boolean isMapped(PropertyDescriptor pd)
protected void mapProperty(PropertyDescriptor pd)
protected PropertyDescriptor[] getPropertyDescriptors()
protected PropertyDescriptor getPropertyDescriptor(String name)
public AegisType getType(QName name)
protected boolean registerType(PropertyDescriptor desc)
public void mapType(QName name, AegisType type)
public TypeMapping getTypeMapping()
public void setTypeMapping(TypeMapping typeMapping)
protected QName createMappedName(PropertyDescriptor desc, boolean qualified)
propertyDescriptor.getName();
desc
-
public void mapAttribute(String property, QName mappedName)
public void mapElement(String property, QName mappedName)
public void mapTypeName(QName mappedName, QName type)
mappedName
- type
- public PropertyDescriptor getPropertyDescriptorFromMappedName(QName name)
protected boolean isAttribute(PropertyDescriptor desc)
protected boolean isElement(PropertyDescriptor desc)
protected boolean isSerializable(PropertyDescriptor desc)
protected Class<?> getTypeClass()
public boolean isNillable(QName name)
name
-
public int getMinOccurs(QName name)
name
- Element QName
public int getMaxOccurs(QName name)
name
- Element QName
public long getMinOccurs()
public void setDefaultMinOccurs(int m)
public void setDefaultNillable(boolean n)
public List<QName> getAttributes()
public List<QName> getElements()
public boolean isExtensibleElements()
public void setExtensibleElements(boolean futureProof)
public boolean isExtensibleAttributes()
public void setExtensibleAttributes(boolean extensibleAttributes)
public void setExtension(boolean extension)
public boolean isExtension()
public boolean isQualifyAttributes()
public void setQualifyAttributes(boolean qualifyAttributes)
qualifyAttributes
- The qualifyAttributes to set.public boolean isQualifyElements()
public void setQualifyElements(boolean qualifyElements)
qualifyElements
- The qualifyElements to set.
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |