public interface IXholon2ExternalFormat
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
STRING_WRITER
The class that writes the external format, should write it to a String rather than to a file.
|
Modifier and Type | Method and Description |
---|---|
void |
adjustOptions(java.lang.String outFileName,
java.lang.String modelName,
IXholon root,
java.lang.String formatName)
Allow user to change the values of options for this external format writer.
|
boolean |
canAdjustOptions()
Is this external format writer capable of allowing the user to change the values of options.
|
java.lang.String |
getEfParamsAsJsonString()
Get the parameters for this external format, as a JSON string.
|
boolean |
initialize(java.lang.String outFileName,
java.lang.String modelName,
IXholon root)
Initialize.
|
void |
setEfParamsFromJsonString(java.lang.String jsonStr)
Set one or more parameters for this external format.
|
void |
writeAll()
Write out all parts of the external-format file.
|
static final java.lang.String STRING_WRITER
java.lang.String getEfParamsAsJsonString()
void setEfParamsFromJsonString(java.lang.String jsonStr)
jsonStr
- one or more name/value pairs in JSON format
ex: {"one":"two","three":true,"four":1234}void adjustOptions(java.lang.String outFileName, java.lang.String modelName, IXholon root, java.lang.String formatName)
outFileName
- Name of the output file.modelName
- Name of the model.root
- Root of the hierarchy to write out (composite or inheritance structure).formatName
- ex: "Graphviz"boolean canAdjustOptions()
boolean initialize(java.lang.String outFileName, java.lang.String modelName, IXholon root)
outFileName
- Name of the output file.modelName
- Name of the model.root
- Root of the hierarchy to write out (composite or inheritance structure).void writeAll()