Class CLToken
- java.lang.Object
-
- androidx.constraintlayout.core.parser.CLElement
-
- androidx.constraintlayout.core.parser.CLToken
-
public class CLToken extends CLElement
-
-
Field Summary
-
Fields inherited from class androidx.constraintlayout.core.parser.CLElement
mContainer, mEnd, mStart, sBaseIndent, sMaxLine
-
-
Constructor Summary
Constructors Constructor Description CLToken(char[] content)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CLElementallocate(char[] content)booleangetBoolean()androidx.constraintlayout.core.parser.CLToken.TypegetType()booleanisNull()protected java.lang.StringtoFormattedJSON(int indent, int forceIndent)protected java.lang.StringtoJSON()booleanvalidate(char c, long position)-
Methods inherited from class androidx.constraintlayout.core.parser.CLElement
addIndent, content, getContainer, getDebugName, getEnd, getFloat, getInt, getLine, getStart, getStrClass, isDone, isStarted, notStarted, setContainer, setEnd, setLine, setStart, toString
-
-
-
-
Method Detail
-
getBoolean
public boolean getBoolean() throws CLParsingException- Throws:
CLParsingException
-
isNull
public boolean isNull() throws CLParsingException- Throws:
CLParsingException
-
allocate
public static CLElement allocate(char[] content)
-
toFormattedJSON
protected java.lang.String toFormattedJSON(int indent, int forceIndent)- Overrides:
toFormattedJSONin classCLElement
-
getType
public androidx.constraintlayout.core.parser.CLToken.Type getType()
-
validate
public boolean validate(char c, long position)
-
-