|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork.validator.ValidatorFileParser
public class ValidatorFileParser
This class serves 2 purpose :-
Validators
registered with XWork.
ValidatorConfig| Constructor Summary | |
|---|---|
ValidatorFileParser()
|
|
| Method Summary | |
|---|---|
static List |
parseActionValidatorConfigs(InputStream is,
String resourceName)
Parse resource for a list of ValidatorConfig objects (configuring which validator(s) are being applied to a particular field etc.) |
static void |
parseValidatorDefinitions(InputStream is)
Deprecated. Use parseValidatorDefinitions(InputStream, String) |
static void |
parseValidatorDefinitions(InputStream is,
String resourceName)
Parses validator definitions (register various validators with XWork). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValidatorFileParser()
| Method Detail |
|---|
public static List parseActionValidatorConfigs(InputStream is,
String resourceName)
is - input stream to the resourceresourceName - file name of the resource
public static void parseValidatorDefinitions(InputStream is)
is - The input stream
public static void parseValidatorDefinitions(InputStream is,
String resourceName)
is - The input streamresourceName - The location of the input stream
|
WebWork Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||