|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.xfire.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)
Specifies the name of the property as it shows up in the xml schema. |
java.util.Iterator |
getAttributes()
|
java.lang.String |
getDefaultNamespace()
|
java.util.Iterator |
getElements()
|
java.beans.PropertyDescriptor[] |
getInterfacePropertyDescriptors(java.lang.Class clazz)
|
void |
getInterfacePropertyDescriptors(java.lang.Class clazz,
java.util.List pds,
java.util.Set classes)
|
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 |
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 minOccurs)
|
void |
setDefaultNillable(boolean nillable)
|
void |
setExtensibleAttributes(boolean extensibleAttributes)
|
void |
setExtensibleElements(boolean futureProof)
|
void |
setExtension(boolean extension)
|
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)
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[] getInterfacePropertyDescriptors(java.lang.Class clazz)
public void getInterfacePropertyDescriptors(java.lang.Class clazz, java.util.List pds, java.util.Set classes)
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 void setDefaultMinOccurs(int minOccurs)
public void setDefaultNillable(boolean nillable)
public java.util.Iterator getAttributes()
public java.util.Iterator 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |