|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xmlBlaster.util.qos.address.Destination
public class Destination
Holding destination address attributes.
This class corresponds to the QOS destination tag
Field Summary | |
---|---|
private boolean |
DEFAULT_forceQueuing
No queuing is default |
private SessionName |
destination
The destination address (==login name) or the XPath query string |
private boolean |
forceQueuing
|
private static java.util.logging.Logger |
log
|
private java.lang.String |
ME
|
private java.lang.String |
queryType
EXACT is default |
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
Destination()
For SAX parser |
|
Destination(Global glob,
SessionName address)
Constructs the specialized quality of service destination object. |
|
Destination(SessionName address)
Constructs the specialized quality of service destination object. |
|
Destination(java.lang.String address,
java.lang.String queryType)
Constructs the specialized quality of service destination object. |
Method Summary | |
---|---|
boolean |
forceQueuing()
|
void |
forceQueuing(boolean forceQueuing)
Set queuing of messages. |
SessionName |
getDestination()
|
boolean |
isExactAddress()
|
boolean |
isXPathQuery()
|
static void |
main(java.lang.String[] args)
Only for testing java org.xmlBlaster.engine.Destination |
void |
setDestination(SessionName destination)
Set the destination address or the destination query string. |
void |
setQueryType(java.lang.String queryType)
|
java.lang.String |
toString()
|
java.lang.String |
toXml()
Get the XML ASCII representation of this object. |
java.lang.String |
toXml(java.lang.String extraOffset)
Dump state of this object into a XML ASCII string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private static java.util.logging.Logger log
private java.lang.String ME
private SessionName destination
private java.lang.String queryType
private boolean DEFAULT_forceQueuing
private boolean forceQueuing
Constructor Detail |
---|
public Destination()
public Destination(SessionName address)
address
- The destination address (EXACT),
this is typically the login name of another clientpublic Destination(Global glob, SessionName address)
address
- The destination address (EXACT),
this is typically the login name of another clientpublic Destination(java.lang.String address, java.lang.String queryType)
address
- The destination address or query stringqueryType
- "EXACT" or "XPATH"Method Detail |
---|
public boolean isXPathQuery()
public boolean isExactAddress()
public boolean forceQueuing()
public void forceQueuing(boolean forceQueuing)
public final void setDestination(SessionName destination)
destination
- The destination address or the query string, may not be nullpublic final SessionName getDestination()
The
- destination address or XPath query stringpublic final void setQueryType(java.lang.String queryType)
queryType
- The query type, one of "EXACT" | "XPATH"
java.lang.IllegalArgumentException
- for unknown queryTypepublic final java.lang.String toString()
toString
in class java.lang.Object
public final java.lang.String toXml()
public final java.lang.String toXml(java.lang.String extraOffset)
extraOffset
- indenting of tags for nice output
public static void main(java.lang.String[] args)
|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |