Apache CXF API

org.apache.cxf.ws.policy
Interface AssertionBuilderRegistry

All Superinterfaces:
org.apache.neethi.AssertionBuilderFactory
All Known Implementing Classes:
AssertionBuilderRegistryImpl

public interface AssertionBuilderRegistry
extends org.apache.neethi.AssertionBuilderFactory

AssertionBuilderRegistry is used to manage AssertionBuilders and create Assertion objects from given xml elements.


Method Summary
 boolean isIgnoreUnknownAssertions()
          Indicates if unknown assertions should simply be ignored.
 void setIgnoreUnknownAssertions(boolean ignoreUnknownAssertions)
          Indicates if unknown assertions should simply be ignored.
 
Methods inherited from interface org.apache.neethi.AssertionBuilderFactory
build, getBuilder, getConverterRegistry, getPolicyEngine, registerBuilder, registerBuilder
 

Method Detail

isIgnoreUnknownAssertions

boolean isIgnoreUnknownAssertions()
Indicates if unknown assertions should simply be ignored. If set to false, the policy engine will throw an exception upon encountering an assertion type for which no AssertionBuilder has been registered.

Returns:
false if unknown assertions will result in an exception

setIgnoreUnknownAssertions

void setIgnoreUnknownAssertions(boolean ignoreUnknownAssertions)
Indicates if unknown assertions should simply be ignored. If set to false, the policy engine will throw an exception upon encountering an assertion type for which no AssertionBuilder has been registered.

Parameters:
ignoreUnknownAssertions - if unknown assertions should be ignored

Apache CXF API

Apache CXF