Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.aendvari.tethys.context.message
Class MessageContextUtil  view MessageContextUtil download MessageContextUtil.java

java.lang.Object
  extended bycom.aendvari.tethys.context.message.MessageContextUtil

public class MessageContextUtil
extends java.lang.Object

Contains various utility methods for message context objects.


Constructor Summary
MessageContextUtil()
           
 
Method Summary
static void contextsToModel(com.aendvari.tethys.context.ContextMap contexts, com.aendvari.common.model.ModelNode destination)
          Extracts all of the message context objects and places them under the supplied com.aendvari.common.model.ModelNode.
protected static void contextsToModel(com.aendvari.common.model.ModelTree modelTree, com.aendvari.common.osm.OsmNode contextNode, com.aendvari.common.model.ModelNode modelNode)
          Helper method for #contextsToModel(ContextMap, ModelNode).
static void mappingsToModel(com.aendvari.tethys.context.ContextMap mappings, com.aendvari.common.model.ModelNode destination)
          Extracts all of the message mapping objects and places them under the supplied com.aendvari.common.model.ModelNode.
protected static void mappingsToModel(com.aendvari.common.model.ModelTree modelTree, com.aendvari.common.osm.OsmNode mappingNode, com.aendvari.common.model.ModelNode modelNode)
          Helper method for #mappingsToModel(ContextMap, ModelNode).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageContextUtil

public MessageContextUtil()
Method Detail

contextsToModel

public static void contextsToModel(com.aendvari.tethys.context.ContextMap contexts,
                                   com.aendvari.common.model.ModelNode destination)
Extracts all of the message context objects and places them under the supplied com.aendvari.common.model.ModelNode.


contextsToModel

protected static void contextsToModel(com.aendvari.common.model.ModelTree modelTree,
                                      com.aendvari.common.osm.OsmNode contextNode,
                                      com.aendvari.common.model.ModelNode modelNode)
Helper method for #contextsToModel(ContextMap, ModelNode). Performs recurive conversion of the supplied com.aendvari.common.model.ModelNode.


mappingsToModel

public static void mappingsToModel(com.aendvari.tethys.context.ContextMap mappings,
                                   com.aendvari.common.model.ModelNode destination)
Extracts all of the message mapping objects and places them under the supplied com.aendvari.common.model.ModelNode.


mappingsToModel

protected static void mappingsToModel(com.aendvari.common.model.ModelTree modelTree,
                                      com.aendvari.common.osm.OsmNode mappingNode,
                                      com.aendvari.common.model.ModelNode modelNode)
Helper method for #mappingsToModel(ContextMap, ModelNode). Performs recurive conversion of the supplied com.aendvari.common.model.ModelNode.