Package jaxx.compiler
Class JAXXCompiler
java.lang.Object
jaxx.compiler.JAXXCompiler
public class JAXXCompiler
extends java.lang.Object
- Since:
- 1.0.0
- Author:
- Tony Chemit - chemit@codelutin.com
-
Field Summary
Fields Modifier and Type Field Description protected java.io.FilebaseDirBase directory used for path resolution (normally the directory in which the .jaxx file resides).protected DataBindingHelperbindingHelperBinding Utilprotected java.lang.StringBuilderbodyCodeExtra code to be added to the class body.static java.lang.StringBORDER_LAYOUT_PREFIXprotected java.lang.ClassLoaderclassLoaderClassLoader which searches the user-specified class path in addition to the normal class pathprotected CompilerConfigurationdefaultConfigurationprotected CompiledObjectDecoratordefaultDecoratordefault decodator to use if none specifiedprotected org.w3c.dom.DocumentdocumentParsed XML of src file.static java.lang.String[]EMPTY_STRING_ARRAYprotected JAXXEngineengineengine which references this compiler (can be null if compiler is standalone)protected java.util.Map<EventHandler,java.lang.String>eventHandlerMethodNamesMap of event handler method names used in compilerprotected java.util.Map<java.lang.String,java.util.Map<ClassDescriptor,java.util.List<EventHandler>>>eventHandlersMaps objects (expressed in Java code) to event listener classes (e.g.protected booleanfailedflag to detect if an error occurs while compiling jaxx fileprotected DefaultObjectHandlerfirstPassClassTagHandlerThe unique object handler used in first passprotected booleanidentCssFoundFlag to know if jaxx file ident css was found, otherwise add it at the end of the second compile pass.protected IDHelperidHelperto generate idsprotected java.util.Map<CompiledObject,java.lang.String>idsMaps objects to their ID strings.protected java.util.Set<java.lang.String>importedClassesContains strings of the form "javax.swing.Timer"protected java.util.Set<java.lang.String>importedPackagesContains strings of the form "javax.swing."protected java.lang.StringBuilderinitializerExtra code to be added to the instance initializer.protected java.util.List<java.lang.Runnable>initializersA list of Runnables which will be run after the first compilation pass.static intINLINE_THRESHOLDMaximum length of an inlinable creation method.protected java.util.List<Rule>inlineStylesContains all attributes defined inline on class tags.protected JavaFilejavaFilethe file to be generatedstatic java.lang.StringJAXX_INTERNAL_NAMESPACEstatic java.lang.StringJAXX_NAMESPACEprotected JAXXCompilerFilejaxxFileprotected java.lang.StringBuilderlateInitializerExtra code to be added at the end of the instance initializer.protected static java.lang.StringlineSeparatorLine separator cached valueprotected static org.apache.commons.logging.LoglogLoggerprotected booleanmainDeclaredtrue if a main() method has been declared in a scriptprotected booleanneedSwingUtilDeprecated.since 2.4.1, will be removed in version 3.0, it is not a good idea to do special treatment for a particular class, to use SwingUtil, do like for other class : import it!protected java.util.Map<java.lang.String,CompiledObject>objectsMaps object ID strings to the objects themselves.protected java.util.Stack<CompiledObject>openComponentsKeeps track of open components (components still having children added).protected java.lang.StringoutputClassNameName of class being compiled.protected CompiledObjectrootObject corresponding to the root tag in the document.protected ScriptManagerscriptManagerscript managerprotected java.util.Stack<java.io.File>sourceFilesUsed for error reporting purposes, so we can report the right source file.protected java.io.Filesrcjaxx file being compiled.static booleanSTRICT_CHECKSTrue to throw exceptions when we encounter unresolvable classes, false to ignore.protected StylesheetstylesheetCombination of all stylesheets registered usingregisterStylesheet(Stylesheet).protected SymbolTablesymbolTabletable of symbols for this compilerprotected java.util.Stack<org.w3c.dom.Element>tagsBeingCompiledUsed for error reporting purposes, so we can report the right line number.protected java.lang.StringuiHandler -
Constructor Summary
Constructors Constructor Description JAXXCompiler()JAXXCompiler(JAXXEngine engine, JAXXCompilerFile jaxxFile, java.util.List<java.lang.String> defaultImports)Creates a new JAXXCompiler. -
Method Summary
Modifier and Type Method Description protected voidaddDefaultImport(java.lang.String text)voidaddDependencyClass(java.lang.String className)voidaddImport(java.lang.Class<?> clazz)voidaddImport(java.lang.String text)voidaddInlineStyle(CompiledObject object, java.lang.String propertyName, boolean dataBinding)voidaddScriptField(FieldDescriptor field)voidaddScriptMethod(MethodDescriptor method)voidaddSimpleField(JavaField javaField)voidappendBodyCode(java.lang.String code)voidappendInitializerCode(java.lang.String code)voidappendLateInitializer(java.lang.String code)voidapplyStylesheets()java.lang.StringcheckJavaCode(java.lang.String javaCode)Verifies that a snippet of Java code parses correctly.voidcheckOverride(CompiledObject object)booleancheckReference(org.w3c.dom.Element tag, java.lang.String reference, boolean strict, java.lang.String attribute)Check that a reference exists in symbol table on second compil passvoidclear()voidcloseComponent(CompiledObject component)voidcompileFirstPass()voidcompileFirstPass(org.w3c.dom.Element tag)voidcompileSecondPass()voidcompileSecondPass(org.w3c.dom.Element tag)booleancontainsScriptField(java.lang.String fieldName)static java.lang.StringescapeJavaString(java.lang.String raw)Escapes a string using standard Java escape sequences, generally in preparation to including it in a string literal in a compiled Java file.voidfinalizeCompiler()voidgenerate(JavaFileGenerator generator)java.lang.StringgetAutoId(java.lang.String name)java.io.FilegetBaseDir()DataBindingHelpergetBindingHelper()java.lang.StringBuildergetBodyCode()static java.lang.StringgetCanonicalName(java.lang.Class<?> clazz)static java.lang.StringgetCanonicalName(CompiledObject compiled)static java.lang.StringgetCanonicalName(ClassDescriptor clazz)java.lang.ClassLoadergetClassLoader()Returns aClassLoaderwhich searches the user-specified class path in addition to the normal system class path.CompiledObjectgetCompiledObject(java.lang.String id)CompilerConfigurationgetConfiguration()JAXXEnginegetEngine()java.lang.StringgetEventHandlerMethodName(EventHandler handler)java.util.Map<java.lang.String,java.util.Map<ClassDescriptor,java.util.List<EventHandler>>>getEventHandlers()java.lang.String[]getExtraInterfaces()java.lang.StringgetGenericType()IDHelpergetIdHelper()java.util.Set<java.lang.String>getImportedClasses()java.util.Set<java.lang.String>getImportedPackages()java.lang.StringgetImportedType(java.lang.Class<?> type)Try to import the given type into the underlying java file of this compiler.java.lang.StringgetImportedType(java.lang.String type)Try to import the given type into the underlying java file of this compiler.java.lang.StringgetImportedTypeForSimpleName(java.lang.String type)org.nuiton.eugene.java.extension.ImportsManagergetImportManager()Deprecated.since 2.4.1, will be removed in version 3.0 : do not want to expose eugene export manager in rest of api, this is purpose of JavaFile onlyjava.lang.StringBuildergetInitializer()JavaFilegetJavaFile()JAXXObjectDescriptorgetJAXXObjectDescriptor()java.lang.StringBuildergetLateInitializer()static java.lang.StringgetLineSeparator()Returns the system line separator string.java.util.Iterator<CompiledObject>getObjectCreationOrder()java.util.Map<java.lang.String,CompiledObject>getObjects()CompiledObjectgetOpenComponent()java.lang.StringgetOutputClassName()CompiledObjectgetRootObject()static javax.xml.parsers.SAXParsergetSAXParser()FieldDescriptorgetScriptField(java.lang.String fieldName)FieldDescriptor[]getScriptFields()ScriptManagergetScriptManager()MethodDescriptorgetScriptMethod(java.lang.String methodName)MethodDescriptor[]getScriptMethods()java.util.Stack<java.io.File>getSourceFiles()StylesheetgetStylesheet()java.lang.StringgetSuperGenericType()SymbolTablegetSymbolTable()java.lang.StringgetUiHandler()java.lang.StringgetUniqueId(java.lang.Object object)booleanhasMethod(java.lang.String methodName)booleaninlineCreation(CompiledObject object)booleanisAbstractClass()booleanisFailed()booleanisIdentCssFound()booleanisMainDeclared()booleanisNeedSwingUtil()Deprecated.since 2.4.1, will be removed in version 3.0, has no effect do not use it...booleanisSuperClassAware(java.lang.Class<?> type)Checks if the super class of the mirrored javaFile is aware of the iventype.booleanisUseHandler()java.lang.StringloadFile(java.io.File file)Loads the given file and returns its content.voidopenComponent(CompiledObject component)voidopenComponent(CompiledObject component, java.lang.String constraints)voidopenInvisibleComponent(CompiledObject component)static org.w3c.dom.DocumentparseDocument(java.io.InputStream in)voidpreFinalizeCompiler()java.lang.StringpreprocessScript(java.lang.String script)voidregisterCompiledObject(CompiledObject object)voidregisterEventHandler(EventHandler handler)voidregisterInitializer(java.lang.Runnable r)Registers aRunnablewhich will be executed after the first compilation pass is complete.voidregisterScript(java.lang.String script)voidregisterScript(java.lang.String script, java.io.File sourceFile)voidregisterStylesheet(Stylesheet stylesheet)voidregisterStyleSheetFile(java.io.File styleFile, boolean warnAutoCssImport)voidreportError(int lineNumber, java.lang.String error)voidreportError(java.lang.String error)voidreportError(java.lang.String extraMessage, CompilerException ex)voidreportError(CompilerException ex)voidreportError(org.w3c.dom.Element tag, java.lang.String error)voidreportError(org.w3c.dom.Element tag, java.lang.String error, int lineOffset)voidreportWarning(java.lang.String warning)voidreportWarning(org.w3c.dom.Element tag, java.lang.String warning, int lineOffset)voidrunInitializers()voidsetAbstractClass(boolean abstractClass)voidsetClassLoader(java.lang.ClassLoader classLoader)voidsetExtraInterfaces(java.lang.String[] extraInterfaces)voidsetGenericType(java.lang.String genericType)voidsetMainDeclared(boolean mainDeclared)voidsetNeedSwingUtil(boolean needSwingUtil)Deprecated.since 2.4.1, will be removed in version 3.0, has no effect do not use it...voidsetSuperGenericType(java.lang.String superGenericType)voidsetUiHandler(java.lang.String uiHandler)static java.io.FileURLtoFile(java.lang.String urlString)static java.io.FileURLtoFile(java.net.URL url)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
log
protected static final org.apache.commons.logging.Log logLogger -
STRICT_CHECKS
public static boolean STRICT_CHECKSTrue to throw exceptions when we encounter unresolvable classes, false to ignore. This is currently set to false until JAXX has full support for inner classes (including enumerations), because currently they don't always resolve (but will generally run without error anyway). -
JAXX_NAMESPACE
public static final java.lang.String JAXX_NAMESPACE- See Also:
- Constant Field Values
-
JAXX_INTERNAL_NAMESPACE
public static final java.lang.String JAXX_INTERNAL_NAMESPACE- See Also:
- Constant Field Values
-
INLINE_THRESHOLD
public static final int INLINE_THRESHOLDMaximum length of an inlinable creation method.- See Also:
- Constant Field Values
-
lineSeparator
protected static java.lang.String lineSeparatorLine separator cached value -
BORDER_LAYOUT_PREFIX
public static final java.lang.String BORDER_LAYOUT_PREFIX -
firstPassClassTagHandler
The unique object handler used in first pass -
failed
protected boolean failedflag to detect if an error occurs while compiling jaxx file -
root
Object corresponding to the root tag in the document. -
importedPackages
protected java.util.Set<java.lang.String> importedPackagesContains strings of the form "javax.swing." -
importedClasses
protected java.util.Set<java.lang.String> importedClassesContains strings of the form "javax.swing.Timer" -
openComponents
Keeps track of open components (components still having children added). -
idHelper
to generate ids -
bindingHelper
Binding Util -
symbolTable
table of symbols for this compiler -
baseDir
protected java.io.File baseDirBase directory used for path resolution (normally the directory in which the .jaxx file resides). -
src
protected java.io.File srcjaxx file being compiled. -
document
protected org.w3c.dom.Document documentParsed XML of src file. -
outputClassName
protected java.lang.String outputClassNameName of class being compiled. -
scriptManager
script manager -
stylesheet
Combination of all stylesheets registered usingregisterStylesheet(Stylesheet). -
inlineStyles
Contains all attributes defined inline on class tags. -
eventHandlers
protected java.util.Map<java.lang.String,java.util.Map<ClassDescriptor,java.util.List<EventHandler>>> eventHandlersMaps objects (expressed in Java code) to event listener classes (e.g. MouseListener) to Lists of EventHandlers. The final list contains all event handlers of a particular type attached to a particular object (again, as represented by a Java expression). -
eventHandlerMethodNames
Map of event handler method names used in compiler -
classLoader
protected java.lang.ClassLoader classLoaderClassLoader which searches the user-specified class path in addition to the normal class path -
initializers
protected java.util.List<java.lang.Runnable> initializersA list of Runnables which will be run after the first compilation pass. This is primarily used to trigger the creation of CompiledObjects, which cannot be created during the first pass and must be created in document order. -
initializer
protected java.lang.StringBuilder initializerExtra code to be added to the instance initializer. -
lateInitializer
protected java.lang.StringBuilder lateInitializerExtra code to be added at the end of the instance initializer. -
bodyCode
protected java.lang.StringBuilder bodyCodeExtra code to be added to the class body. -
mainDeclared
protected boolean mainDeclaredtrue if a main() method has been declared in a script -
javaFile
the file to be generated -
tagsBeingCompiled
protected java.util.Stack<org.w3c.dom.Element> tagsBeingCompiledUsed for error reporting purposes, so we can report the right line number. -
sourceFiles
protected java.util.Stack<java.io.File> sourceFilesUsed for error reporting purposes, so we can report the right source file. -
objects
Maps object ID strings to the objects themselves. These are created during the second compilation pass. -
ids
Maps objects to their ID strings. These are created during the second compilation pass. -
defaultDecorator
default decodator to use if none specified -
engine
engine which references this compiler (can be null if compiler is standalone) -
defaultConfiguration
-
jaxxFile
-
identCssFound
protected boolean identCssFoundFlag to know if jaxx file ident css was found, otherwise add it at the end of the second compile pass.- Since:
- 2.0.2
-
needSwingUtil
@Deprecated protected boolean needSwingUtilDeprecated.since 2.4.1, will be removed in version 3.0, it is not a good idea to do special treatment for a particular class, to use SwingUtil, do like for other class : import it!A flag to know if SwingUtil msut be imported.- Since:
- 2.4
-
EMPTY_STRING_ARRAY
public static final java.lang.String[] EMPTY_STRING_ARRAY -
uiHandler
protected java.lang.String uiHandler
-
-
Constructor Details
-
JAXXCompiler
public JAXXCompiler() -
JAXXCompiler
public JAXXCompiler(JAXXEngine engine, JAXXCompilerFile jaxxFile, java.util.List<java.lang.String> defaultImports)Creates a new JAXXCompiler.- Parameters:
engine- engine which use the compiler (could be null if not attach to any engine)jaxxFile- the file to compiledefaultImports- list of default imports to add to java files
-
-
Method Details
-
runInitializers
public void runInitializers() -
registerInitializer
public void registerInitializer(java.lang.Runnable r)Registers aRunnablewhich will be executed after the first compilation pass is complete.- Parameters:
r- runnable to register
-
compileFirstPass
public void compileFirstPass(org.w3c.dom.Element tag) throws java.io.IOException- Throws:
java.io.IOException
-
compileSecondPass
public void compileSecondPass(org.w3c.dom.Element tag) throws java.io.IOException- Throws:
java.io.IOException
-
compileFirstPass
public void compileFirstPass() throws java.io.IOException- Throws:
java.io.IOException
-
compileSecondPass
public void compileSecondPass() throws java.io.IOException- Throws:
java.io.IOException
-
openComponent
- Throws:
CompilerException
-
openComponent
public void openComponent(CompiledObject component, java.lang.String constraints) throws CompilerException- Throws:
CompilerException
-
openInvisibleComponent
-
getOpenComponent
-
closeComponent
-
registerCompiledObject
-
getCompiledObject
-
inlineCreation
-
checkOverride
- Throws:
CompilerException
-
getBindingHelper
-
registerEventHandler
-
getEventHandlerMethodName
-
addScriptField
-
addScriptMethod
-
registerScript
- Throws:
CompilerException
-
registerScript
public void registerScript(java.lang.String script, java.io.File sourceFile) throws CompilerException- Throws:
CompilerException
-
preprocessScript
- Throws:
CompilerException
-
isIdentCssFound
public boolean isIdentCssFound() -
registerStyleSheetFile
public void registerStyleSheetFile(java.io.File styleFile, boolean warnAutoCssImport) throws java.io.IOException- Throws:
java.io.IOException
-
applyStylesheets
public void applyStylesheets() -
registerStylesheet
-
addInlineStyle
public void addInlineStyle(CompiledObject object, java.lang.String propertyName, boolean dataBinding) -
reportWarning
public void reportWarning(java.lang.String warning) -
reportWarning
public void reportWarning(org.w3c.dom.Element tag, java.lang.String warning, int lineOffset) -
reportError
public void reportError(java.lang.String error) -
reportError
-
reportError
-
reportError
public void reportError(org.w3c.dom.Element tag, java.lang.String error) -
reportError
public void reportError(org.w3c.dom.Element tag, java.lang.String error, int lineOffset) -
reportError
public void reportError(int lineNumber, java.lang.String error) -
getObjects
-
getEventHandlers
public java.util.Map<java.lang.String,java.util.Map<ClassDescriptor,java.util.List<EventHandler>>> getEventHandlers() -
getConfiguration
-
getOutputClassName
public java.lang.String getOutputClassName() -
getBaseDir
public java.io.File getBaseDir() -
getImportedClasses
public java.util.Set<java.lang.String> getImportedClasses() -
getImportedPackages
public java.util.Set<java.lang.String> getImportedPackages() -
getObjectCreationOrder
-
getRootObject
-
getSourceFiles
public java.util.Stack<java.io.File> getSourceFiles() -
getScriptManager
-
getSymbolTable
-
getStylesheet
-
getScriptFields
-
getScriptField
-
getScriptMethods
-
getScriptMethod
-
isFailed
public boolean isFailed() -
getIdHelper
-
getClassLoader
public java.lang.ClassLoader getClassLoader()Returns aClassLoaderwhich searches the user-specified class path in addition to the normal system class path.- Returns:
ClassLoaderto use while resolving class references
-
isSuperClassAware
public boolean isSuperClassAware(java.lang.Class<?> type) throws java.lang.ClassNotFoundExceptionChecks if the super class of the mirrored javaFile is aware of the iventype. Note: If no super-class exist, then returnsfalse.- Parameters:
type- the type to check against super class- Returns:
trueif super class exists and is assignable against the given type,falseotherwise- Throws:
java.lang.ClassNotFoundException- if could not find class descriptor for super-class
-
getJAXXObjectDescriptor
-
getInitializer
public java.lang.StringBuilder getInitializer() -
getLateInitializer
public java.lang.StringBuilder getLateInitializer() -
getBodyCode
public java.lang.StringBuilder getBodyCode() -
isMainDeclared
public boolean isMainDeclared() -
setMainDeclared
public void setMainDeclared(boolean mainDeclared) -
appendInitializerCode
public void appendInitializerCode(java.lang.String code) -
appendBodyCode
public void appendBodyCode(java.lang.String code) -
appendLateInitializer
public void appendLateInitializer(java.lang.String code) -
hasMethod
public boolean hasMethod(java.lang.String methodName) -
addImport
public void addImport(java.lang.Class<?> clazz) -
addImport
public void addImport(java.lang.String text) -
addDefaultImport
protected void addDefaultImport(java.lang.String text) -
addDependencyClass
public void addDependencyClass(java.lang.String className) -
loadFile
public java.lang.String loadFile(java.io.File file)Loads the given file and returns its content. Note: If any errors encounters, then report an error in the compiler and returns an empty string.- Parameters:
file- the file to load- Returns:
- the content of the file or empty string if something was wrong
-
checkJavaCode
public java.lang.String checkJavaCode(java.lang.String javaCode)Verifies that a snippet of Java code parses correctly. A warning is generated if the string has enclosing curly braces.- Parameters:
javaCode- the Java code snippet to test- Returns:
- a "cooked" version of the string which has enclosing curly braces removed.
- Throws:
CompilerException- if the code cannot be parsed
-
checkReference
public boolean checkReference(org.w3c.dom.Element tag, java.lang.String reference, boolean strict, java.lang.String attribute)Check that a reference exists in symbol table on second compil pass- Parameters:
tag- the current tagreference- the required referencestrict- flag to report an error if reference was not foundattribute- (if not null reference the attribute where is defined the reference)- Returns:
trueif reference was found,falseotherwise and add an error in compiler
-
getAutoId
public java.lang.String getAutoId(java.lang.String name) -
getUniqueId
public java.lang.String getUniqueId(java.lang.Object object) -
setExtraInterfaces
public void setExtraInterfaces(java.lang.String[] extraInterfaces) -
getExtraInterfaces
public java.lang.String[] getExtraInterfaces() -
isAbstractClass
public boolean isAbstractClass() -
setAbstractClass
public void setAbstractClass(boolean abstractClass) -
getGenericType
public java.lang.String getGenericType() -
setGenericType
public void setGenericType(java.lang.String genericType) -
getSuperGenericType
public java.lang.String getSuperGenericType() -
setSuperGenericType
public void setSuperGenericType(java.lang.String superGenericType) -
addSimpleField
-
getJavaFile
-
preFinalizeCompiler
public void preFinalizeCompiler() throws java.lang.Exception- Throws:
java.lang.Exception
-
finalizeCompiler
public void finalizeCompiler() throws java.lang.Exception- Throws:
java.lang.Exception
-
generate
- Throws:
java.io.IOException
-
getLineSeparator
public static java.lang.String getLineSeparator()Returns the system line separator string.- Returns:
- the string used to separate lines
-
getCanonicalName
public static java.lang.String getCanonicalName(java.lang.Class<?> clazz) -
getCanonicalName
-
getCanonicalName
-
escapeJavaString
public static java.lang.String escapeJavaString(java.lang.String raw)Escapes a string using standard Java escape sequences, generally in preparation to including it in a string literal in a compiled Java file.- Parameters:
raw- the raw string to be escape- Returns:
- a string in which all 'dangerous' characters have been replaced by equivalent Java escape sequences
-
URLtoFile
public static java.io.File URLtoFile(java.net.URL url) -
URLtoFile
public static java.io.File URLtoFile(java.lang.String urlString) -
getSAXParser
public static javax.xml.parsers.SAXParser getSAXParser() -
parseDocument
public static org.w3c.dom.Document parseDocument(java.io.InputStream in) throws java.io.IOException, org.xml.sax.SAXException- Throws:
java.io.IOExceptionorg.xml.sax.SAXException
-
getEngine
-
clear
public void clear() -
setClassLoader
public void setClassLoader(java.lang.ClassLoader classLoader) -
getImportedType
public java.lang.String getImportedType(java.lang.Class<?> type)Try to import the given type into the underlying java file of this compiler. If import can not be done, will then returns the fully qualified name of the type.- Parameters:
type- the type to simplify- Returns:
- the simplify type or the fqn if type could not be imported for the underlying java file.
- Since:
- 2.4.1
-
getImportedType
public java.lang.String getImportedType(java.lang.String type)Try to import the given type into the underlying java file of this compiler. If import can not be done, will then returns the fully qualified name of the type.- Parameters:
type- the fqn of the type to simplify- Returns:
- the simplify type or the fqn if type could not be imported for the underlying java file.
- Since:
- 2.4.1
-
getImportedTypeForSimpleName
public java.lang.String getImportedTypeForSimpleName(java.lang.String type) -
getImportManager
@Deprecated public org.nuiton.eugene.java.extension.ImportsManager getImportManager()Deprecated.since 2.4.1, will be removed in version 3.0 : do not want to expose eugene export manager in rest of api, this is purpose of JavaFile only- Returns:
- the javafile import manager
- Since:
- 2.4
-
isNeedSwingUtil
@Deprecated public boolean isNeedSwingUtil()Deprecated.since 2.4.1, will be removed in version 3.0, has no effect do not use it...- Since:
- 2.4
-
setNeedSwingUtil
@Deprecated public void setNeedSwingUtil(boolean needSwingUtil)Deprecated.since 2.4.1, will be removed in version 3.0, has no effect do not use it...- Since:
- 2.4
-
containsScriptField
public boolean containsScriptField(java.lang.String fieldName) -
getUiHandler
public java.lang.String getUiHandler() -
setUiHandler
public void setUiHandler(java.lang.String uiHandler) -
isUseHandler
public boolean isUseHandler()
-