|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.directwebremoting.convert.BaseV20Converter
org.directwebremoting.convert.BasicObjectConverter
org.directwebremoting.convert.BeanConverter
org.directwebremoting.hibernate.H2BeanConverter
public class H2BeanConverter
BeanConverter that works with Hibernate to get BeanInfo.
Constructor Summary | |
---|---|
H2BeanConverter()
|
Method Summary | |
---|---|
java.util.Map |
getPropertyMapFromObject(java.lang.Object example,
boolean readRequired,
boolean writeRequired)
Get a map of property names to implementations of Property . |
Methods inherited from class org.directwebremoting.convert.BeanConverter |
---|
getPropertyMapFromClass |
Methods inherited from class org.directwebremoting.convert.BasicObjectConverter |
---|
convertInbound, convertOutbound, getConverterManager, getInstanceType, getJavascript, setConverterManager, setExclude, setImplementation, setInclude, setInstanceType, setJavascript |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.directwebremoting.extend.Converter |
---|
convertInbound, convertOutbound, setConverterManager |
Constructor Detail |
---|
public H2BeanConverter()
Method Detail |
---|
public java.util.Map getPropertyMapFromObject(java.lang.Object example, boolean readRequired, boolean writeRequired) throws MarshallException
NamedConverter
Property
.
HibernateBeanConverter (and maybe others) may want to provide alternate versions of bean.getClass(), and we may wish to fake or hide properties in some cases.
This implementation is preferred above the alternate:
NamedConverter.getPropertyMapFromClass(Class, boolean, boolean)
because it
potentially retains important extra type information.
getPropertyMapFromObject
in interface NamedConverter
getPropertyMapFromObject
in class BeanConverter
example
- The object to find bean info fromreadRequired
- The properties returned must be readablewriteRequired
- The properties returned must be writeable
MarshallException
- If the introspection failsNamedConverter.getPropertyMapFromClass(Class, boolean, boolean)
|
Copyright ? 2005 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |