org.ujac.util.text
Class SimplePatternMatcher.PatternDefinition

java.lang.Object
  extended by org.ujac.util.text.SimplePatternMatcher.PatternDefinition
Enclosing class:
SimplePatternMatcher

public class SimplePatternMatcher.PatternDefinition
extends Object

Name: PatternDefinition
Description: Defines a pattern.


Constructor Summary
SimplePatternMatcher.PatternDefinition(int matchMode, String pattern)
          Constructs a PatternDefinition instance with specific attributes.
 
Method Summary
 int getMatchMode()
          Getter method for the the property matchMode.
 String getPattern()
          Getter method for the the property pattern.
 void setMatchMode(int matchMode)
          Setter method for the the property matchMode.
 void setPattern(String pattern)
          Setter method for the the property pattern.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplePatternMatcher.PatternDefinition

public SimplePatternMatcher.PatternDefinition(int matchMode,
                                              String pattern)
Constructs a PatternDefinition instance with specific attributes.

Parameters:
matchMode - The match mode.
pattern - The pattern String.
Method Detail

getMatchMode

public int getMatchMode()
Getter method for the the property matchMode.

Returns:
The current value of property matchMode.

setMatchMode

public void setMatchMode(int matchMode)
Setter method for the the property matchMode.

Parameters:
matchMode - The value to set for the property matchMode.

getPattern

public String getPattern()
Getter method for the the property pattern.

Returns:
The current value of property pattern.

setPattern

public void setPattern(String pattern)
Setter method for the the property pattern.

Parameters:
pattern - The value to set for the property pattern.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.