java.lang.Object
com.pervasive.datarush.analytics.text.TextElement
- Direct Known Subclasses:
TextContainer
Definition of a text element.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for an Unknown element.TextElement(TextElementType type) Constructor for a specified element.TextElement(TextElementType type, String value) Constructor for a specified element type with an associated value. -
Method Summary
-
Constructor Details
-
TextElement
public TextElement()Default constructor for an Unknown element. -
TextElement
Constructor for a specified element.- Parameters:
type- the TextElementType of the element
-
TextElement
Constructor for a specified element type with an associated value.- Parameters:
type- the TextElementType of the elementvalue- the string value of the element
-
-
Method Details
-
getType
Get the type of this text element.- Returns:
- the TextElementType of this element
-
getValue
Get the value of this text element or null if unspecified.- Returns:
- the value of this text element
-
hashCode
public int hashCode() -
equals
-