story.scheherazade.misc
Class TextSpan

java.lang.Object
  extended by story.scheherazade.misc.TextSpan
All Implemented Interfaces:
RenderableObject

public class TextSpan
extends java.lang.Object
implements RenderableObject

Tuple of integers, representing boundaries of substring


Constructor Summary
TextSpan(int begin, int end)
           
 
Method Summary
 int begin()
           
 int end()
           
 boolean equals(TextSpan other)
           
 java.lang.StringBuffer render()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextSpan

public TextSpan(int begin,
                int end)
         throws Scheherexception
Throws:
Scheherexception
Method Detail

begin

public int begin()

end

public int end()

equals

public boolean equals(TextSpan other)
               throws Scheherexception
Throws:
Scheherexception

render

public java.lang.StringBuffer render()
                              throws Scheherexception
Specified by:
render in interface RenderableObject
Throws:
Scheherexception


Copyright © 2011 David K. Elson. All Rights Reserved.