org.pf.text
Class MatchGroup

java.lang.Object
  extended by org.pf.text.MatchElement
      extended by org.pf.text.MatchGroup
All Implemented Interfaces:
java.io.Serializable

public class MatchGroup
extends MatchElement
implements java.io.Serializable

Represents a group of MatchAttributes and/or MatchGroups

Version:
1.7
Author:
Manfred Duchrow
See Also:
Serialized Form

Constructor Summary
MatchGroup()
          Initialize the new instance with default values.
 
Method Summary
 void addElement(MatchElement element)
          Add the specified element to the group.
 int elementCount()
          Returns the current number of elements in this group.
 void ignoreCaseInName(boolean ignoreIt)
          Defines whether or not the case of characters in attribute names must be ignored.
 boolean isGroup()
          Returns always true, because this is a group.
 
Methods inherited from class org.pf.text.MatchElement
getAnd, getNot, isAttribute, matches, setAnd, setNot
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchGroup

public MatchGroup()
Initialize the new instance with default values.

Method Detail

addElement

public void addElement(MatchElement element)
Add the specified element to the group. The element will be added at the end of the element list.


isGroup

public boolean isGroup()
Returns always true, because this is a group.

Overrides:
isGroup in class MatchElement

elementCount

public int elementCount()
Returns the current number of elements in this group.


ignoreCaseInName

public void ignoreCaseInName(boolean ignoreIt)
Defines whether or not the case of characters in attribute names must be ignored.