|
||||||||||
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)
|
|
BeanTypeInfo(java.lang.Class typeClass,
boolean initialize)
Create a BeanTypeInfo class. |
Method Summary | |
---|---|
protected java.lang.String |
createMappedName(java.beans.PropertyDescriptor desc)
Specifies the name of the property as it shows up in the xml schema. |
java.util.Iterator |
getAttributes()
|
java.util.Iterator |
getElements()
|
protected java.beans.PropertyDescriptor |
getPropertyDescriptor(java.lang.String name)
|
java.beans.PropertyDescriptor |
getPropertyDescriptorFromMappedName(java.lang.String name)
|
protected java.beans.PropertyDescriptor[] |
getPropertyDescriptors()
|
Type |
getType(java.lang.String 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 |
isInitialized()
|
boolean |
isNillable(java.lang.String name)
|
protected boolean |
isSerializable(java.beans.PropertyDescriptor desc)
|
void |
mapAttribute(java.lang.String property,
java.lang.String mappedName)
|
void |
mapElement(java.lang.String property,
java.lang.String mappedName)
|
protected void |
mapProperty(java.beans.PropertyDescriptor pd)
|
void |
mapType(java.lang.String name,
Type type)
|
void |
mapTypeName(java.lang.String mappedName,
javax.xml.namespace.QName type)
Specifies the SchemaType for a particular class. |
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)
public BeanTypeInfo(java.lang.Class typeClass, boolean initialize)
typeClass
- defaultNamespace
- initiallize
- If true attempt default property/xml mappings.Method Detail |
---|
public void initialize()
public boolean isInitialized()
protected void mapProperty(java.beans.PropertyDescriptor pd)
protected java.beans.PropertyDescriptor[] getPropertyDescriptors()
protected java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.String name)
public Type getType(java.lang.String name)
public void mapType(java.lang.String name, Type type)
public TypeMapping getTypeMapping()
public void setTypeMapping(TypeMapping typeMapping)
protected java.lang.String createMappedName(java.beans.PropertyDescriptor desc)
propertyDescriptor.getName();
desc
-
public void mapAttribute(java.lang.String property, java.lang.String mappedName)
public void mapElement(java.lang.String property, java.lang.String mappedName)
public void mapTypeName(java.lang.String mappedName, javax.xml.namespace.QName type)
mappedName
- type
- public java.beans.PropertyDescriptor getPropertyDescriptorFromMappedName(java.lang.String 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(java.lang.String name)
public java.util.Iterator getAttributes()
public java.util.Iterator getElements()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |