public class SCXMLGapper extends Object
Constructor and Description |
---|
SCXMLGapper() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
decompose(Frontier frontier,
String modelText)
Takes a model and an SCXMLFrontier and decomposes the Frontier into a Map of Strings to Strings
These strings can be sent over a network to get a Frontier past a 'gap'
|
Frontier |
reproduce(Map<String,String> decomposition)
Produces an SCXMLFrontier by reversing a decomposition; the model text is bundled into the decomposition.
|
Frontier |
reproduce(Map<String,String> decomposition,
List<CustomTagExtension> tagExtensionList)
Produces an SCXMLFrontier by reversing a decomposition; the model text is bundled into the decomposition.
|
public Map<String,String> decompose(Frontier frontier, String modelText)
frontier
- the FrontiermodelText
- the modelpublic Frontier reproduce(Map<String,String> decomposition)
decomposition
- the decomposition, assembled back into a mappublic Frontier reproduce(Map<String,String> decomposition, List<CustomTagExtension> tagExtensionList)
decomposition
- the decomposition, assembled back into a maptagExtensionList
- custom tags to use in the modelCopyright © 2016. All rights reserved.