Class ExtendStaxDriver

java.lang.Object
com.thoughtworks.xstream.io.AbstractDriver
com.thoughtworks.xstream.io.xml.AbstractXmlDriver
com.thoughtworks.xstream.io.xml.StaxDriver
com.github._1c_syntax.bsl.reader.common.xstream.ExtendStaxDriver
All Implemented Interfaces:
com.thoughtworks.xstream.io.HierarchicalStreamDriver

public class ExtendStaxDriver extends com.thoughtworks.xstream.io.xml.StaxDriver
Расширенная модель StaxDriver для возможности при чтении иметь доступ к файлу, который читается
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    ExtendStaxDriver(MDReader reader, com.thoughtworks.xstream.io.xml.QNameMap qNameMap)
    Оставлен для совместимости со старой версией читателя.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.thoughtworks.xstream.io.HierarchicalStreamReader
     

    Methods inherited from class com.thoughtworks.xstream.io.xml.StaxDriver

    createInputFactory, createOutputFactory, createParser, createParser, createParser, createReader, createReader, createReader, createStaxReader, createStaxWriter, createStaxWriter, createWriter, createWriter, getInputFactory, getOutputFactory, getQnameMap, isRepairingNamespace, setQnameMap, setRepairingNamespace

    Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractXmlDriver

    xmlFriendlyReplacer

    Methods inherited from class com.thoughtworks.xstream.io.AbstractDriver

    getNameCoder

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExtendStaxDriver

      public ExtendStaxDriver(MDReader reader, com.thoughtworks.xstream.io.xml.QNameMap qNameMap)
      Оставлен для совместимости со старой версией читателя. При разделении читателей не потребуется
    • ExtendStaxDriver

      public ExtendStaxDriver(MDReader mdReader)
  • Method Details

    • createReader

      public com.thoughtworks.xstream.io.HierarchicalStreamReader createReader(File in)
      Specified by:
      createReader in interface com.thoughtworks.xstream.io.HierarchicalStreamDriver
      Overrides:
      createReader in class com.thoughtworks.xstream.io.xml.StaxDriver