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 ofDataCompositionAppearanceTemplate
by 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 ofDataCompositionAppearanceTemplate
by 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 protected
DcsNativeSupportLoader(String id, Version version, IResourceLookup resourceLookup, IProcessManager processManager, IResolvableRuntimeInstallationManager resolvableRuntimeInstallationManager)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.String
getAppearanceTemplatePreviewContent(DataCompositionAppearanceTemplate appearanceTemplate, String langCode, String locale)
Gets moxel document content of the preview part of appearance template.String
getAppearanceTemplatePreviewContent(String appearanceTemplateXml, String langCode, String locale)
Gets moxel document content of the preview part of appearance template
Important: There is noStyleItem
s 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 benull
version
- actualVersion
for getting preview file content, can't benull
resourceLookup
- actualIResourceLookup
, can't benull
processManager
- actualIProcessManager
, can't benull
resolvableRuntimeInstallationManager
- 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 noStyleItem
s in template- Parameters:
appearanceTemplate
- actualDataCompositionAppearanceTemplate
for getting preview content, can't benull
langCode
- current language code, can't benull
locale
- system locale, can't benull
- Returns:
- moxel document content of the preview part of appearance template, never
null
, can be empty ifappearanceTemplate
wasn'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 noStyleItem
s in template- Parameters:
appearanceTemplateXml
- content ofDataCompositionAppearanceTemplate
serialized to xml, can't benull
langCode
- current language code, can't benull
locale
- 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.
-
-