org.apache.muse.ws.dm.muws.impl
Class AllMatch

java.lang.Object
  extended by org.apache.muse.ws.dm.muws.impl.ComplexMatch
      extended by org.apache.muse.ws.dm.muws.impl.AllMatch
All Implemented Interfaces:
XmlSerializable, Match

public class AllMatch
extends ComplexMatch

AllMatch is a ComplexMatch that acts as a conditional AND (&&) on all subexpressions.

Author:
Dan Jemiolo (danj)

Constructor Summary
AllMatch(WsResource owner)
           
AllMatch(WsResource owner, Element xml)
           
 
Method Summary
protected  QName getRootQName()
           
 boolean matches(EndpointReference epr)
           
 
Methods inherited from class org.apache.muse.ws.dm.muws.impl.ComplexMatch
addMatch, getMatches, getWsResource, removeMatch, toXML, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllMatch

public AllMatch(WsResource owner)

AllMatch

public AllMatch(WsResource owner,
                Element xml)
Method Detail

getRootQName

protected QName getRootQName()
Specified by:
getRootQName in class ComplexMatch
Returns:
The name of the XML element that defines the concrete match.

matches

public boolean matches(EndpointReference epr)
                throws SoapFault
Parameters:
epr - The EPR to another resource which may be the same as this resource.
Returns:
True if all subexpressions defined by the Match evaluate to 'true'. This is the same as combining them in a logical AND.
Throws:
SoapFault


Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.