org.apache.james.jspf.parser
Class MatcherBasedConfiguration

java.lang.Object
  extended by org.apache.james.jspf.parser.MatcherBasedConfiguration
All Implemented Interfaces:
Configuration

public class MatcherBasedConfiguration
extends java.lang.Object
implements Configuration

Provides a MatchResult view of a subset of another MatchResult


Constructor Summary
MatcherBasedConfiguration(java.util.regex.Matcher w, int start, int count)
           
 
Method Summary
 java.lang.String group(int arg0)
           
 int groupCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatcherBasedConfiguration

public MatcherBasedConfiguration(java.util.regex.Matcher w,
                                 int start,
                                 int count)
Parameters:
w - Original MatchResult
start - the position where the subresult start
count - number of groups part of the subresult
Method Detail

group

public java.lang.String group(int arg0)
Specified by:
group in interface Configuration
See Also:
Configuration.group(int)

groupCount

public int groupCount()
Specified by:
groupCount in interface Configuration
See Also:
Configuration.groupCount()


Copyright © 2006-2009 The Apache Software Foundation. All Rights Reserved.