Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.muse.ws.dm.muws.impl
Class MatchFactory

    java.lang.Object
      org.apache.muse.ws.dm.muws.impl.MatchFactory

public class MatchFactory
extends java.lang.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)

Method Summary
`Match` | `createMatch(WsResource resource, org.w3c.dom.Element xml)`
`static MatchFactory` | `getInstance()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getInstance

    public static MatchFactory getInstance()

  Returns:
    The singleton instance of this class.

### createMatch

    public Match createMatch(WsResource resource,
                             org.w3c.dom.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.

Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD