org.apache.muse.ws.dm.muws.impl
Class MatchFactory
java.lang.Object
org.apache.muse.ws.dm.muws.impl.MatchFactory
public class MatchFactory
- extends Object
MatchFactory is a device for creating pbm:Match expressions from their
XML definitions without having to deal with concrete pbm:Match types.
Because this factory has no state and the PBM types are finite, the
class is exposed as a singleton.
- Author:
- Dan Jemiolo (danj)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static MatchFactory getInstance()
- Returns:
- The singleton instance of this class.
createMatch
public Match createMatch(WsResource resource,
Element xml)
- Parameters:
resource
- The resource that is defining the CorrelatableProperties
capability and thus, this correlation expression.xml
- The DOM Element representing the simple pbm:Match.
- Returns:
- A Match, which may have one or more sub-Matches inside it.
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.