class CLContainer : CLElement

Known direct subclasses

Summary

Public constructors

Public functions

Unit
add(element: CLElement!)
java-static CLElement!
allocate(content: CharArray!)
Unit
CLContainer
Boolean
equals(obj: Any!)
CLElement!
get(index: Int)
CLElement!
get(name: String!)
CLArray!
getArray(index: Int)
CLArray!
getArray(name: String!)
CLArray!
CLArray!
Boolean
getBoolean(index: Int)
Boolean
Float
getFloat(index: Int)
Float
getFloat(name: String!)
Float
Int
getInt(index: Int)
Int
getInt(name: String!)
CLObject!
getObject(index: Int)
CLObject!
getObject(name: String!)
CLObject!
CLElement!
getOrNull(index: Int)
CLElement!
getOrNull(name: String!)
String!
getString(index: Int)
String!
getString(name: String!)
String!
String!
Boolean
has(name: String!)
Int
ArrayList<String!>!
Unit
put(name: String!, value: CLElement!)
Unit
putNumber(name: String!, value: Float)
Unit
putString(name: String!, value: String!)
Unit
remove(name: String!)
Int
String!

Inherited functions

From androidx.constraintlayout.core.parser.CLElement
Unit
addIndent(builder: StringBuilder!, indent: Int)
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!
toFormattedJSON(indent: Int, forceIndent: Int)
String!

Public constructors

CLContainer

Added in 1.1.0
CLContainer(content: CharArray!)

Public functions

add

Added in 1.1.0
fun add(element: CLElement!): Unit

allocate

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

clear

Added in 1.1.0
fun clear(): Unit

clone

Added in 1.1.0
fun clone(): CLContainer

equals

fun equals(obj: Any!): Boolean

getArrayOrCreate

Added in 1.1.0
fun getArrayOrCreate(name: String!): CLArray!

getArrayOrNull

Added in 1.1.0
fun getArrayOrNull(name: String!): CLArray!

getFloatOrNaN

Added in 1.1.0
fun getFloatOrNaN(name: String!): Float

getObjectOrNull

Added in 1.1.0
fun getObjectOrNull(name: String!): CLObject!

getOrNull

Added in 1.1.0
fun getOrNull(index: Int): CLElement!

getOrNull

Added in 1.1.0
fun getOrNull(name: String!): CLElement!

getStringOrNull

Added in 1.1.0
fun getStringOrNull(index: Int): String!

getStringOrNull

Added in 1.1.0
fun getStringOrNull(name: String!): String!

has

Added in 1.1.0
fun has(name: String!): Boolean

hashCode

fun hashCode(): Int

names

Added in 1.1.0
fun names(): ArrayList<String!>!

put

Added in 1.1.0
fun put(name: String!, value: CLElement!): Unit

putNumber

Added in 1.1.0
fun putNumber(name: String!, value: Float): Unit

putString

Added in 1.1.0
fun putString(name: String!, value: String!): Unit

remove

Added in 1.1.0
fun remove(name: String!): Unit

size

Added in 1.1.0
fun size(): Int

toString

fun toString(): String!