Package org.odftoolkit.odfdom.changes
Class TextSpanSelection
- java.lang.Object
-
- org.odftoolkit.odfdom.changes.TextSelection
-
- org.odftoolkit.odfdom.changes.TextSpanSelection
-
- All Implemented Interfaces:
Comparable<TextSelection>
public class TextSpanSelection extends TextSelection
- 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 TextSpanElementgetSpanElement()Returns the spanElement of the Span element.StringtoString()-
Methods inherited from class org.odftoolkit.odfdom.changes.TextSelection
compareTo, getEndPosition, getSelectionElement, getStartPosition, getURL, hasUrl, overLapping, setEndPosition, setURL
-
-
-
-
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.
-
-