Home » Xerces-J-src.2.9.1 » org.apache.xerces » impl » xpath » regex » [javadoc | source]
org.apache.xerces.impl.xpath.regex
public class: Match [javadoc | source]
java.lang.Object
   org.apache.xerces.impl.xpath.regex.Match

All Implemented Interfaces:
    Cloneable

An instance of this class has ranges captured in matching.
Field Summary
 int[] beginpos     
 int[] endpos     
 int nofgroups     
 CharacterIterator ciSource     
 String strSource     
 char[] charSource     
Constructor:
 public Match() 
Method from org.apache.xerces.impl.xpath.regex.Match Summary:
clone,   getBeginning,   getCapturedText,   getEnd,   getNumberOfGroups,   setBeginning,   setEnd,   setNumberOfGroups,   setSource,   setSource,   setSource
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.xerces.impl.xpath.regex.Match Detail:
 public synchronized Object clone() 
 public int getBeginning(int index) 
    Return a start position in the target text matched to specified regular expression group.
 public String getCapturedText(int index) 
    Return an substring of the target text matched to specified regular expression group.
 public int getEnd(int index) 
    Return an end position in the target text matched to specified regular expression group.
 public int getNumberOfGroups() 
    Return the number of regular expression groups. This method returns 1 when the regular expression has no capturing-parenthesis.
 protected  void setBeginning(int index,
    int v) 
 protected  void setEnd(int index,
    int v) 
 protected  void setNumberOfGroups(int n) 
 protected  void setSource(CharacterIterator ci) 
 protected  void setSource(String str) 
 protected  void setSource(char[] chars)