public class CLKey extends CLContainer


Summary

Public constructors

CLKey(char[] content)

Public methods

static CLElement
allocate(char[] content)
static CLElement
allocate(String name, CLElement value)
boolean
String
CLElement
int
void
set(CLElement value)

Protected methods

String
toFormattedJSON(int indent, int forceIndent)
String

Inherited methods

From androidx.constraintlayout.core.parser.CLContainer
void
add(CLElement element)
void
@NonNull CLContainer
CLElement
get(int index)
CLElement
get(String name)
CLArray
getArray(int index)
CLArray
CLArray
CLArray
boolean
getBoolean(int index)
boolean
float
getFloat(int index)
float
float
int
getInt(int index)
int
getInt(String name)
CLObject
getObject(int index)
CLObject
CLObject
CLElement
getOrNull(int index)
CLElement
String
getString(int index)
String
String
getStringOrNull(int index)
String
boolean
has(String name)
ArrayList<String>
void
put(String name, CLElement value)
void
putNumber(String name, float value)
void
putString(String name, String value)
void
remove(String name)
int
String
From androidx.constraintlayout.core.parser.CLElement
void
addIndent(StringBuilder builder, int indent)
@NonNull CLElement
String
boolean
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
void
void
setEnd(long end)
void
setLine(int line)
void
setStart(long start)

Public constructors

CLKey

Added in 1.1.0
public CLKey(char[] content)

Public methods

allocate

Added in 1.1.0
public static CLElement allocate(char[] content)

allocate

Added in 1.1.0
public static CLElement allocate(String name, CLElement value)

equals

public boolean equals(Object obj)

getName

Added in 1.1.0
public String getName()

getValue

Added in 1.1.0
public CLElement getValue()

hashCode

public int hashCode()

set

Added in 1.1.0
public void set(CLElement value)

Protected methods

toFormattedJSON

protected String toFormattedJSON(int indent, int forceIndent)

toJSON

protected String toJSON()