public final class DefaultAttributeFilter extends Object implements AttributeFilter
AttributeFilter that gets or sets the actual attribute value from the backing field of a UaNode.
DefaultAttributeFilter does not invoke further attribute filters in the chain.
DEFAULT_INSTANCE| Constructor and Description |
|---|
DefaultAttributeFilter() |
| Modifier and Type | Method and Description |
|---|---|
@Nullable Object |
getAttribute(AttributeFilterContext.GetAttributeContext ctx,
AttributeId attributeId)
Get the value for the attribute identified by
attributeId or delegate to the next filter in the chain. |
void |
setAttribute(AttributeFilterContext.SetAttributeContext ctx,
AttributeId attributeId,
@Nullable Object value)
Set the value for the attribute identified by
attributeId or delegate to the next filter in the chain. |
@Nullable public @Nullable Object getAttribute(AttributeFilterContext.GetAttributeContext ctx, AttributeId attributeId)
AttributeFilterattributeId or delegate to the next filter in the chain.getAttribute in interface AttributeFilterctx - the AttributeFilterContext.attributeId - the AttributeId of the attribute to get the value of.attributeId.AttributeFilterContext.GetAttributeContext.getAttribute(AttributeId)public void setAttribute(AttributeFilterContext.SetAttributeContext ctx, AttributeId attributeId, @Nullable @Nullable Object value)
AttributeFilterattributeId or delegate to the next filter in the chain.setAttribute in interface AttributeFilterctx - the AttributeFilterContext.attributeId - the AttributeId of the attribute to set the value of.value - the value to set.AttributeFilterContext.SetAttributeContext.setAttribute(AttributeId, Object)Copyright © 2021. All rights reserved.