public class PrefixNamespace extends java.lang.Object implements Namespace
The prefix namespace matches the initial part of a subject name.
A prefix namespace matches a subject according to the start of the subject name. For example, if
the prefix defined for the namespace is is /I/ and the subject presented is
/I/VOD.L the match(String)
method will return true
.
Should the presented subject be /R/VOD.L the match(String)
method
will return false
.
Constructor and Description |
---|
PrefixNamespace(java.lang.String prefix)
Initializes a new instance of the
PrefixNamespace class. |
public PrefixNamespace(java.lang.String prefix)
PrefixNamespace
class.prefix
- The prefix to be matched. For example, /FX
.Please send bug reports and comments to Caplin support