public class EntryBeans extends Object
Constructor and Description |
---|
EntryBeans() |
Modifier and Type | Method and Description |
---|---|
static EntryBean |
createBean(Entry ent)
Create a bean of the appropriate type for the given Entry
object, and link it to the object for immediate manipulation.
|
static Class |
getBeanClass(Class c)
Return the class of JavaBeans component that corresponds to a particular
Entry class.
|
public static EntryBean createBean(Entry ent) throws ClassNotFoundException, IOException
ent
- the Entry for which to create and link a beanClassNotFoundException
- no bean class of the
appropriate type could be foundClassCastException
- the bean class does not implement
the EntryBean interfaceIOException
- the JavaBeans component could not be instantiatedpublic static Class getBeanClass(Class c) throws ClassNotFoundException
c
- the class for which a JavaBeans component should be foundClassNotFoundException
- no such class could be foundClassCastException
- the class does not implement
the EntryBean interfaceEntryBean
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.