- java.lang.Object
-
- com.pervasive.datarush.analytics.text.TextElement
-
- com.pervasive.datarush.analytics.text.TextContainer
-
- com.pervasive.datarush.analytics.text.TokenizedText
-
- All Implemented Interfaces:
TextNode
public final class TokenizedText extends TextContainer
A TextContainer that can store a tokenized document.
-
-
Field Summary
-
Fields inherited from class com.pervasive.datarush.analytics.text.TextContainer
children, nextSibling, parent, prevSibling
-
-
Constructor Summary
Constructors Constructor Description TokenizedText(List<? extends TextContainer> tokens)
Create a tokenized document container.
-
Method Summary
-
Methods inherited from class com.pervasive.datarush.analytics.text.TextContainer
equals, getChildCount, getChildren, getDecoder, getEncoder, getIterator, getIterator, getNextSibling, getParent, getPostIterator, getPostIterator, getPrevSibling, hashCode, toString
-
Methods inherited from class com.pervasive.datarush.analytics.text.TextElement
getType, getValue
-
-
-
-
Constructor Detail
-
TokenizedText
public TokenizedText(List<? extends TextContainer> tokens)
Create a tokenized document container.- Parameters:
tokens
- the text elements that make up this document.
-
-