The expression context is not thread-safe and is not valid outside of the property expansion function body.
| Modifier and Type | Field and Description |
|---|---|
| private StringBuilder | |
| private ExpressionNode | |
| private final ExceptionBiConsumer |
| Access | Constructor and Description |
|---|---|
| pack-priv | ResolveContext(final ExceptionBiConsumer<ResolveContext<E>, StringBuilder, E> function, final StringBuilder builder)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | expandDefault(StringBuilder
the string builder target target)Expand the default value to the given string builder. |
| public void | |
| public String | |
| public String | |
| pack-priv StringBuilder | |
| public boolean | Returns: true if there is a default value, false otherwiseDetermine if the current expression has a default value. |
| pack-priv ExpressionNode |
| builder | back to summary |
|---|---|
| private StringBuilder builder | |
| current | back to summary |
|---|---|
| private ExpressionNode current | |
| function | back to summary |
|---|---|
| private final ExceptionBiConsumer<ResolveContext<E>, StringBuilder, E> function | |
| ResolveContext | back to summary |
|---|---|
| pack-priv ResolveContext(final ExceptionBiConsumer<ResolveContext<E>, StringBuilder, E> function, final StringBuilder builder) | |
| emitToBuilder | back to summary |
|---|---|
| private void emitToBuilder(final StringBuilder target, final Node node) throws ExceptionBiConsumer:E | |
| expandDefault | back to summary |
|---|---|
| public void expandDefault(StringBuilder target) throws ExceptionBiConsumer:E Expand the default value to the given string builder. If the default value contains an expression, it will
have been expanded unless
| |
| expandDefault | back to summary |
|---|---|
| public void expandDefault() throws ExceptionBiConsumer:E Expand the default value to the current target string builder. If the default value contains an expression, it will
have been expanded unless
| |
| getExpandedDefault | back to summary |
|---|---|
| public String getExpandedDefault() throws ExceptionBiConsumer:E Expand the default value to a string. If the default value contains an expression, it will
have been expanded unless
| |
| getKey | back to summary |
|---|---|
| public String getKey() throws ExceptionBiConsumer:E Get the expression resolution key, as a string. If the key contains an expression, it will have been expanded
unless
| |
| getStringBuilder | back to summary |
|---|---|
| pack-priv StringBuilder getStringBuilder() | |
| hasDefault | back to summary |
|---|---|
| public boolean hasDefault() Determine if the current expression has a default value.
| |
| setCurrent | back to summary |
|---|---|
| pack-priv ExpressionNode setCurrent(final ExpressionNode current) | |