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