org.apache.muse.ws.notification.impl
Class FilterFactory
java.lang.Object
org.apache.muse.ws.notification.impl.FilterFactory
public class FilterFactory
- extends 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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
addHandler
public void addHandler(FilterFactoryHandler handler)
getInstance
public static FilterFactory getInstance()
- Returns:
- The singleton instance of the factory component.
newInstance
public Filter newInstance(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
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.