public class TextElement extends Object
Constructor and Description |
---|
TextElement()
Default 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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
TextElementType |
getType()
Get the type of this text element.
|
String |
getValue()
Get the value of this text element or null if unspecified.
|
int |
hashCode() |
public TextElement()
public TextElement(TextElementType type)
type
- the TextElementType of the elementpublic TextElement(TextElementType type, String value)
type
- the TextElementType of the elementvalue
- the string value of the elementpublic TextElementType getType()
public String getValue()
Copyright © 2024 Actian Corporation. All rights reserved.