|
|||||||||||
| 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
XPathCorrelation represents correlation expressions formatted in XPath 1.0.
| Constructor Summary | |
|---|---|
XPathCorrelation(WsResource resource,
org.w3c.dom.Element xml)
|
|
XPathCorrelation(WsResource resource,
java.lang.String xpath)
This is a convenience constructor that calls this(Resource, String, boolean) with a 'false' third parameter. |
|
XPathCorrelation(WsResource resource,
java.lang.String xpath,
boolean negativeAssertion)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDialect()
|
WsResource |
getWsResource()
|
java.lang.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(java.lang.String xpath)
|
org.w3c.dom.Element |
toXML()
Converts this object into an XML representation, as defined by its related schema or specification. |
org.w3c.dom.Element |
toXML(org.w3c.dom.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,
org.w3c.dom.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,
java.lang.String xpath)
XPathCorrelation(WsResource, String, boolean)
public XPathCorrelation(WsResource resource,
java.lang.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 java.lang.String getDialect()
getDialect in interface Correlationpublic WsResource getWsResource()
getWsResource in interface Correlationpublic java.lang.String getXPath()
public boolean hasNegativeAssertion()
hasNegativeAssertion in interface Correlation
public boolean matches(EndpointReference epr)
throws SoapFault
matches in interface Correlationepr - The EPR of another resource which may be the same as this
resource.
SoapFault - Correlation.hasNegativeAssertion()public void setXPath(java.lang.String xpath)
xpath - The XPath 1.0 expression that should be used to evaluate
other resources.public org.w3c.dom.Element toXML()
XmlSerializable
toXML in interface XmlSerializablepublic org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
XmlSerializable
toXML in interface XmlSerializabledoc - 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 | ||||||||||