FileDocCategorySizeDatePackage
DefaultPolicyAssertionCreator.javaAPI DocExample4052Tue May 29 16:56:38 BST 2007com.sun.xml.ws.policy.sourcemodel

DefaultPolicyAssertionCreator

public class DefaultPolicyAssertionCreator extends Object implements com.sun.xml.ws.policy.spi.PolicyAssertionCreator
Default implementation of a policy assertion creator. This implementation is used to create policy assertions in case no domain specific policy assertion creator is registered for the namespace of the policy assertion. This is the only PolicyAssertionCreator implementation that is allowed to break general contract, claiming that {@code getSupportedDomainNamespaceUri()} must not return empty String without causing PolicyAssertionCreator registration fail.
author
Marek Potociar (marek.potociar at sun.com)

Fields Summary
Constructors Summary
DefaultPolicyAssertionCreator()
Creates a new instance of DefaultPolicyAssertionCreator

        // nothing to initialize
    
Methods Summary
public PolicyAssertioncreateAssertion(AssertionData data, java.util.Collection assertionParameters, AssertionSet nestedAlternative, com.sun.xml.ws.policy.spi.PolicyAssertionCreator defaultCreator)
See {@link PolicyAssertionCreator#createAssertion(AssertionData, Collection, AssertionSet, PolicyAssertionCreator) method documentation in interface}

        return new DefaultPolicyAssertion(data, assertionParameters, nestedAlternative);
    
public java.lang.String[]getSupportedDomainNamespaceURIs()
See {@link PolicyAssertionCreator#getSupportedDomainNamespaceURIs() method documentation in interface}

        return null;