Class CompatibilityModeConverter

java.lang.Object
com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
com.github._1c_syntax.bsl.reader.common.converter.CompatibilityModeConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.ConverterMatcher, com.thoughtworks.xstream.converters.SingleValueConverter

public class CompatibilityModeConverter extends com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
Используется для преобразования режима совместимости из строкового вида в объектный вид
  • Constructor Details

    • CompatibilityModeConverter

      public CompatibilityModeConverter()
  • Method Details

    • fromString

      public Object fromString(String sourceString)
      Specified by:
      fromString in interface com.thoughtworks.xstream.converters.SingleValueConverter
      Specified by:
      fromString in class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
    • canConvert

      public boolean canConvert(Class type)
      Specified by:
      canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
      Specified by:
      canConvert in class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter