Class XmlVersionService

java.lang.Object
com._1c.g5.v8.dt.internal.xml.XmlVersionService
All Implemented Interfaces:
IXmlVersionService

public class XmlVersionService extends Object implements IXmlVersionService
Implementation of IXmlVersionService
  • Constructor Details

    • XmlVersionService

      public XmlVersionService()
  • Method Details

    • getXmlVersionRepresentation

      public String getXmlVersionRepresentation(Version version)
      Description copied from interface: IXmlVersionService
      XML format version representation for given 1C:Runtime version
      Specified by:
      getXmlVersionRepresentation in interface IXmlVersionService
      Parameters:
      version - the 1C:Runtime version, cannot be null
      Returns:
      string representation of XML format, can be null if no XML format version representation registry for given version
    • getRuntimeVersions

      public List<Version> getRuntimeVersions(String xmlVersion)
      Description copied from interface: IXmlVersionService
      List of 1C:Runtime versions for given XML format version representation
      Specified by:
      getRuntimeVersions in interface IXmlVersionService
      Parameters:
      xmlVersion - the XML format version representation, cannot be null
      Returns:
      list of Version for given XML format version representation, never null
    • isValidXmlVersionRepresentation

      public boolean isValidXmlVersionRepresentation(String xmlVersion)
      Description copied from interface: IXmlVersionService
      Validate given string representation of XML format
      Specified by:
      isValidXmlVersionRepresentation in interface IXmlVersionService
      Parameters:
      xmlVersion - the XML format representation for check, cannot be null
      Returns:
      true if given XML format representation is registered, or false if otherwise