|
Carrot2 v3.6.0-SNAPSHOT
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.util.attribute.BindableDescriptorUtils
public final class BindableDescriptorUtils
Utilities related to generated bindable descriptors.
| Method Summary | |
|---|---|
static IBindableDescriptor |
getDescriptor(Class<?> clazz)
|
static Class<? extends IBindableDescriptor> |
getDescriptorClass(Class<?> clazz)
|
static String |
getDescriptorClassName(String className)
Return the mapped descriptor class name for a given class name (descriptors for nested classes become top-level classes). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String getDescriptorClassName(String className)
public static Class<? extends IBindableDescriptor> getDescriptorClass(Class<?> clazz)
Bindable.
IllegalArgumentException - If the class is not annotated with Bindable.
NoClassDefFoundError - If the descriptor cannot be found.public static IBindableDescriptor getDescriptor(Class<?> clazz)
Bindable.
IllegalArgumentException - If the class is not annotated with Bindable.
NoClassDefFoundError - If the descriptor cannot be found.
RuntimeException - If instantiation fails for some reason.
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||