org.apache.axis2.jaxws.description.validator
Class EndpointDescriptionValidator

java.lang.Object
  extended by org.apache.axis2.jaxws.description.validator.Validator
      extended by org.apache.axis2.jaxws.description.validator.EndpointDescriptionValidator

public class EndpointDescriptionValidator
extends Validator


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.axis2.jaxws.description.validator.Validator
Validator.ValidationLevel
 
Field Summary
 
Fields inherited from class org.apache.axis2.jaxws.description.validator.Validator
INVALID, VALID, validationFailures
 
Constructor Summary
EndpointDescriptionValidator(EndpointDescription toValidate)
           
 
Method Summary
 boolean validate()
           
 boolean validate(boolean performValidation)
          This validate method gives us flexibility to bypass a validation from set of validation that we need to perform.
 
Methods inherited from class org.apache.axis2.jaxws.description.validator.Validator
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EndpointDescriptionValidator

public EndpointDescriptionValidator(EndpointDescription toValidate)
Method Detail

validate

public boolean validate(boolean performValidation)
Description copied from class: Validator
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.

Overrides:
validate in class Validator
Parameters:
performValidation - - When performVaidation is false we will bypass validation
Returns:

validate

public boolean validate()
Specified by:
validate in class Validator


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.