info.magnolia.module.templatingkit.imaging
Class RegExVariationRule

java.lang.Object
  extended by info.magnolia.module.templatingkit.imaging.RegExVariationRule
All Implemented Interfaces:
VariationRule
Direct Known Subclasses:
SimpleVariationRule

public class RegExVariationRule
extends Object
implements VariationRule

.

Version:
$Id$
Author:
pbracher

Constructor Summary
RegExVariationRule()
           
 
Method Summary
protected  String getPattern()
           
 boolean matches(String cssSelector)
           
protected  void setPattern(String pattern)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegExVariationRule

public RegExVariationRule()
Method Detail

matches

public boolean matches(String cssSelector)
Specified by:
matches in interface VariationRule

getPattern

protected String getPattern()

setPattern

protected void setPattern(String pattern)


Copyright © 2008-2012 Magnolia International Ltd.. All Rights Reserved.