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.notification.impl
Class FilterFactory

    java.lang.Object
      org.apache.muse.ws.notification.impl.FilterFactory

public class FilterFactory
extends java.lang.Object

FilterFactory is a component for creating WS-Notification filters from XML fragments that are compliant with the WS-N v1.3 schema. It allows for the creation of topic, message, and properties filters. It is a stateless parser, so it is represented as a singleton.

Author:
  Dan Jemiolo (danj)

Method Summary
`void` | `addHandler(FilterFactoryHandler handler)`
`static FilterFactory` | `getInstance()`
`Filter` | `newInstance(org.w3c.dom.Element xml)`

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

Method Detail

### addHandler

    public void addHandler(FilterFactoryHandler handler)

### getInstance

    public static FilterFactory getInstance()

  Returns:
    The singleton instance of the factory component.

### newInstance

    public Filter newInstance(org.w3c.dom.Element xml)
                       throws BaseFault

  Parameters:
    `xml` - An XML fragment representing the WS-N filter, or null.
  Returns:
    A filter based on topics, message patterns, or property values. If the first parameter was null, the method returns an instance of PublishAllMessagesFilter.
  Throws:
    `BaseFault`

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