Class TagReferenceBinder

java.lang.Object
com.inductiveautomation.ignition.gateway.expressions.TagReferenceBinder
All Implemented Interfaces:
ExpressionParseContext
Direct Known Subclasses:
TagReferenceBinder.ReadBinder, TagReferenceBinder.SubscribedBinder

public abstract class TagReferenceBinder extends Object implements ExpressionParseContext
The TagReferenceBinder is a parse context that looks for references to tags, and possibly properties. There are three possible binder types: Subscribed, and Read, and Subscribed Prop or Tag, created with the new{Type}Binder() functions.

The subscribed binder will subscribe to tags it encounters and fire interaction events when the values change. The read binder will read the tag values when executed, but will not know when they change otherwise.

The prop or tag binder will try to determine if the reference is to a property or a tag, based on syntax. For a tag reference to be created in this case, the path must be "this" or start with "[source]" (relative source is fine).