org.apache.james.jspf.parser
Class MatcherBasedConfiguration
java.lang.Object
org.apache.james.jspf.parser.MatcherBasedConfiguration
- All Implemented Interfaces:
- Configuration
public class MatcherBasedConfiguration
- extends Object
- implements Configuration
Provides a MatchResult view of a subset of another MatchResult
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MatcherBasedConfiguration
public MatcherBasedConfiguration(Matcher w,
int start,
int count)
- Parameters:
w
- Original MatchResultstart
- the position where the subresult startcount
- number of groups part of the subresult
group
public 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-2011 The Apache Software Foundation. All Rights Reserved.