FileDocCategorySizeDatePackage
AddressingPolicyValidator.javaAPI DocExample3413Tue May 29 16:56:30 BST 2007com.sun.xml.ws.addressing.policy

AddressingPolicyValidator

public class AddressingPolicyValidator extends Object implements com.sun.xml.ws.policy.spi.PolicyAssertionValidator
author
japod

Fields Summary
private static final ArrayList
supportedAssertions
Constructors Summary
public AddressingPolicyValidator()
Creates a new instance of AddressingPolicyValidator

    
     
        supportedAssertions.add(new QName(AddressingVersion.MEMBER.policyNsUri,"UsingAddressing"));
        supportedAssertions.add(new QName(AddressingVersion.W3C.policyNsUri,"UsingAddressing"));
    
    
Methods Summary
public java.lang.String[]declareSupportedDomains()

        return new String[] {AddressingVersion.MEMBER.policyNsUri, AddressingVersion.W3C.policyNsUri};
    
public com.sun.xml.ws.policy.spi.PolicyAssertionValidator.FitnessvalidateClientSide(com.sun.xml.ws.policy.PolicyAssertion assertion)

        return supportedAssertions.contains(assertion.getName()) ? Fitness.SUPPORTED : Fitness.UNKNOWN;
    
public com.sun.xml.ws.policy.spi.PolicyAssertionValidator.FitnessvalidateServerSide(com.sun.xml.ws.policy.PolicyAssertion assertion)

        return supportedAssertions.contains(assertion.getName()) ? Fitness.SUPPORTED : Fitness.UNKNOWN;