xmlBlaster 2.1.0 API

org.xmlBlaster.engine.mime
Class Query

java.lang.Object
  extended by org.xmlBlaster.engine.mime.Query

public final class Query
extends java.lang.Object

Little container which holds a <filter> query string. For better performance you can preparse the query string and store your query object here as well (see example in GnuRegexFilter).

See Also:
GnuRegexFilter

Field Summary
private  java.lang.Object preparedQuery
           
private  java.lang.String query
           
private  java.lang.Object transformer
           
 
Constructor Summary
Query(Global glob, java.lang.String query)
           
 
Method Summary
 java.lang.Object getPreparedQuery()
           
 java.lang.String getQuery()
           
 java.lang.Object getTransformer()
          The cached (XSL) transformer.
 void setPreparedQuery(java.lang.Object preparedQuery)
           
 void setTransformer(java.lang.Object transformer)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

query

private final java.lang.String query

preparedQuery

private java.lang.Object preparedQuery

transformer

private java.lang.Object transformer
Constructor Detail

Query

public Query(Global glob,
             java.lang.String query)
Method Detail

getQuery

public final java.lang.String getQuery()

setPreparedQuery

public final void setPreparedQuery(java.lang.Object preparedQuery)

getPreparedQuery

public final java.lang.Object getPreparedQuery()

toString

public final java.lang.String toString()
Overrides:
toString in class java.lang.Object

getTransformer

public java.lang.Object getTransformer()
The cached (XSL) transformer.

Returns:
Returns the transformer or null

setTransformer

public void setTransformer(java.lang.Object transformer)
Parameters:
transformer - The transformer to set.

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.