org.xwiki.xml.html.filter
Interface ElementSelector


public interface ElementSelector

Interface for defining element selections. Element selectors are useful when an operation needs to be performed on a selection of Elements depending on some criterion. In such cases, the operation will be performed only if the provided selector returns true for that particular Element.

Since:
1.8RC2
Version:
$Id: 4630cc949d09326816adc5e038af5f037a192230 $

Method Summary
 boolean isSelected(Element element)
           
 

Method Detail

isSelected

boolean isSelected(Element element)
Parameters:
element - the Element against which the criterion is evaluated.
Returns:
true if this particular element should be selected.


Copyright © 2004-2012 XWiki. All Rights Reserved.