Class XStream111

java.lang.Object
com.thoughtworks.xstream.XStream
com.atlassian.confluence.impl.xstream.XStream111

public final class XStream111 extends com.thoughtworks.xstream.XStream
Unfortunately XStream's implementation has broken compatibility with new converters post 1.1.1 This class provides backward compatibility to XML format from XStream version 1.1.1
Since:
7.10.0
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.thoughtworks.xstream.XStream

    com.thoughtworks.xstream.XStream.InitializationException
  • Field Summary

    Fields inherited from class com.thoughtworks.xstream.XStream

    COLLECTION_UPDATE_LIMIT, COLLECTION_UPDATE_SECONDS, ID_REFERENCES, NO_REFERENCES, PRIORITY_LOW, PRIORITY_NORMAL, PRIORITY_VERY_HIGH, PRIORITY_VERY_LOW, SINGLE_NODE_XPATH_ABSOLUTE_REFERENCES, SINGLE_NODE_XPATH_RELATIVE_REFERENCES, XPATH_ABSOLUTE_REFERENCES, XPATH_RELATIVE_REFERENCES
  • Constructor Summary

    Constructors
    Constructor
    Description
    XStream111(com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider, com.thoughtworks.xstream.core.ClassLoaderReference classLoaderReference)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected void
     
    protected boolean
     

    Methods inherited from class com.thoughtworks.xstream.XStream

    addDefaultImplementation, addImmutableType, addImmutableType, addImplicitArray, addImplicitArray, addImplicitArray, addImplicitCollection, addImplicitCollection, addImplicitCollection, addImplicitMap, addImplicitMap, addPermission, alias, alias, aliasAttribute, aliasAttribute, aliasField, aliasPackage, aliasSystemAttribute, aliasType, allowTypeHierarchy, allowTypes, allowTypes, allowTypesByRegExp, allowTypesByRegExp, allowTypesByWildcard, autodetectAnnotations, createObjectInputStream, createObjectInputStream, createObjectInputStream, createObjectInputStream, createObjectOutputStream, createObjectOutputStream, createObjectOutputStream, createObjectOutputStream, createObjectOutputStream, createObjectOutputStream, createObjectOutputStream, denyPermission, denyTypeHierarchy, denyTypes, denyTypes, denyTypesByRegExp, denyTypesByRegExp, denyTypesByWildcard, fromXML, fromXML, fromXML, fromXML, fromXML, fromXML, fromXML, fromXML, fromXML, fromXML, getClassLoader, getClassLoaderReference, getConverterLookup, getMapper, getReflectionProvider, ignoreUnknownElements, ignoreUnknownElements, ignoreUnknownElements, marshal, marshal, newDataHolder, omitField, processAnnotations, processAnnotations, registerConverter, registerConverter, registerConverter, registerConverter, registerLocalConverter, registerLocalConverter, setClassLoader, setCollectionUpdateLimit, setMarshallingStrategy, setMode, setupDefaultImplementations, setupDefaultSecurity, setupImmutableTypes, setupSecurity, toXML, toXML, toXML, unmarshal, unmarshal, unmarshal, useAttributeFor, useAttributeFor, useAttributeFor, wrapMapper

    Methods inherited from class java.lang.Object

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

    • XStream111

      public XStream111(com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider, com.thoughtworks.xstream.core.ClassLoaderReference classLoaderReference)
  • Method Details

    • useXStream11XmlFriendlyMapper

      protected boolean useXStream11XmlFriendlyMapper()
      Overrides:
      useXStream11XmlFriendlyMapper in class com.thoughtworks.xstream.XStream
    • setupAliases

      protected void setupAliases()
      Overrides:
      setupAliases in class com.thoughtworks.xstream.XStream
    • setupConverters

      protected void setupConverters()
      Overrides:
      setupConverters in class com.thoughtworks.xstream.XStream