de.mindcrimeilab.xsanalyzer.rules.constraints
Class SchemaTypeConstraint
java.lang.Object
java.util.Observable
de.mindcrimeilab.xsanalyzer.rules.constraints.SchemaTypeConstraint
- All Implemented Interfaces:
- org.springframework.core.closure.Constraint
public class SchemaTypeConstraint
- extends Observable
- implements org.springframework.core.closure.Constraint
Constraint filtering schema elements depending on their type.
- Version:
- $Revision: 165 $
- Author:
- Michael Engelhardt, $Author: agony $
Method Summary |
void |
setFilter(short type,
boolean filtered)
Enable/disable filter for given type. |
boolean |
test(Object argument)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaTypeConstraint
public SchemaTypeConstraint()
SchemaTypeConstraint
public SchemaTypeConstraint(Accessor accessor)
test
public boolean test(Object argument)
- Specified by:
test
in interface org.springframework.core.closure.Constraint
setFilter
public void setFilter(short type,
boolean filtered)
- Enable/disable filter for given type.
- Parameters:
type
- to filterfiltered
- true for filtering otherwise false
Copyright © 2010. All Rights Reserved.