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
TouchUIDialogGenerationException
TouchUIDialogWriteException
ClassNotFoundException
javassist.NotFoundException
InvalidComponentClassException
public static File writeDialogToFile(ComponentNameTransformer transformer, TouchUIDialog dialog, javassist.CtClass componentClass, File buildDirectory, String componentPathBase, String defaultComponentPathSuffix) throws TouchUIDialogWriteException
TouchUIDialogWriteException
public 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
TouchUIDialogWriteException
public static List<TouchUIWidgetMakerParameters> getWidgetMakerParametersForComponentClass(javassist.CtClass componentClass, ClassLoader classLoader, javassist.ClassPool classPool, TouchUIWidgetRegistry widgetRegistry, String touchUIDialogType) throws javassist.NotFoundException, ClassNotFoundException, InvalidComponentClassException
javassist.NotFoundException
ClassNotFoundException
InvalidComponentClassException
public static boolean isWidgetInComponentClass(javassist.CtClass componentClass) throws javassist.NotFoundException, ClassNotFoundException, InvalidComponentClassException
javassist.NotFoundException
ClassNotFoundException
InvalidComponentClassException
@Deprecated public static List<Option> getOptionsForSelection(Selection selectionAnnotation, Class<?> type, ClassLoader classLoader, javassist.ClassPool classPool) throws InvalidComponentFieldException
InvalidComponentFieldException
public 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
SecurityException
NoSuchFieldException
javassist.NotFoundException
ClassNotFoundException
protected static Option buildSelectionOptionForEnum(Selection selectionAnnotation, Enum<?> optionEnum, javassist.ClassPool classPool, String fieldName, String selectedValue) throws SecurityException, NoSuchFieldException, javassist.NotFoundException, ClassNotFoundException
SecurityException
NoSuchFieldException
javassist.NotFoundException
ClassNotFoundException
public static List<XmlElement> createContainedElements(XmlElement... elements)
Copyright © 2019 ICF Olson. All rights reserved.