gldapo.filter
Class FilterBuilder

java.lang.Object
  extended by groovy.lang.GroovyObjectSupport
      extended by gldapo.filter.FilterBuilder
All Implemented Interfaces:
GroovyObject

public class FilterBuilder
extends GroovyObjectSupport

A groovy builder for search filters. For usage examples, see the test cases.

Since:
0.7
Author:
Siegfried Puchbauer, Luke Daley

Field Summary
protected  Filter result
           
protected  Stack<List<Filter>> stack
           
 
Constructor Summary
FilterBuilder(Closure closure)
           
 
Method Summary
 void call(Closure c)
           
 Filter getFilter()
           
 Object invokeMethod(String s, Object o)
           
 Object invokeMethod(String name, Object[] args)
           
 List<Filter> pop(String debugLabel)
           
 void push(String debugLabel)
           
 
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, getProperty, setMetaClass, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stack

protected Stack<List<Filter>> stack

result

protected Filter result
Constructor Detail

FilterBuilder

public FilterBuilder(Closure closure)
Method Detail

push

public void push(String debugLabel)

pop

public List<Filter> pop(String debugLabel)

call

public void call(Closure c)

invokeMethod

public Object invokeMethod(String s,
                           Object o)
Specified by:
invokeMethod in interface GroovyObject
Overrides:
invokeMethod in class GroovyObjectSupport

invokeMethod

public Object invokeMethod(String name,
                           Object[] args)

getFilter

public Filter getFilter()


Copyright © 2007-2010 Codehaus. All Rights Reserved.