|
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
src.java.org.grails.xfire.aegis.type.basic.XMLBeanTypeInfo
class XMLBeanTypeInfo extends BeanTypeInfo
Field Summary | |
---|---|
private static Log |
logger
|
private List |
mappings
|
private Map |
name2PropertyInfo
Map used for storing meta data about each property |
Constructor Summary | |
XMLBeanTypeInfo(java.lang.Class typeClass, List mappings, java.lang.String defaultNS)
|
Method Summary | |
---|---|
private BeanTypePropertyInfo
|
ensurePropertyInfo(QName name)
Grab the Property Info for the given property but if not found create one and add it to the map |
int
|
getMinOccurs(QName name)
Grab Min Occurs by looking in PropertyInfo map if no entry found, revert to parent class |
private Element
|
getPropertyElement(java.lang.String name2)
|
private BeanTypePropertyInfo
|
getPropertyInfo(QName name)
Grab the Property Info for the given property |
boolean
|
isNillable(QName name)
Grab Nillable by looking in PropertyInfo map if no entry found, revert to parent class |
protected void
|
mapProperty(PropertyDescriptor pd)
|
protected boolean
|
registerType(PropertyDescriptor desc)
|
Field Detail |
---|
private static final Log logger
private List mappings
private Map name2PropertyInfo
Constructor Detail |
---|
public XMLBeanTypeInfo(java.lang.Class typeClass, List mappings, java.lang.String defaultNS)
Method Detail |
---|
private BeanTypePropertyInfo ensurePropertyInfo(QName name)
public int getMinOccurs(QName name)
private Element getPropertyElement(java.lang.String name2)
private BeanTypePropertyInfo getPropertyInfo(QName name)
public boolean isNillable(QName name)
protected void mapProperty(PropertyDescriptor pd)
protected boolean registerType(PropertyDescriptor desc)
Groovy Documentation