Package org.somda.sdc.dpws.client
Class DiscoveryFilter
-
- All Implemented Interfaces:
public class DiscoveryFilterFilter information to be used by probe.
-
-
Field Summary
Fields Modifier and Type Field Description public final Collection<QName>typespublic final Collection<String>scopespublic final MatchBymatchBypublic final StringdiscoveryId
-
Constructor Summary
Constructors Constructor Description DiscoveryFilter(Collection<QName> types, Collection<String> scopes)Creates a new discovery filter with a discovery id that is unique across one application instance. DiscoveryFilter(Collection<QName> types, Collection<String> scopes, MatchBy matchBy)Creates a new discovery filter with a discovery id that is unique across one application instance.
-
Method Summary
Modifier and Type Method Description Collection<QName>getTypes()Collection<String>getScopes()MatchBygetMatchBy()StringgetDiscoveryId()Gets the discovery id. -
-
Constructor Detail
-
DiscoveryFilter
DiscoveryFilter(Collection<QName> types, Collection<String> scopes)
Creates a new discovery filter with a discovery id that is unique across one application instance.- Parameters:
types- the types to match.scopes- the scopes to match.
-
DiscoveryFilter
DiscoveryFilter(Collection<QName> types, Collection<String> scopes, MatchBy matchBy)
Creates a new discovery filter with a discovery id that is unique across one application instance.- Parameters:
types- the types to match.scopes- the scopes to match.matchBy- the scopes matching rule, or null to use the defaulthttp://docs.oasis-open.org/ws-dd/ns/discovery/2009/01/rfc3986.
-
-
Method Detail
-
getTypes
Collection<QName> getTypes()
-
getScopes
Collection<String> getScopes()
-
getMatchBy
MatchBy getMatchBy()
-
getDiscoveryId
String getDiscoveryId()
Gets the discovery id.
The discovery id is used to distinguish between probe requests.
- Returns:
the discover id of this filter.
-
-
-
-