public class TouchUIDialogUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<TouchUIDialog> |
buildDialogsFromClassList(List<javassist.CtClass> classList,
ClassLoader classLoader,
javassist.ClassPool classPool,
TouchUIWidgetRegistry widgetRegistry,
ComponentNameTransformer transformer,
File buildDirectory,
String componentPathBase,
String defaultComponentPathSuffix,
org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream archiveStream,
Set<String> reservedNames,
String touchUIDialogType) |
protected static Option |
buildSelectionOptionForEnum(Selection selectionAnnotation,
Enum<?> optionEnum,
javassist.ClassPool classPool,
String fieldName)
Deprecated.
|
protected static Option |
buildSelectionOptionForEnum(Selection selectionAnnotation,
Enum<?> optionEnum,
javassist.ClassPool classPool,
String fieldName,
String selectedValue) |
static List<XmlElement> |
createContainedElements(XmlElement... elements) |
static List<Option> |
getOptionsForSelection(Selection selectionAnnotation,
Class<?> type,
ClassLoader classLoader,
javassist.ClassPool classPool)
Deprecated.
|
static List<Option> |
getOptionsForSelection(Selection selectionAnnotation,
DefaultTouchUIWidgetParameters widgetParameters,
Class<?> type,
ClassLoader classLoader,
javassist.ClassPool classPool) |
static List<TouchUIWidgetMakerParameters> |
getWidgetMakerParametersForComponentClass(javassist.CtClass componentClass,
ClassLoader classLoader,
javassist.ClassPool classPool,
TouchUIWidgetRegistry widgetRegistry,
String touchUIDialogType) |
static boolean |
isWidgetInComponentClass(javassist.CtClass componentClass) |
static void |
writeDialogToArchiveFile(ComponentNameTransformer transformer,
File dialogFile,
javassist.CtClass componentClass,
org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream archiveStream,
Set<String> reservedNames,
String componentPathBase,
String defaultComponentPathSuffix) |
static File |
writeDialogToFile(ComponentNameTransformer transformer,
TouchUIDialog dialog,
javassist.CtClass componentClass,
File buildDirectory,
String componentPathBase,
String defaultComponentPathSuffix) |
public static List<TouchUIDialog> buildDialogsFromClassList(List<javassist.CtClass> classList, ClassLoader classLoader, javassist.ClassPool classPool, TouchUIWidgetRegistry widgetRegistry, ComponentNameTransformer transformer, File buildDirectory, String componentPathBase, String defaultComponentPathSuffix, org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream archiveStream, Set<String> reservedNames, String touchUIDialogType) throws TouchUIDialogGenerationException, TouchUIDialogWriteException, ClassNotFoundException, javassist.NotFoundException, InvalidComponentClassException
TouchUIDialogGenerationExceptionTouchUIDialogWriteExceptionClassNotFoundExceptionjavassist.NotFoundExceptionInvalidComponentClassExceptionpublic static File writeDialogToFile(ComponentNameTransformer transformer, TouchUIDialog dialog, javassist.CtClass componentClass, File buildDirectory, String componentPathBase, String defaultComponentPathSuffix) throws TouchUIDialogWriteException
TouchUIDialogWriteExceptionpublic static void writeDialogToArchiveFile(ComponentNameTransformer transformer, File dialogFile, javassist.CtClass componentClass, org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream archiveStream, Set<String> reservedNames, String componentPathBase, String defaultComponentPathSuffix) throws TouchUIDialogWriteException
TouchUIDialogWriteExceptionpublic static List<TouchUIWidgetMakerParameters> getWidgetMakerParametersForComponentClass(javassist.CtClass componentClass, ClassLoader classLoader, javassist.ClassPool classPool, TouchUIWidgetRegistry widgetRegistry, String touchUIDialogType) throws javassist.NotFoundException, ClassNotFoundException, InvalidComponentClassException
javassist.NotFoundExceptionClassNotFoundExceptionInvalidComponentClassExceptionpublic static boolean isWidgetInComponentClass(javassist.CtClass componentClass)
throws javassist.NotFoundException,
ClassNotFoundException,
InvalidComponentClassException
javassist.NotFoundExceptionClassNotFoundExceptionInvalidComponentClassException@Deprecated public static List<Option> getOptionsForSelection(Selection selectionAnnotation, Class<?> type, ClassLoader classLoader, javassist.ClassPool classPool) throws InvalidComponentFieldException
InvalidComponentFieldExceptionpublic static List<Option> getOptionsForSelection(Selection selectionAnnotation, DefaultTouchUIWidgetParameters widgetParameters, Class<?> type, ClassLoader classLoader, javassist.ClassPool classPool) throws InvalidComponentFieldException
InvalidComponentFieldException@Deprecated protected static Option buildSelectionOptionForEnum(Selection selectionAnnotation, Enum<?> optionEnum, javassist.ClassPool classPool, String fieldName) throws SecurityException, NoSuchFieldException, javassist.NotFoundException, ClassNotFoundException
SecurityExceptionNoSuchFieldExceptionjavassist.NotFoundExceptionClassNotFoundExceptionprotected static Option buildSelectionOptionForEnum(Selection selectionAnnotation, Enum<?> optionEnum, javassist.ClassPool classPool, String fieldName, String selectedValue) throws SecurityException, NoSuchFieldException, javassist.NotFoundException, ClassNotFoundException
SecurityExceptionNoSuchFieldExceptionjavassist.NotFoundExceptionClassNotFoundExceptionpublic static List<XmlElement> createContainedElements(XmlElement... elements)
Copyright © 2019 ICF Olson. All rights reserved.