|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.config.base.FormConfigUtil
public class FormConfigUtil
| Constructor Summary | |
|---|---|
FormConfigUtil(AssemblyLineConfig alc)
Use this constructor to generate an XSD based on the assemblyline' schema. |
|
FormConfigUtil(FormConfig form,
String nlsCode,
boolean expandValues)
Use this constructor when you already have a FormConfig object. |
|
FormConfigUtil(String nspath,
BaseConfiguration config,
String nlsCode,
boolean expandValues)
Use this constructor to obtain the form that would be used to display settings for the provided config. |
|
| Method Summary | ||
|---|---|---|
static String |
getFormName(BaseConfiguration bc)
Find the name of the Form that should be used for this BaseConfiguration. |
|
static
|
getParentConfig(Object config,
Class<T> cls)
|
|
static List<String> |
getSystemFolderNames(int type)
Return all names in the specified system folder |
|
String |
toXSD()
Returns the XSD document as a string. |
|
Document |
toXSDDoc()
Returns an XSD document that defines the contents of the form. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormConfigUtil(String nspath,
BaseConfiguration config,
String nlsCode,
boolean expandValues)
throws Exception
nspath - The complete path to the component (e.g.
system:/Connectors/ibmdi.LDAP)config - The configuration object (from which the form is derived)nlsCode - The NLS code for labelsexpandValues - true if values for drop-down lists etc should be expanded
Exceptionpublic FormConfigUtil(AssemblyLineConfig alc)
alc -
public FormConfigUtil(FormConfig form,
String nlsCode,
boolean expandValues)
throws Exception
form - The form config (must not be null)nlsCode - The NLS code for labelsexpandValues - true if values for drop-down lists etc should be expanded
Exception| Method Detail |
|---|
public Document toXSDDoc()
throws Exception
Exception
public String toXSD()
throws Exception
Exceptionpublic static List<String> getSystemFolderNames(int type)
type -
public static String getFormName(BaseConfiguration bc)
bc - The BaseConfiguration
public static <T> T getParentConfig(Object config,
Class<T> cls)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||