Class Validator
- java.lang.Object
-
- org.apache.axis2.jaxws.description.validator.Validator
-
- Direct Known Subclasses:
EndpointDescriptionValidator
,EndpointInterfaceDescriptionValidator
,OperationDescriptionValidator
,ServiceDescriptionValidator
public abstract class Validator extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Validator.ValidationLevel
-
Field Summary
Fields Modifier and Type Field Description static boolean
INVALID
static boolean
VALID
protected ValidationFailures
validationFailures
-
Constructor Summary
Constructors Constructor Description Validator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
toString()
abstract boolean
validate()
protected boolean
validate(boolean performVaidation)
This validate method gives us flexibility to bypass a validation from set of validation that we need to perform.
-
-
-
Field Detail
-
VALID
public static final boolean VALID
- See Also:
- Constant Field Values
-
INVALID
public static final boolean INVALID
- See Also:
- Constant Field Values
-
validationFailures
protected ValidationFailures validationFailures
-
-
Method Detail
-
validate
public abstract boolean validate()
-
validate
protected boolean validate(boolean performVaidation)
This validate method gives us flexibility to bypass a validation from set of validation that we need to perform. For example we may skip RespectBinding Validation if this flag is set to false. performVaidation = false - Means validation can be bypassed. performVaidation = true - Means validation cannot be bypassed.- Parameters:
performVaidation
- - When performVaidation is false we will bypass validation- Returns:
-
-