Class TextContentImpl
java.lang.Object
com.github.weisj.jsvg.parser.impl.TextContentImpl
- All Implemented Interfaces:
TextContent
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.github.weisj.jsvg.parser.TextContent
TextContent.Segment -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid@NotNull List<@NotNull TextContent.Segment> contentAfterChildIndex(int childIndex) Returns the list of text fragments after the child element at the given index.@NotNull List<@NotNull List<TextContent.Segment>> @NotNull List<TextContent.Segment>
-
Constructor Details
-
TextContentImpl
-
-
Method Details
-
contentLists
-
currentContentList
-
addContentList
public void addContentList() -
contentAfterChildIndex
Description copied from interface:TextContentReturns the list of text fragments after the child element at the given index. Returns the content before the first child if index is -1.- Specified by:
contentAfterChildIndexin interfaceTextContent- Parameters:
childIndex- the index of the child element- Returns:
- the list of text fragments
-