org.apache.cxf.ws.policy
Class AssertionBuilderRegistryImpl

java.lang.Object
  extended by org.apache.cxf.extension.RegistryImpl<javax.xml.namespace.QName,AssertionBuilder>
      extended by org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl
All Implemented Interfaces:
BusExtension, Registry<javax.xml.namespace.QName,AssertionBuilder>, AssertionBuilderRegistry

public class AssertionBuilderRegistryImpl
extends RegistryImpl<javax.xml.namespace.QName,AssertionBuilder>
implements AssertionBuilderRegistry, BusExtension


Field Summary
 
Fields inherited from class org.apache.cxf.extension.RegistryImpl
entries
 
Constructor Summary
AssertionBuilderRegistryImpl()
           
AssertionBuilderRegistryImpl(java.util.Map<javax.xml.namespace.QName,AssertionBuilder> builders)
           
AssertionBuilderRegistryImpl(MapProvider<javax.xml.namespace.QName,AssertionBuilder> builders)
           
 
Method Summary
 PolicyAssertion build(org.w3c.dom.Element element)
          Returns an assertion that is built using the specified xml element.
 java.lang.Class<?> getRegistrationType()
           
 boolean isIgnoreUnknownAssertions()
          Indicates if unknown assertions should simply be ignored.
 void setBus(Bus b)
           
 void setIgnoreUnknownAssertions(boolean ignore)
          Indicates if unknown assertions should simply be ignored.
 
Methods inherited from class org.apache.cxf.extension.RegistryImpl
get, register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.extension.Registry
get, register, unregister
 

Constructor Detail

AssertionBuilderRegistryImpl

public AssertionBuilderRegistryImpl()

AssertionBuilderRegistryImpl

public AssertionBuilderRegistryImpl(java.util.Map<javax.xml.namespace.QName,AssertionBuilder> builders)

AssertionBuilderRegistryImpl

public AssertionBuilderRegistryImpl(MapProvider<javax.xml.namespace.QName,AssertionBuilder> builders)
Method Detail

setBus

public void setBus(Bus b)

getRegistrationType

public java.lang.Class<?> getRegistrationType()
Specified by:
getRegistrationType in interface BusExtension

isIgnoreUnknownAssertions

public boolean isIgnoreUnknownAssertions()
Description copied from interface: AssertionBuilderRegistry
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.

Specified by:
isIgnoreUnknownAssertions in interface AssertionBuilderRegistry
Returns:

setIgnoreUnknownAssertions

public void setIgnoreUnknownAssertions(boolean ignore)
Description copied from interface: AssertionBuilderRegistry
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.

Specified by:
setIgnoreUnknownAssertions in interface AssertionBuilderRegistry
Parameters:
ignore - iff unknown assertions should be ignored

build

public PolicyAssertion build(org.w3c.dom.Element element)
Description copied from interface: AssertionBuilderRegistry
Returns an assertion that is built using the specified xml element.

Specified by:
build in interface AssertionBuilderRegistry
Parameters:
element - the element from which to build an Assertion.
Returns:
an Assertion that is built using the specified element.


Apache CXF