Package org.somda.sdc.dpws.client
Class DiscoveryFilterBuilder
java.lang.Object
org.somda.sdc.dpws.client.DiscoveryFilterBuilder
DiscoveryFilter convenience builder with method chaining.-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new object with empty types and scopes. -
Method Summary
Modifier and TypeMethodDescriptionAdds a scope.Adds a type.get()Gets a discovery filter with all types and scopes added viaaddType(QName)andaddScope(String).
-
Constructor Details
-
DiscoveryFilterBuilder
public DiscoveryFilterBuilder()Constructs a new object with empty types and scopes.
-
-
Method Details
-
addType
Adds a type.- Parameters:
type- the type as QName according to WS-Discovery.- Returns:
- this object.
-
addScope
Adds a scope.- Parameters:
scope- the scope URI as string.- Returns:
- this object.
-
get
Gets a discovery filter with all types and scopes added viaaddType(QName)andaddScope(String).- Returns:
- a DiscoveryFilter instance.
-