|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.grails.xfire.aegis.type.Type
src.java.org.grails.xfire.aegis.type.basic.BeanType
class BeanType extends Type
Serializes JavaBeans.
Field Summary | |
---|---|
private BeanTypeInfo |
_info
|
private boolean |
isException
|
private boolean |
isInterface
|
Constructor Summary | |
BeanType()
|
|
BeanType(BeanTypeInfo info)
|
Method Summary | |
---|---|
private Element
|
createAnyAttribute()
Create an element to represent any future attributes that might get added
to the schema |
private Element
|
createAnyElement()
Create an element to represent any future elements that might get added
to the schema |
protected java.lang.Object
|
createFromFault(MessageContext context)
If the class is an exception, this will try and instantiate it with information from the XFireFault (if it exists). |
BeanTypeInfo
|
createTypeInfo()
|
private BeanType
|
getBeanTypeWithProperty(QName name)
|
Set
|
getDependencies()
|
private java.lang.String
|
getNameWithPrefix(Element root, java.lang.String nameNS, java.lang.String localName)
if future proof then add |
private java.lang.String
|
getNameWithPrefix2(Element root, java.lang.String nameNS, java.lang.String localName)
|
private BeanType
|
getSuperType()
|
private Type
|
getType(BeanTypeInfo info, QName name)
|
BeanTypeInfo
|
getTypeInfo()
|
private Method
|
getWriteMethodFromImplClass(java.lang.Class impl, PropertyDescriptor pd)
This is a hack to get the write method from the implementation class for an interface. |
private MessageWriter
|
getWriter(MessageWriter writer, QName name, Type type)
|
boolean
|
isComplex()
We need to write a complex type schema for Beans, so return true. |
java.lang.Object
|
readObject(MessageReader reader, MessageContext context)
|
protected java.lang.Object
|
readProperty(java.lang.Object object, QName name)
|
void
|
setTypeClass(java.lang.Class typeClass)
|
java.lang.String
|
toString()
|
void
|
writeObject(java.lang.Object object, MessageWriter writer, MessageContext context)
org.grails.xfire.aegis.MessageWriter, org.codehaus.xfire.MessageContext) |
protected void
|
writeProperty(QName name, java.lang.Object object, java.lang.Object property, java.lang.Class impl, BeanTypeInfo info)
Write the specified property to a field. |
void
|
writeSchema(Element root)
|
private void
|
writeTypeReference(QName name, java.lang.String nameWithPrefix, Element element, Type type, java.lang.String prefix)
|
Field Detail |
---|
private BeanTypeInfo _info
private boolean isException
private boolean isInterface
Constructor Detail |
---|
public BeanType()
public BeanType(BeanTypeInfo info)
Method Detail |
---|
private Element createAnyAttribute()
private Element createAnyElement()
protected java.lang.Object createFromFault(MessageContext context)
public BeanTypeInfo createTypeInfo()
private BeanType getBeanTypeWithProperty(QName name)
public Set getDependencies()
private java.lang.String getNameWithPrefix(Element root, java.lang.String nameNS, java.lang.String localName)
private java.lang.String getNameWithPrefix2(Element root, java.lang.String nameNS, java.lang.String localName)
private BeanType getSuperType()
private Type getType(BeanTypeInfo info, QName name)
public BeanTypeInfo getTypeInfo()
private Method getWriteMethodFromImplClass(java.lang.Class impl, PropertyDescriptor pd)
private MessageWriter getWriter(MessageWriter writer, QName name, Type type)
public boolean isComplex()
public java.lang.Object readObject(MessageReader reader, MessageContext context)
protected java.lang.Object readProperty(java.lang.Object object, QName name)
public void setTypeClass(java.lang.Class typeClass)
public java.lang.String toString()
public void writeObject(java.lang.Object object, MessageWriter writer, MessageContext context)
protected void writeProperty(QName name, java.lang.Object object, java.lang.Object property, java.lang.Class impl, BeanTypeInfo info)
public void writeSchema(Element root)
private void writeTypeReference(QName name, java.lang.String nameWithPrefix, Element element, Type type, java.lang.String prefix)
Groovy Documentation