org.apache.muse.ws.dm.muws.impl
Class SimpleCorrelationFactory
java.lang.Object
org.apache.muse.ws.dm.muws.impl.SimpleCorrelationFactory
- All Implemented Interfaces:
- CorrelationFactory
public class SimpleCorrelationFactory
- extends Object
- implements CorrelationFactory
SimpleCorrelationFactory is a device for creating correlation expressions
for all of the built-in dialects supported by WSDM CorrelatableProperties.
Currently, the two dialects are XPath 1.0 and WSDM's Property Boolean Match.
- Author:
- Dan Jemiolo (danj)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleCorrelationFactory
public SimpleCorrelationFactory()
hasDialect
public boolean hasDialect(String dialect)
- Specified by:
hasDialect
in interface CorrelationFactory
- Returns:
- True if the factory can create Correlations of the given type.
newInstance
public Correlation newInstance(WsResource resource,
Element xml)
- Description copied from interface:
CorrelationFactory
- Parses the given Element and creates a complete Correlation expression
that can be evaluated against any WS-RF resource.
- Specified by:
newInstance
in interface CorrelationFactory
xml
- The DOM Element representing the expression. This fragment
should have a root element whose QName is the MUWS (Part 1)
CorrelatableProperties and which has a 'Dialect' attribute.
The latter will be used to determine the type of Correlation
to create.
- Returns:
- A Correlation that can be evaluated against any WS-RF resource.
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.