TV-Browser 2.7.5 API

i18nplugin
Interface FilterNodeIf

All Known Implementing Classes:
PathNode, PropertiesEntryNode, PropertiesNode, TranslationNode

public interface FilterNodeIf

A Node implementing this interface should be able to filter it's children.

Author:
Torsten Keil

Method Summary
 int getMatchCount()
          Returns the total number of matches in all sub nodes.
 boolean matches()
          Returns true if the node (or any sub node) matches the filter.
 void setFilter(Locale locale, String filter)
          Sets a new filter.
 

Method Detail

setFilter

void setFilter(Locale locale,
               String filter)
Sets a new filter.

Parameters:
locale - - the local to check.
filter - - the filter value to check for.

matches

boolean matches()
Returns true if the node (or any sub node) matches the filter.

Returns:

getMatchCount

int getMatchCount()
Returns the total number of matches in all sub nodes.

Returns:

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)