public class ResolveReferenceEventArgs extends Object implements IEventArgs
ResolveReference
and OverrideResolveReference
events.EMPTY
Constructor and Description |
---|
ResolveReferenceEventArgs(IParseContext context,
String referenceId)
Creates a new instance of
ResolveReferenceEventArgs . |
Modifier and Type | Method and Description |
---|---|
IParseContext |
getContext()
The current parse context that can be used by the event handler for additional information.
|
String |
getReferenceId()
The reference id that should evaluated by the event handler.
|
Object |
getValue()
The reference value that is encapsulated by this instance.
|
boolean |
isHandled()
Returns whether the last event handler invocation has actually handled the event.
|
void |
setValue(Object value)
The reference value that is encapsulated by this instance.
|
public ResolveReferenceEventArgs(IParseContext context, String referenceId)
ResolveReferenceEventArgs
.
The Handled
property is set to false
, the Value
property is set to
null
context
- The current parse context that can be used by the event handler for additional information.referenceId
- The reference id that should evaluated by the event handler.public final IParseContext getContext()
public final String getReferenceId()
public final Object getValue()
Setting this property automatically sets Handled
to true
.
isHandled()
,
setValue(Object)
public final boolean isHandled()
This property is set implicitly by Value
.
getValue()
public final void setValue(Object value)
Setting this property automatically sets Handled
to true
.
value
- The Value to set.isHandled()
,
getValue()