Class DcsNativeSupportLoader
- java.lang.Object
-
- com._1c.g5.v8.dt.natives.library.AbstractScomConnectionLoader
-
- com._1c.g5.v8.dt.dcsnative.common.DcsNativeSupportLoader
-
public class DcsNativeSupportLoader extends AbstractScomConnectionLoader
Special provider for getting content of the preview part ofDataCompositionAppearanceTemplateby its xml serialization content and concreteVersion.
Important: Client should calldispose()for release special data at the end operation for getting content of the preview part ofDataCompositionAppearanceTemplateby its xml serialization content
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.natives.library.AbstractScomConnectionLoader
LD_LIBRARY_PATH, version
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDcsNativeSupportLoader(String id, Version version, IResourceLookup resourceLookup, IProcessManager processManager, IResolvableRuntimeInstallationManager resolvableRuntimeInstallationManager)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()Releases special data for getting moxel document content of the preview part of appearance template
You should call this method if you have no plans to soon get moxel document content of the preview part of appearance template or calling other methods from this class.StringgetAppearanceTemplatePreviewContent(DataCompositionAppearanceTemplate appearanceTemplate, String langCode, String locale)Gets moxel document content of the preview part of appearance template.StringgetAppearanceTemplatePreviewContent(String appearanceTemplateXml, String langCode, String locale)Gets moxel document content of the preview part of appearance template
Important: There is noStyleItems in template-
Methods inherited from class com._1c.g5.v8.dt.natives.library.AbstractScomConnectionLoader
getLibraries, getMessageException, getProcessEnvironments, getRuntimeInstallation, getSystemLibraries
-
-
-
-
Constructor Detail
-
DcsNativeSupportLoader
protected DcsNativeSupportLoader(String id, Version version, IResourceLookup resourceLookup, IProcessManager processManager, IResolvableRuntimeInstallationManager resolvableRuntimeInstallationManager)
Constructor- Parameters:
id- unique id for creating infrastructure for getting content of the preview part ofDataCompositionAppearanceTemplate, can't benullversion- actualVersionfor getting preview file content, can't benullresourceLookup- actualIResourceLookup, can't benullprocessManager- actualIProcessManager, can't benullresolvableRuntimeInstallationManager- actualIResolvableRuntimeInstallationManager, can't benull
-
-
Method Detail
-
getAppearanceTemplatePreviewContent
public String getAppearanceTemplatePreviewContent(DataCompositionAppearanceTemplate appearanceTemplate, String langCode, String locale)
Gets moxel document content of the preview part of appearance template.
Important: There is noStyleItems in template- Parameters:
appearanceTemplate- actualDataCompositionAppearanceTemplatefor getting preview content, can't benulllangCode- current language code, can't benulllocale- system locale, can't benull- Returns:
- moxel document content of the preview part of appearance template, never
null, can be empty ifappearanceTemplatewasn't serialized to xml
-
getAppearanceTemplatePreviewContent
public String getAppearanceTemplatePreviewContent(String appearanceTemplateXml, String langCode, String locale)
Gets moxel document content of the preview part of appearance template
Important: There is noStyleItems in template- Parameters:
appearanceTemplateXml- content ofDataCompositionAppearanceTemplateserialized to xml, can't benulllangCode- current language code, can't benulllocale- system locale, can't benull- Returns:
- moxel document content of the preview part of appearance template, never
null
-
dispose
public void dispose()
Releases special data for getting moxel document content of the preview part of appearance template
You should call this method if you have no plans to soon get moxel document content of the preview part of appearance template or calling other methods from this class. Attention! Client shouldn't call it after each call of methods from this class.
-
-