class CLString : CLElement


CLElement implementation for json Strings when used as property values or array elements.

Summary

Public constructors

CLString(content: CharArray!)

Public functions

java-static CLElement!
allocate(content: CharArray!)
Boolean
equals(obj: Any!)
java-static CLString
from(content: String)

Creates a CLString element from a String object.

Int

Protected functions

String!
toFormattedJSON(indent: Int, forceIndent: Int)
String!

Inherited functions

From androidx.constraintlayout.core.parser.CLElement
Unit
addIndent(builder: StringBuilder!, indent: Int)
CLElement
String!
CLElement!
String!
Long

The character index this element was ended on

Float
Int
Int

get the line Number

Long

The character index this element was started on

String!
Boolean

Whether this element has any valid content defined.

Boolean
Boolean
Boolean
Unit
Unit
setEnd(end: Long)
Unit
setLine(line: Int)
Unit
setStart(start: Long)
String!

Public constructors

CLString

Added in 1.1.0-alpha13
CLString(content: CharArray!)

Public functions

allocate

Added in 1.1.0-alpha13
java-static fun allocate(content: CharArray!): CLElement!

equals

fun equals(obj: Any!): Boolean

from

Added in 1.1.0-alpha13
java-static fun from(content: String): CLString

Creates a CLString element from a String object.

hashCode

fun hashCode(): Int

Protected functions

toFormattedJSON

protected fun toFormattedJSON(indent: Int, forceIndent: Int): String!

toJSON

protected fun toJSON(): String!