|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cxf.aegis.type.basic.BeanTypeInfo
public class BeanTypeInfo
Constructor Summary | |
---|---|
BeanTypeInfo(java.lang.Class<?> typeClass,
java.lang.String defaultNamespace)
|
|
BeanTypeInfo(java.lang.Class<?> typeClass,
java.lang.String defaultNamespace,
boolean initialize)
Create a BeanTypeInfo class. |
Method Summary | |
---|---|
protected javax.xml.namespace.QName |
createMappedName(java.beans.PropertyDescriptor desc,
boolean qualified)
Specifies the name of the property as it shows up in the xml schema. |
java.util.Iterator<javax.xml.namespace.QName> |
getAttributes()
|
java.lang.String |
getDefaultNamespace()
|
java.util.Iterator<javax.xml.namespace.QName> |
getElements()
|
long |
getMinOccurs()
|
int |
getMinOccurs(javax.xml.namespace.QName name)
|
protected java.beans.PropertyDescriptor |
getPropertyDescriptor(java.lang.String name)
|
java.beans.PropertyDescriptor |
getPropertyDescriptorFromMappedName(javax.xml.namespace.QName name)
|
protected java.beans.PropertyDescriptor[] |
getPropertyDescriptors()
|
Type |
getType(javax.xml.namespace.QName name)
Get the type class for the field with the specified QName. |
protected java.lang.Class<?> |
getTypeClass()
|
TypeMapping |
getTypeMapping()
|
void |
initialize()
|
protected boolean |
isAttribute(java.beans.PropertyDescriptor desc)
|
protected boolean |
isElement(java.beans.PropertyDescriptor desc)
|
boolean |
isExtensibleAttributes()
|
boolean |
isExtensibleElements()
|
boolean |
isExtension()
|
boolean |
isMapped(java.beans.PropertyDescriptor pd)
|
boolean |
isNillable(javax.xml.namespace.QName name)
Nillable is only allowed if the actual property is Nullable |
boolean |
isQualifyAttributes()
|
boolean |
isQualifyElements()
|
protected boolean |
isSerializable(java.beans.PropertyDescriptor desc)
|
void |
mapAttribute(java.lang.String property,
javax.xml.namespace.QName mappedName)
|
void |
mapElement(java.lang.String property,
javax.xml.namespace.QName mappedName)
|
protected void |
mapProperty(java.beans.PropertyDescriptor pd)
|
void |
mapType(javax.xml.namespace.QName name,
Type type)
|
void |
mapTypeName(javax.xml.namespace.QName mappedName,
javax.xml.namespace.QName type)
Specifies the SchemaType for a particular class. |
protected boolean |
registerType(java.beans.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(java.lang.Class<?> typeClass, java.lang.String defaultNamespace)
public BeanTypeInfo(java.lang.Class<?> typeClass, java.lang.String defaultNamespace, boolean initialize)
typeClass
- defaultNamespace
- initiallize
- If true attempt default property/xml mappings.Method Detail |
---|
public java.lang.String getDefaultNamespace()
public void initialize()
public boolean isMapped(java.beans.PropertyDescriptor pd)
protected void mapProperty(java.beans.PropertyDescriptor pd)
protected java.beans.PropertyDescriptor[] getPropertyDescriptors()
protected java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.String name)
public Type getType(javax.xml.namespace.QName name)
protected boolean registerType(java.beans.PropertyDescriptor desc)
public void mapType(javax.xml.namespace.QName name, Type type)
public TypeMapping getTypeMapping()
public void setTypeMapping(TypeMapping typeMapping)
protected javax.xml.namespace.QName createMappedName(java.beans.PropertyDescriptor desc, boolean qualified)
propertyDescriptor.getName();
desc
-
public void mapAttribute(java.lang.String property, javax.xml.namespace.QName mappedName)
public void mapElement(java.lang.String property, javax.xml.namespace.QName mappedName)
public void mapTypeName(javax.xml.namespace.QName mappedName, javax.xml.namespace.QName type)
mappedName
- type
- public java.beans.PropertyDescriptor getPropertyDescriptorFromMappedName(javax.xml.namespace.QName name)
protected boolean isAttribute(java.beans.PropertyDescriptor desc)
protected boolean isElement(java.beans.PropertyDescriptor desc)
protected boolean isSerializable(java.beans.PropertyDescriptor desc)
protected java.lang.Class<?> getTypeClass()
public boolean isNillable(javax.xml.namespace.QName name)
name
-
public int getMinOccurs(javax.xml.namespace.QName name)
public long getMinOccurs()
public void setDefaultMinOccurs(int m)
public void setDefaultNillable(boolean n)
public java.util.Iterator<javax.xml.namespace.QName> getAttributes()
public java.util.Iterator<javax.xml.namespace.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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |