xmlBlaster 2.1.0 API

org.xmlBlaster.util.qos
Class QuerySpecQos

java.lang.Object
  extended by org.xmlBlaster.util.qos.QueryRefinementQos
      extended by org.xmlBlaster.util.qos.QuerySpecQos

public class QuerySpecQos
extends QueryRefinementQos

Helper class holding querySpec markup from a subscribe() or get() QoS.

 <querySpec type='QueueQuery' version='1.0'>
    800
 </querySpec>
 
This example addresses the plugin in xmlBlaster.properties file
   QuerySpecPlugin[QueueQuery][1.0]=org.xmlBlaster.engine.query.demo.QuerySpec
 

See Also:
QuerySpec plugin framework

Field Summary
 
Fields inherited from class org.xmlBlaster.util.qos.QueryRefinementQos
DEFAULT_version, glob, logName, ME, query, tagName, type, versionProp
 
Constructor Summary
QuerySpecQos(Global glob)
           
QuerySpecQos(Global glob, java.lang.String type, java.lang.String version, Query query)
           
QuerySpecQos(Global glob, java.lang.String type, java.lang.String version, java.lang.String query)
           
 
Method Summary
 
Methods inherited from class org.xmlBlaster.util.qos.QueryRefinementQos
endElement, getQuery, getType, getVersion, setQuery, setType, setVersion, startElement, toXml, toXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuerySpecQos

public QuerySpecQos(Global glob)

QuerySpecQos

public QuerySpecQos(Global glob,
                    java.lang.String type,
                    java.lang.String version,
                    java.lang.String query)
Parameters:
glob - The global handle holding environment and logging objects
type - The plugin name, as used in xmlBlaster.properties e.g. "ContentLenFilter".
version - The plugin version, defaults to "1.0"
query - Your filter rule

QuerySpecQos

public QuerySpecQos(Global glob,
                    java.lang.String type,
                    java.lang.String version,
                    Query query)
Parameters:
glob - The global handle holding environment and logging objects
type - The plugin name, as used in xmlBlaster.properties e.g. "ContentLenFilter".
version - The plugin version, defaults to "1.0"
query - Your filter rule

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.