gate.creole
Class TestCreole.DocumentImplBeanInfo
java.lang.Object
|
+--java.beans.SimpleBeanInfo
|
+--gate.creole.TestCreole.DocumentImplBeanInfo
- All Implemented Interfaces:
- BeanInfo
- Enclosing class:
- TestCreole
- class TestCreole.DocumentImplBeanInfo
- extends SimpleBeanInfo
Example of what bean info classes do.
If this was a public class in gate.corpora it would be used
by the beans Introspector to generation bean info for the
gate.corpora.DocumentImpl class. It inherits from SimpleBeanInfo
whose default behaviour is to return null for the various methods;
this tells the Introspector to do its own investigations.
Method Summary |
PropertyDescriptor[] |
getPropertyDescriptors()
Override the SimpleBeanInfo behaviour and return a 0-length
array of properties; this will be passed on by the Introspector,
the effect being to block info on the properties of the bean. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
TestCreole.DocumentImplBeanInfo
TestCreole.DocumentImplBeanInfo()
getPropertyDescriptors
public PropertyDescriptor[] getPropertyDescriptors()
- Override the SimpleBeanInfo behaviour and return a 0-length
array of properties; this will be passed on by the Introspector,
the effect being to block info on the properties of the bean.
- Overrides:
getPropertyDescriptors
in class SimpleBeanInfo