|
|||||||||||
| 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.SimpleMatch
SimpleMatch is the most concrete form of pbm:Match - it allows an evaluator to compare to resources based on a single property value. Instances of SimpleMatch cannot have subexpressions
| Constructor Summary | |
|---|---|
SimpleMatch(WsResource resource,
org.w3c.dom.Element xml)
|
|
SimpleMatch(WsResource resource,
QName propertyQName)
|
|
| Method Summary | |
|---|---|
void |
addMatch(Match child)
This method always throws an UnsupportedOperationException, because simple PBMs can't have children. |
java.util.List |
getMatches()
|
QName |
getPropertyQName()
|
WsResource |
getWsResource()
|
boolean |
matches(EndpointReference epr)
|
void |
removeMatch(Match child)
This method always throws an UnsupportedOperationException, because simple PBMs can't have children. |
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 SimpleMatch(WsResource resource,
org.w3c.dom.Element xml)
resource - The resource that is defining the CorrelatableProperties
capability and thus, this correlation expression.xml - The DOM Element representing the simple pbm:Match.
public SimpleMatch(WsResource resource,
QName propertyQName)
resource - The resource that is defining the CorrelatableProperties
capability and thus, this correlation expression.propertyQName - The name of the property to compare between the two resources.| Method Detail |
public void addMatch(Match child)
addMatch in interface Matchchild - A subexpression that must be evaluated as part of this
larger expression.public java.util.List getMatches()
getMatches in interface Matchpublic QName getPropertyQName()
public WsResource getWsResource()
getWsResource in interface Match
public boolean matches(EndpointReference epr)
throws SoapFault
matches in interface Matchepr - The EPR to another resource which may be the same as this
resource.
SoapFaultpublic void removeMatch(Match child)
removeMatch in interface Matchpublic 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 | ||||||||||