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.AbstractScomConnectionLoaderLD_LIBRARY_PATH, version
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedDcsNativeSupportLoader(String id, Version version, IResourceLookup resourceLookup, IProcessManager processManager, IResolvableRuntimeInstallationManager resolvableRuntimeInstallationManager)Constructor
 - 
Method SummaryAll 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.AbstractScomConnectionLoadergetLibraries, getMessageException, getProcessEnvironments, getRuntimeInstallation, getSystemLibraries
 
- 
 
- 
- 
- 
Constructor Detail- 
DcsNativeSupportLoaderprotected 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 of- DataCompositionAppearanceTemplate, can't be- null
- version- actual- Versionfor getting preview file content, can't be- null
- resourceLookup- actual- IResourceLookup, can't be- null
- processManager- actual- IProcessManager, can't be- null
- resolvableRuntimeInstallationManager- actual- IResolvableRuntimeInstallationManager, can't be- null
 
 
- 
 - 
Method Detail- 
getAppearanceTemplatePreviewContentpublic 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- actual- DataCompositionAppearanceTemplatefor getting preview content, can't be- null
- langCode- current language code, can't be- null
- locale- system locale, can't be- null
- Returns:
- moxel document content of the preview part of appearance template, never null, can be empty ifappearanceTemplatewasn't serialized to xml
 
 - 
getAppearanceTemplatePreviewContentpublic 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 of- DataCompositionAppearanceTemplateserialized to xml, can't be- null
- langCode- current language code, can't be- null
- locale- system locale, can't be- null
- Returns:
- moxel document content of the preview part of appearance template, never null
 
 - 
disposepublic 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.
 
- 
 
-