|
|||||||||||
| 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,
java.lang.String nlsCode,
boolean expandValues)
Use this constructor when you already have a FormConfig object. |
|
FormConfigUtil(java.lang.String nspath,
BaseConfiguration config,
java.lang.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 java.lang.String |
getFormName(BaseConfiguration bc)
Find the name of the Form that should be used for this BaseConfiguration. |
|
static
|
getParentConfig(java.lang.Object config,
java.lang.Class<T> cls)
|
|
static java.util.List<java.lang.String> |
getSystemFolderNames(int type)
Return all names in the specified system folder |
|
java.lang.String |
toXSD()
Returns the XSD document as a string. |
|
org.w3c.dom.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(java.lang.String nspath,
BaseConfiguration config,
java.lang.String nlsCode,
boolean expandValues)
throws java.lang.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
java.lang.Exceptionpublic FormConfigUtil(AssemblyLineConfig alc)
alc -
public FormConfigUtil(FormConfig form,
java.lang.String nlsCode,
boolean expandValues)
throws java.lang.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
java.lang.Exception| Method Detail |
|---|
public org.w3c.dom.Document toXSDDoc()
throws java.lang.Exception
java.lang.Exception
public java.lang.String toXSD()
throws java.lang.Exception
java.lang.Exceptionpublic static java.util.List<java.lang.String> getSystemFolderNames(int type)
type -
public static java.lang.String getFormName(BaseConfiguration bc)
bc - The BaseConfiguration
public static <T> T getParentConfig(java.lang.Object config,
java.lang.Class<T> cls)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||