org.xwiki.velocity.tools
Class RegexTool.RegexResult

java.lang.Object
  extended by org.xwiki.velocity.tools.RegexTool.RegexResult
Enclosing class:
RegexTool

public class RegexTool.RegexResult
extends Object

Result of a Regex search.


Field Summary
 int end
           
 String group
           
 int start
           
 
Constructor Summary
RegexTool.RegexResult(int start, int end, String group)
           
 
Method Summary
 int getEnd()
           
 String getGroup()
           
 int getStart()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

start

public int start
See Also:
getStart()

end

public int end
See Also:
getEnd()

group

public String group
See Also:
getGroup()
Constructor Detail

RegexTool.RegexResult

public RegexTool.RegexResult(int start,
                             int end,
                             String group)
Parameters:
start - see getStart()
end - see getEnd()
group - see getGroup()
Method Detail

getGroup

public String getGroup()
Returns:
the captured group

getStart

public int getStart()
Returns:
the capture group's start position

getEnd

public int getEnd()
Returns:
the capture group's end position


Copyright © 2004-2012 XWiki. All Rights Reserved.