|
xmlBlaster 2.2.0 client API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xmlBlaster.client.key.UnSubscribeKey
public class UnSubscribeKey
Wrap a XML key for an unSubscribe() invocation.
See QueryKeySaxFactory for a syntax description of the allowed xml structure
QueryKeySaxFactory
,
the interface.unSubscribe requirementConstructor Summary | |
---|---|
UnSubscribeKey(Global glob,
QueryKeyData queryKeyData)
Constructor for internal use. |
|
UnSubscribeKey(Global glob,
java.lang.String query)
UnSubscribe to a well known message oid/subscriptionId or url. |
|
UnSubscribeKey(Global glob,
java.lang.String queryString,
java.lang.String queryType)
Constructor with query parameters. |
Method Summary | |
---|---|
QueryKeyData |
getData()
|
java.lang.String |
getDomain()
Access the domain setting |
java.lang.String |
getOid()
Access the <key oid="...">. |
java.lang.String |
getQueryString()
|
java.lang.String |
getQueryType()
Access the query type "XPATH" or "EXACT" |
void |
setDomain(java.lang.String domain)
Give a hint to which cluster domain this Key belongs. |
void |
setOid(java.lang.String oid)
Set the $lt;key oid="...">. |
void |
setQueryString(java.lang.String tags)
Your XPath query string. |
java.lang.String |
toString()
Converts the data in XML ASCII string. |
java.lang.String |
toXml()
Converts the data in XML ASCII string. |
java.lang.String |
wrap(java.lang.String str)
May be used to integrate your application tags. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UnSubscribeKey(Global glob, java.lang.String query)
query
- The query string
For example a topic oid like "Hello" or "oid:Hello"
or a query like "xpath://key", "domain:CLUSTER"
or an explicit "subscriptionId:__subId:heron-34560459046"public UnSubscribeKey(Global glob, java.lang.String queryString, java.lang.String queryType) throws XmlBlasterException
queryString
- The String with e.g. XPath syntaxqueryType
- The query syntax, e.g. Constants.XPATHXmlBlasterException
- for invalid queryType
XmlBlasterException
public UnSubscribeKey(Global glob, QueryKeyData queryKeyData)
queryKeyData
- The struct holding the dataMethod Detail |
---|
public QueryKeyData getData()
public final void setOid(java.lang.String oid)
The
- unique key oidpublic final java.lang.String getOid()
public java.lang.String getQueryType()
public void setQueryString(java.lang.String tags)
str
- Your tags in ASCII XML syntaxpublic java.lang.String getQueryString()
public void setDomain(java.lang.String domain)
public java.lang.String getDomain()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toXml()
public java.lang.String wrap(java.lang.String str)
str
- Your tags
|
xmlBlaster 2.2.0 client API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |