public class AnnotationManager extends ReferencePathManager
Title: Structured Data Objects
Description: The Annotations Manager
works on EventDatagram
objects
allowing users to extract elements from the datagram payload and use them as
message properties.
ReferencePathManager
for a complete description of reference paths used for annotation.
Copyright: Copyright (c) 2010
Company: StreamScape Technologies
ReferencePathManager.SdrInfo
Constructor and Description |
---|
AnnotationManager(FabricContext context,
AliasManager aliasManager) |
Modifier and Type | Method and Description |
---|---|
EventDatagram |
annotate(EventDatagram event)
This method exports elements of the event datagram's payload and
populates the associate property fields with the element data.
|
getReferenceValueMap, getTypeAtPath, getValueAtMap, getValueAtPath, getValueByIndex, instantiateClass, parseSdr, setValueAtMap, setValueAtMap, setValueAtPath, setValueAtPath
public AnnotationManager(FabricContext context, AliasManager aliasManager)
public EventDatagram annotate(EventDatagram event) throws SDOException
This method may only be called on event datagrams that have not been coalesced.
Datagrams produced by the Fabric Event Dispatcher will typically call this method prior to the coalesce operation when they raise an event.
event
- the event to be annotated.SDOException
- if some error occurs during this operation execution.Copyright © 2015-2024 StreamScape Technologies. All rights reserved.