GXPARSE hosted by SourceForge.net Logo

ca.gorman.util.scan.spi
Class AbstractMatchedText

java.lang.Object
  extended by ca.gorman.util.scan.spi.AbstractMatchedText
All Implemented Interfaces:
MatchedText, CharSequence

public abstract class AbstractMatchedText
extends Object
implements MatchedText

A MatchedText factory.


Constructor Summary
protected AbstractMatchedText(CharSequence charSequence)
           
 
Method Summary
 char charAt(int index)
           
 int length()
           
static AbstractMatchedText newInstance(CharSequence charSequence)
           
 CharSequence subSequence(int start, int end)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractMatchedText

protected AbstractMatchedText(CharSequence charSequence)
Method Detail

newInstance

public static AbstractMatchedText newInstance(CharSequence charSequence)

charAt

public char charAt(int index)
Specified by:
charAt in interface CharSequence

length

public int length()
Specified by:
length in interface CharSequence

subSequence

public CharSequence subSequence(int start,
                                int end)
Specified by:
subSequence in interface CharSequence

toString

public String toString()
Specified by:
toString in interface CharSequence
Overrides:
toString in class Object

GXPARSE download

GXPARSE Generic XML Stream Parser API and supporting tools.   Release $Name: gxparse-sf-alpha-2_0 $
Copyright 2003-2004 Ian E. Gorman
Released under GNU Lesser General Public License