|
||||||||||
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.MatchCorrelation
public class MatchCorrelation
MatchCorrelation represents correlation expressions formatted with the MUWS Simple Property Boolean Match (PBM) schema. PBM allows the user to declare fairly complex conditionals for evaluating two resources for equality. Each MatchCorrelation will contain one or more instances of Match.
Constructor Summary | |
---|---|
MatchCorrelation(WsResource resource)
This is a convenience constructor that calls this(Resource, boolean) with a 'false' second parameter. |
|
MatchCorrelation(WsResource resource,
boolean negativeAssertion)
|
|
MatchCorrelation(WsResource resource,
Element xml)
|
Method Summary | |
---|---|
void |
addMatch(Match child)
|
String |
getDialect()
|
List |
getMatches()
|
WsResource |
getWsResource()
|
boolean |
hasNegativeAssertion()
|
boolean |
matches(EndpointReference epr)
|
void |
removeMatch(Match child)
|
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 MatchCorrelation(WsResource resource)
MatchCorrelation(WsResource, boolean)
public MatchCorrelation(WsResource resource, boolean negativeAssertion)
resource
- The resource that is defining the CorrelatableProperties
capability and, thus, this correlation.negativeAssertion
- True if this correlation guarantees that a false match equates
to two resources being different.public MatchCorrelation(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 PBM dialect (is defined by Matches).Method Detail |
---|
public void addMatch(Match child)
addMatch
in interface Match
child
- A subexpression that must be evaluated as part of this
larger expression.public String getDialect()
getDialect
in interface Correlation
public List getMatches()
getMatches
in interface Match
public WsResource getWsResource()
getWsResource
in interface Correlation
getWsResource
in interface Match
public boolean hasNegativeAssertion()
hasNegativeAssertion
in interface Correlation
public boolean matches(EndpointReference epr) throws SoapFault
matches
in interface Correlation
matches
in interface Match
epr
- The EPR of another resource which may be the same as this
resource.
SoapFault
- Correlation.hasNegativeAssertion()
public void removeMatch(Match child)
removeMatch
in interface Match
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 |