|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.muse.ws.dm.muws.impl.XPathCorrelation
public class XPathCorrelation
XPathCorrelation represents correlation expressions formatted in XPath 1.0.
Constructor Summary | |
---|---|
XPathCorrelation(WsResource resource,
Element xml)
|
|
XPathCorrelation(WsResource resource,
String xpath)
This is a convenience constructor that calls this(Resource, String, boolean) with a 'false' third parameter. |
|
XPathCorrelation(WsResource resource,
String xpath,
boolean negativeAssertion)
|
Method Summary | |
---|---|
String |
getDialect()
|
WsResource |
getWsResource()
|
String |
getXPath()
|
boolean |
hasNegativeAssertion()
|
boolean |
matches(EndpointReference epr)
This implementation performs a WS-RP QueryResourceProperties call against the given resource using its XPath value. |
void |
setXPath(String xpath)
|
Element |
toXML()
Converts this object into an XML representation, as defined by its related schema or specification. |
Element |
toXML(Document doc)
Converts this object into an XML representation, as defined by its related schema or specification. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XPathCorrelation(WsResource resource, Element xml)
resource
- The resource that is defining the CorrelatableProperties
capability and, thus, this correlation.xml
- The DOM Element representing an instance of CorrelatableProperties
that uses the XPath 1.0 dialect.public XPathCorrelation(WsResource resource, String xpath)
XPathCorrelation(WsResource, String, boolean)
public XPathCorrelation(WsResource resource, String xpath, boolean negativeAssertion)
resource
- The resource that is defining the CorrelatableProperties
capability and, thus, this correlation.xpath
- The XPath 1.0 expression that should be used to evaluate
other resources.negativeAssertion
- True if this correlation guarantees that a false match equates
to two resources being different.Method Detail |
---|
public String getDialect()
getDialect
in interface Correlation
public WsResource getWsResource()
getWsResource
in interface Correlation
public String getXPath()
public boolean hasNegativeAssertion()
hasNegativeAssertion
in interface Correlation
public boolean matches(EndpointReference epr) throws SoapFault
matches
in interface Correlation
epr
- The EPR of another resource which may be the same as this
resource.
SoapFault
- Correlation.hasNegativeAssertion()
public void setXPath(String xpath)
xpath
- The XPath 1.0 expression that should be used to evaluate
other resources.public Element toXML()
XmlSerializable
toXML
in interface XmlSerializable
public Element toXML(Document doc)
XmlSerializable
toXML
in interface XmlSerializable
doc
- The DOM Document that will be used to create all of the nodes
in the resulting XML fragment.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |