Condividi tramite


ExpressionRoot Class

public final class ExpressionRoot
extends Expression

The expression root.

Method Summary

Modifier and Type Method and Description
AzureResourceErrorInfo error()

Get the error property: The azure resource error info.

static ExpressionRoot fromJson(JsonReader jsonReader)

Reads an instance of ExpressionRoot from the JsonReader.

String path()

Get the path property: The path.

List<Expression> subexpressions()

Get the subexpressions property: The sub expressions.

String text()

Get the text property: The text.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Object value()

Get the value property: Anything.

Methods inherited from Expression

Methods inherited from java.lang.Object

Method Details

error

public AzureResourceErrorInfo error()

Get the error property: The azure resource error info.

Overrides:

ExpressionRoot.error()

Returns:

the error value.

fromJson

public static ExpressionRoot fromJson(JsonReader jsonReader)

Reads an instance of ExpressionRoot from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExpressionRoot if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ExpressionRoot.

path

public String path()

Get the path property: The path.

Returns:

the path value.

subexpressions

public List<Expression> subexpressions()

Get the subexpressions property: The sub expressions.

Overrides:

ExpressionRoot.subexpressions()

Returns:

the subexpressions value.

text

public String text()

Get the text property: The text.

Overrides:

ExpressionRoot.text()

Returns:

the text value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ExpressionRoot.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

ExpressionRoot.validate()

value

public Object value()

Get the value property: Anything.

Overrides:

ExpressionRoot.value()

Returns:

the value value.

Applies to