xmlBlaster 2.2.0 client API

org.xmlBlaster.util.qos
Class AccessFilterQos

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

public class AccessFilterQos
extends QueryRefinementQos

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

 <filter type='ContentLength' version='1.0'>
    800
 </filter>
 
This example addresses the plugin in xmlBlaster.properties file
   MimeAccessPlugin[ContentLenFilter][1.0]=org.xmlBlaster.engine.mime.demo.ContentLenFilter
 
The filter rules apply for cluster configuration as well.

See Also:
MIME based access filter plugin framework

Field Summary
 
Fields inherited from class org.xmlBlaster.util.qos.QueryRefinementQos
DEFAULT_version, glob, logName, ME, query, tagName, type, versionProp
 
Constructor Summary
AccessFilterQos(Global glob)
           
AccessFilterQos(Global glob, java.lang.String type, java.lang.String version, org.xmlBlaster.engine.mime.Query query)
           
AccessFilterQos(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

AccessFilterQos

public AccessFilterQos(Global glob)

AccessFilterQos

public AccessFilterQos(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

AccessFilterQos

public AccessFilterQos(Global glob,
                       java.lang.String type,
                       java.lang.String version,
                       org.xmlBlaster.engine.mime.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.2.0 client API

Copyright © 1999-2014 The xmlBlaster.org contributers.