org.apache.axis2.jaxws.description.validator
Class Validator
java.lang.Object
org.apache.axis2.jaxws.description.validator.Validator
- Direct Known Subclasses:
- EndpointDescriptionValidator, EndpointInterfaceDescriptionValidator, OperationDescriptionValidator, ServiceDescriptionValidator
public abstract class Validator
- extends java.lang.Object
Method Summary |
java.lang.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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
Validator
public Validator()
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:
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.