org.apache.axiom.soap.impl.common
Class RolePlayerChecker

java.lang.Object
  extended by org.apache.axiom.soap.impl.common.RolePlayerChecker
All Implemented Interfaces:
Checker

public class RolePlayerChecker
extends java.lang.Object
implements Checker

This Checker uses a RolePlayer to return the appropriate headers for that RolePlayer to process. Ignore "none", always "next", etc.


Constructor Summary
RolePlayerChecker(RolePlayer rolePlayer)
          Constructor.
RolePlayerChecker(RolePlayer rolePlayer, java.lang.String namespace)
           
 
Method Summary
 boolean checkHeader(SOAPHeaderBlock header)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RolePlayerChecker

public RolePlayerChecker(RolePlayer rolePlayer)
Constructor.

Parameters:
rolePlayer - the RolePlayer to check against. This can be null, in which case we assume we're the ultimate destination.

RolePlayerChecker

public RolePlayerChecker(RolePlayer rolePlayer,
                         java.lang.String namespace)
Method Detail

checkHeader

public boolean checkHeader(SOAPHeaderBlock header)
Specified by:
checkHeader in interface Checker


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