|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsrc.java.org.grails.xfire.aegis.type.basic.BeanTypeInfo
class BeanTypeInfo
Field Summary | |
---|---|
private List |
attributes
|
private java.lang.Class |
beanClass
|
private java.lang.String |
defaultNamespace
|
private PropertyDescriptor[] |
descriptors
|
private List |
elements
|
private boolean |
extensibleAttributes
extensibleAttributes means adding xs:anyAttribute to WSDL Complex Type Definition |
private boolean |
extensibleElements
extensibleElements means adding xs:any to WSDL Complex Type Definition |
private boolean |
initialized
|
private boolean |
isExtension
|
private Map |
mappedName2pdName
|
private Map |
mappedName2type
|
private Map |
mappedName2typeName
|
private int |
minOccurs
|
private boolean |
nillable
|
private TypeMapping |
typeMapping
|
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 | |
---|---|
private boolean
|
containsPropertyName(List pds, java.lang.String name)
add base interface information |
protected QName
|
createMappedName(PropertyDescriptor desc)
Specifies the name of the property as it shows up in the xml schema. |
Iterator
|
getAttributes()
|
java.lang.String
|
getDefaultNamespace()
|
Iterator
|
getElements()
|
PropertyDescriptor[]
|
getInterfacePropertyDescriptors(java.lang.Class clazz)
|
void
|
getInterfacePropertyDescriptors(java.lang.Class clazz, List pds, Set classes)
|
private QName
|
getMappedTypeName(QName name)
|
int
|
getMinOccurs(QName name)
|
protected PropertyDescriptor
|
getPropertyDescriptor(java.lang.String name)
|
PropertyDescriptor
|
getPropertyDescriptorFromMappedName(QName name)
|
protected PropertyDescriptor[]
|
getPropertyDescriptors()
|
private java.lang.String
|
getPropertyNameFromMappedName(QName name)
|
Type
|
getType(QName name)
Get the type class for the field with the specified QName. |
protected java.lang.Class
|
getTypeClass()
|
TypeMapping
|
getTypeMapping()
|
void
|
initialize()
|
private void
|
initializeProperties()
|
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 |
protected boolean
|
isSerializable(PropertyDescriptor desc)
|
void
|
mapAttribute(java.lang.String property, QName mappedName)
|
void
|
mapElement(java.lang.String property, QName mappedName)
|
protected void
|
mapProperty(PropertyDescriptor pd)
|
void
|
mapType(QName name, Type type)
|
void
|
mapTypeName(QName mappedName, QName type)
Specifies the SchemaType for a particular class. |
protected boolean
|
registerType(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 | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Field Detail |
---|
private List attributes
private java.lang.Class beanClass
private java.lang.String defaultNamespace
private PropertyDescriptor[] descriptors
private List elements
private boolean extensibleAttributes
private boolean extensibleElements
private boolean initialized
private boolean isExtension
private Map mappedName2pdName
private Map mappedName2type
private Map mappedName2typeName
private int minOccurs
private boolean nillable
private TypeMapping typeMapping
Constructor Detail |
---|
public BeanTypeInfo(java.lang.Class typeClass, java.lang.String defaultNamespace)
public BeanTypeInfo(java.lang.Class typeClass, java.lang.String defaultNamespace, boolean initialize)
Method Detail |
---|
private boolean containsPropertyName(List pds, java.lang.String name)
protected QName createMappedName(PropertyDescriptor desc)
propertyDescriptor.getName();
public Iterator getAttributes()
public java.lang.String getDefaultNamespace()
public Iterator getElements()
public PropertyDescriptor[] getInterfacePropertyDescriptors(java.lang.Class clazz)
public void getInterfacePropertyDescriptors(java.lang.Class clazz, List pds, Set classes)
private QName getMappedTypeName(QName name)
public int getMinOccurs(QName name)
protected PropertyDescriptor getPropertyDescriptor(java.lang.String name)
public PropertyDescriptor getPropertyDescriptorFromMappedName(QName name)
protected PropertyDescriptor[] getPropertyDescriptors()
private java.lang.String getPropertyNameFromMappedName(QName name)
public Type getType(QName name)
protected java.lang.Class getTypeClass()
public TypeMapping getTypeMapping()
public void initialize()
private void initializeProperties()
protected boolean isAttribute(PropertyDescriptor desc)
protected boolean isElement(PropertyDescriptor desc)
public boolean isExtensibleAttributes()
public boolean isExtensibleElements()
public boolean isExtension()
public boolean isMapped(PropertyDescriptor pd)
public boolean isNillable(QName name)
protected boolean isSerializable(PropertyDescriptor desc)
public void mapAttribute(java.lang.String property, QName mappedName)
public void mapElement(java.lang.String property, QName mappedName)
protected void mapProperty(PropertyDescriptor pd)
public void mapType(QName name, Type type)
public void mapTypeName(QName mappedName, QName type)
protected boolean registerType(PropertyDescriptor desc)
public void setDefaultMinOccurs(int minOccurs)
public void setDefaultNillable(boolean nillable)
public void setExtensibleAttributes(boolean extensibleAttributes)
public void setExtensibleElements(boolean futureProof)
public void setExtension(boolean extension)
public void setTypeMapping(TypeMapping typeMapping)
Groovy Documentation