Package org.apache.fop.svg.font
Class FOPGVTGlyphVector.SVGTextFragment
- java.lang.Object
-
- org.apache.fop.svg.font.FOPGVTGlyphVector.SVGTextFragment
-
- All Implemented Interfaces:
TextFragment
- Enclosing class:
- FOPGVTGlyphVector
private static class FOPGVTGlyphVector.SVGTextFragment extends java.lang.Object implements TextFragment
-
-
Constructor Summary
Constructors Constructor Description SVGTextFragment(java.text.CharacterIterator charIter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description charcharAt(int index)Obtain character at specified index within this fragment's sub-sequence, where index 0 corresponds to beginning index in overal text source, and subSequenceIndex must be less than ending index - beginning index.intgetBeginIndex()Obtain beginning index (inclusive) of sub-sequence of fragment in overall text source.intgetBidiLevel()Obtain associated bidi level (if known) or -1 if not.intgetEndIndex()Obtain ending index (exclusive) of sub-sequence of fragment in overall text source.java.text.CharacterIteratorgetIterator()Obtain reference to underlying iterator.java.lang.StringgetLanguage()Obtain associated language (if designated) or "none" if not.java.lang.StringgetScript()Obtain associated script (if designated) or "auto" if not.java.lang.CharSequencesubSequence(int startIndex, int endIndex)
-
-
-
Method Detail
-
getIterator
public java.text.CharacterIterator getIterator()
Description copied from interface:TextFragmentObtain reference to underlying iterator.- Specified by:
getIteratorin interfaceTextFragment
-
getBeginIndex
public int getBeginIndex()
Description copied from interface:TextFragmentObtain beginning index (inclusive) of sub-sequence of fragment in overall text source.- Specified by:
getBeginIndexin interfaceTextFragment
-
getEndIndex
public int getEndIndex()
Description copied from interface:TextFragmentObtain ending index (exclusive) of sub-sequence of fragment in overall text source.- Specified by:
getEndIndexin interfaceTextFragment
-
subSequence
public java.lang.CharSequence subSequence(int startIndex, int endIndex)- Specified by:
subSequencein interfaceTextFragment
-
getScript
public java.lang.String getScript()
Description copied from interface:TextFragmentObtain associated script (if designated) or "auto" if not.- Specified by:
getScriptin interfaceTextFragment
-
getLanguage
public java.lang.String getLanguage()
Description copied from interface:TextFragmentObtain associated language (if designated) or "none" if not.- Specified by:
getLanguagein interfaceTextFragment
-
getBidiLevel
public int getBidiLevel()
Description copied from interface:TextFragmentObtain associated bidi level (if known) or -1 if not.- Specified by:
getBidiLevelin interfaceTextFragment
-
charAt
public char charAt(int index)
Description copied from interface:TextFragmentObtain character at specified index within this fragment's sub-sequence, where index 0 corresponds to beginning index in overal text source, and subSequenceIndex must be less than ending index - beginning index.- Specified by:
charAtin interfaceTextFragment
-
-