mapper = new ClassAliasingMapper(mapper); mapper = new ElementIgnoringMapper(mapper); mapper = new FieldAliasingMapper(mapper);
xs.alias("accessInfo", ProcessInfoImpl.class); xs.registerConverter(new NameConverter()); ClassAliasingMapper mapper = new ClassAliasingMapper(xs.getMapper()); mapper.addClassAlias("role", String.class); xs.registerLocalConverter(
xStream.alias("synchList", synchronizedListType); ClassAliasingMapper optionsMapper = new ClassAliasingMapper(xStream.getMapper()); optionsMapper.addClassAlias("option", String.class); xStream.registerLocalConverter( ClassAliasingMapper warningsMapper = new ClassAliasingMapper(xStream.getMapper()); warningsMapper.addClassAlias(Level.WARNING.getName(), RuntimeException.class); warningsMapper.addClassAlias(Level.WARNING.getName(), CatalogException.class); "liFilter", xStream.getMapper(), xStream.getReflectionProvider())); ClassAliasingMapper stepExecutionsMapper = new ClassAliasingMapper(xStream.getMapper()); stepExecutionsMapper.addClassAlias("step", StepExecution.class); xStream.registerLocalConverter(
private Mapper buildMapper(ClassLoader cl) { // method exists to replace the default Mapper with the ClassLoaderMapper Mapper mapper = new ClassLoaderMapper(registry, cl); // note do not use XStream11XmlFriendlyMapper mapper = new ClassAliasingMapper(mapper); mapper = new FieldAliasingMapper(mapper); mapper = new AttributeAliasingMapper(mapper); mapper = new AttributeMapper(mapper); mapper = new ImplicitCollectionMapper(mapper); mapper = new DynamicProxyMapper(mapper); if (JVM.is15()) { mapper = new EnumMapper(mapper); } mapper = new OuterClassMapper(mapper); mapper = new ArrayMapper(mapper); mapper = new DefaultImplementationsMapper(mapper); mapper = new ImmutableTypesMapper(mapper); mapper = new CachingMapper(mapper); return mapper; }
mapper = new ClassAliasingMapper(mapper); mapper = new FieldAliasingMapper(mapper); mapper = new AttributeAliasingMapper(mapper);
mapper = new ClassAliasingMapper(mapper); mapper = new FieldAliasingMapper(mapper); mapper = new AttributeAliasingMapper(mapper);
mapper = new ClassAliasingMapper(mapper); mapper = new FieldAliasingMapper(mapper); mapper = new AttributeAliasingMapper(mapper);
mapper = new ClassAliasingMapper(mapper); mapper = new ElementIgnoringMapper(mapper); mapper = new FieldAliasingMapper(mapper);
mapper = new ClassAliasingMapper(mapper); mapper = new ElementIgnoringMapper(mapper); mapper = new FieldAliasingMapper(mapper);
mapper = new ClassAliasingMapper(mapper); mapper = new ElementIgnoringMapper(mapper); mapper = new FieldAliasingMapper(mapper);
mapper = new ClassAliasingMapper(mapper); mapper = new ElementIgnoringMapper(mapper); mapper = new FieldAliasingMapper(mapper);