public class J2eePanelUtil
extends java.lang.Object
| Constructor and Description | 
|---|
J2eePanelUtil()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
checkValidDocumentRoot(java.lang.String documentRoot,
                      java.awt.Component parent,
                      boolean allowInvalid,
                      java.lang.String helpId)
Checks if a web application document root path passed is valid. 
 | 
static void | 
checkValidWebAppContext(java.lang.String webAppContext,
                       java.awt.Component parent,
                       boolean allowInvalid,
                       java.lang.String helpId)
Checks if web application context string passed is valid. 
 | 
static void | 
checkValidWebAppName(java.lang.String webAppName,
                    java.awt.Component parent,
                    boolean allowInvalid,
                    java.lang.String helpId)
Checks if a web application name passed is valid. 
 | 
public static void checkValidWebAppContext(java.lang.String webAppContext,
                           java.awt.Component parent,
                           boolean allowInvalid,
                           java.lang.String helpId)
                                    throws TraversalException
webAppContext - The context string that has to be validatedparent - Parent component for error or message dialog that could be shownallowInvalid - if true, an invalid webAppContext does not cause an 
 exception to be thrownhelpId - Help id for the message and error dialogsTraversalException - if validation fails and allowInvalid is
 falsepublic static void checkValidWebAppName(java.lang.String webAppName,
                        java.awt.Component parent,
                        boolean allowInvalid,
                        java.lang.String helpId)
                                 throws TraversalException
webAppName - the web application name string that has to be validatedparent - parent component for error or message dialogallowInvalid - if true, supresses TraversalException. See method 
 definition abovehelpId - help text id for message or error dialogsTraversalException - if validation fails and allowInvalid is 
 falsepublic static void checkValidDocumentRoot(java.lang.String documentRoot,
                          java.awt.Component parent,
                          boolean allowInvalid,
                          java.lang.String helpId)
                                   throws TraversalException
documentRoot - the web application document root path string that has to be validatedparent - parent component for error or message dialogallowInvalid - if true, supresses TraversalException. See method 
 definition abovehelpId - help text id for message or error dialogsTraversalException - if validation fails and allowInvalid is 
 false