Package org.odftoolkit.odfdom.changes
Class TextSpanSelection
- java.lang.Object
-
- org.odftoolkit.odfdom.changes.TextSelection
-
- org.odftoolkit.odfdom.changes.TextSpanSelection
-
- All Implemented Interfaces:
Comparable
public class TextSpanSelection extends TextSelection implements Comparable
- Author:
- svante.schubertATgmail.com
-
-
Field Summary
-
Fields inherited from class org.odftoolkit.odfdom.changes.TextSelection
mEndPosition, mSelectionElement, mStartPosition, mUrl
-
-
Constructor Summary
Constructors Constructor Description TextSpanSelection(TextSpanElement spanElement, List<Integer> startPosition)
Constructor.TextSpanSelection(TextSpanElement spanElement, List<Integer> startPosition, List<Integer> endPosition)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextSpanElement
getSpanElement()
Returns the spanElement of the Span element.String
toString()
-
Methods inherited from class org.odftoolkit.odfdom.changes.TextSelection
compareTo, getEndPosition, getSelectionElement, getStartPosition, getURL, hasUrl, overLapping, setEndPosition, setURL
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Constructor Detail
-
TextSpanSelection
public TextSpanSelection(TextSpanElement spanElement, List<Integer> startPosition)
Constructor.- Parameters:
spanElement
- the spanElement of the Span element.startPosition
- the startPosition of the Span element.
-
TextSpanSelection
public TextSpanSelection(TextSpanElement spanElement, List<Integer> startPosition, List<Integer> endPosition)
Constructor.- Parameters:
spanElement
- the spanElement of the Span element.startPosition
- the startPosition of the Span element.
-
-
Method Detail
-
getSpanElement
public TextSpanElement getSpanElement()
Returns the spanElement of the Span element.- Returns:
- the spanElement of the Span element.
-
-