org.apache.muse.ws.dm.muws
Interface CorrelationFactory
- All Known Implementing Classes:
- SimpleCorrelationFactory
- public interface CorrelationFactory
CorrelationFactory is a device for creating correlation expressions from
their XML definitions without having to reference concrete expression types.
- Author:
- Dan Jemiolo (danj)
Method Summary |
boolean |
hasDialect(java.lang.String dialect)
|
Correlation |
newInstance(WsResource resource,
org.w3c.dom.Element xml)
Parses the given Element and creates a complete Correlation expression
that can be evaluated against any WS-RF resource. |
hasDialect
public boolean hasDialect(java.lang.String dialect)
- Parameters:
dialect
-
- Returns:
- True if the factory can create Correlations of the given type.
newInstance
public Correlation newInstance(WsResource resource,
org.w3c.dom.Element xml)
- Parses the given Element and creates a complete Correlation expression
that can be evaluated against any WS-RF resource.
- Parameters:
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.