- All Known Implementing Classes:
Text
public interface XContentString
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbytes()
Returns an encodedXContentString.UTF8Bytes
view of the data.string()
Returns aString
view of the data.int
Returns the number of characters in the represented string.
-
Method Details
-
string
String string()Returns aString
view of the data. -
bytes
XContentString.UTF8Bytes bytes()Returns an encodedXContentString.UTF8Bytes
view of the data. -
stringLength
int stringLength()Returns the number of characters in the represented string.
-