GXPARSE hosted by SourceForge.net Logo

ca.gorman.util.scan
Class AbstractRuleList

java.lang.Object
  extended by ca.gorman.util.scan.AbstractRuleList
All Implemented Interfaces:
RuleList

public class AbstractRuleList
extends Object
implements RuleList

Abstract realization of RuleList.


Constructor Summary
protected AbstractRuleList(ScanRule... scanRule)
           
 
Method Summary
 void add(RuleList ruleList)
           Add a different list to the end of the list.
 void add(ScanRule scanRule)
           Add a rule to the end of the list.
 ScanRule get(int n)
           Get a rule from the list.
static AbstractRuleList newInstance(ScanRule... scanRule)
           
 int size()
           Get the number of rules in the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRuleList

protected AbstractRuleList(ScanRule... scanRule)
Method Detail

newInstance

public static AbstractRuleList newInstance(ScanRule... scanRule)

size

public int size()
Description copied from interface: RuleList

Get the number of rules in the list.

Specified by:
size in interface RuleList

get

public ScanRule get(int n)
Description copied from interface: RuleList

Get a rule from the list.

Specified by:
get in interface RuleList

add

public void add(ScanRule scanRule)

Add a rule to the end of the list.


add

public void add(RuleList ruleList)

Add a different list to the end of the list.


GXPARSE download

GXPARSE Generic XML Stream Parser API and supporting tools.   Release $Name: gxparse-sf-alpha-2_0 $
Copyright 2003-2004 Ian E. Gorman
Released under GNU Lesser General Public License