Package com._1c.g5.v8.dt.internal.xml
Class XmlVersionService
java.lang.Object
com._1c.g5.v8.dt.internal.xml.XmlVersionService
- All Implemented Interfaces:
IXmlVersionService
Implementation of
IXmlVersionService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRuntimeVersions
(String xmlVersion) List of 1C:Runtime versions for given XML format version representationgetXmlVersionRepresentation
(Version version) XML format version representation for given 1C:Runtime versionboolean
isValidXmlVersionRepresentation
(String xmlVersion) Validate given string representation of XML format
-
Constructor Details
-
XmlVersionService
public XmlVersionService()
-
-
Method Details
-
getXmlVersionRepresentation
Description copied from interface:IXmlVersionService
XML format version representation for given 1C:Runtime version- Specified by:
getXmlVersionRepresentation
in interfaceIXmlVersionService
- 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
Description copied from interface:IXmlVersionService
List of 1C:Runtime versions for given XML format version representation- Specified by:
getRuntimeVersions
in interfaceIXmlVersionService
- Parameters:
xmlVersion
- the XML format version representation, cannot benull
- Returns:
- list of
Version
for given XML format version representation, nevernull
-
isValidXmlVersionRepresentation
Description copied from interface:IXmlVersionService
Validate given string representation of XML format- Specified by:
isValidXmlVersionRepresentation
in interfaceIXmlVersionService
- Parameters:
xmlVersion
- the XML format representation for check, cannot benull
- Returns:
true
if given XML format representation is registered, orfalse
if otherwise
-