|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.javalid.external.jsf.config.JsfConfigurationDeclarative
public class JsfConfigurationDeclarative
This class is responsible for loading the jsf xml configuration (validation rules and such). This class should be used as a singleton for access to configuration information.
| Constructor Summary | |
|---|---|
JsfConfigurationDeclarative(java.lang.String xmlConfigFile)
|
|
JsfConfigurationDeclarative(java.lang.String xmlConfigFile,
javax.servlet.ServletContext ctx)
|
|
| Method Summary | |
|---|---|
ViewElement |
findViewElement(java.lang.String path)
Returns the ViewElement for given path or null if not found |
java.lang.String |
getResourceBundleName()
Returns the bundleName to use, if NOT specified by the user returns null, indicating the default bundleName on the facescontext must be used. |
protected void |
init(java.lang.String xmlConfigFile,
javax.servlet.ServletContext ctx)
|
boolean |
isViewElementPresent(java.lang.String path)
Return true if for given path a ViewElement exists |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JsfConfigurationDeclarative(java.lang.String xmlConfigFile)
public JsfConfigurationDeclarative(java.lang.String xmlConfigFile,
javax.servlet.ServletContext ctx)
| Method Detail |
|---|
protected void init(java.lang.String xmlConfigFile,
javax.servlet.ServletContext ctx)
public boolean isViewElementPresent(java.lang.String path)
path - The path to check (viewpath, without server path and get parameters etc. Example: /example.jspx , /pages/example.xhtml etc).
See JsfSupport for stripping a path of get parameters ..
public ViewElement findViewElement(java.lang.String path)
path - The path to check (viewpath, without server path and get parameters etc. Example: /example.jspx , /pages/example.xhtml etc).
See JsfSupport for stripping a path of get parameters ..
public java.lang.String getResourceBundleName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||