Package com._1c.g5.v8.dt.xml
Interface IXmlVersionService
-
public interface IXmlVersionService
Service for relations versions of XML formats and 1C:Runtime
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Version>
getRuntimeVersions(String xmlVersion)
List of 1C:Runtime versions for given XML format version representationString
getXmlVersionRepresentation(Version version)
XML format version representation for given 1C:Runtime versionboolean
isValidXmlVersionRepresentation(String xmlVersion)
Validate given string representation of XML format
-
-
-
Method Detail
-
getXmlVersionRepresentation
String getXmlVersionRepresentation(Version version)
XML format version representation for given 1C:Runtime version- Parameters:
version
- the 1C:Runtime version, cannot benull
- Returns:
- string representation of XML format, can be
null
if no XML format version representation registry for given version
-
getRuntimeVersions
List<Version> getRuntimeVersions(String xmlVersion)
List of 1C:Runtime versions for given XML format version representation- Parameters:
xmlVersion
- the XML format version representation, cannot benull
- Returns:
- list of
Version
for given XML format version representation, nevernull
-
isValidXmlVersionRepresentation
boolean isValidXmlVersionRepresentation(String xmlVersion)
Validate given string representation of XML format- Parameters:
xmlVersion
- the XML format representation for check, cannot benull
- Returns:
true
if given XML format representation is registered, orfalse
if otherwise
-
-