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

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

public class AnyMatch
extends ComplexMatch

AnyMatch is a ComplexMatch that acts as a conditional OR (||) on all subexpressions.

Author:
Dan Jemiolo (danj)

Constructor Summary
AnyMatch(WsResource resource)
           
AnyMatch(WsResource resource, Element xml)
           
 
Method Summary
protected  QName getRootQName()
           
 boolean matches(org.apache.muse.ws.addressing.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

AnyMatch

public AnyMatch(WsResource resource)

AnyMatch

public AnyMatch(WsResource resource,
                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(org.apache.muse.ws.addressing.EndpointReference epr)
                throws org.apache.muse.ws.addressing.soap.SoapFault
Returns:
True if any of the subexpressions defined by the Match evaluate to 'true'. This is the same as combining them in a logical OR.
Throws:
org.apache.muse.ws.addressing.soap.SoapFault


Copyright © 2013 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.