Uses of Interface
com.thoughtworks.xstream.converters.MarshallingContext
Packages that use MarshallingContext
Package
Description
Converters for common basic types in Java.
Converters for collection objects that write their items as
nested elements, such as arrays, Lists, Sets and Maps.
Extra converters that may not be enabled in XStream by default.
Extra converters for the java.time package.
-
Uses of MarshallingContext in com.thoughtworks.xstream.annotations
Methods in com.thoughtworks.xstream.annotations with parameters of type MarshallingContextModifier and TypeMethodDescriptionprotected void
AnnotationReflectionConverter.marshallField
(MarshallingContext context, Object newObj, Field field) Deprecated. -
Uses of MarshallingContext in com.thoughtworks.xstream.converters
Methods in com.thoughtworks.xstream.converters with parameters of type MarshallingContextModifier and TypeMethodDescriptionvoid
Converter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) Convert an object to textual data.void
SingleValueConverterWrapper.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) -
Uses of MarshallingContext in com.thoughtworks.xstream.converters.basic
Methods in com.thoughtworks.xstream.converters.basic with parameters of type MarshallingContextModifier and TypeMethodDescriptionvoid
CharConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
NullConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) -
Uses of MarshallingContext in com.thoughtworks.xstream.converters.collections
Methods in com.thoughtworks.xstream.converters.collections with parameters of type MarshallingContextModifier and TypeMethodDescriptionabstract void
AbstractCollectionConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
ArrayConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
BitSetConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
CharArrayConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
CollectionConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
MapConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
PropertiesConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
TreeMapConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
TreeSetConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) protected void
TreeMapConverter.marshalComparator
(Comparator comparator, HierarchicalStreamWriter writer, MarshallingContext context) protected void
AbstractCollectionConverter.writeBareItem
(Object item, MarshallingContext context, HierarchicalStreamWriter writer) Write the bare item of the collection into the writer.protected void
AbstractCollectionConverter.writeCompleteItem
(Object item, MarshallingContext context, HierarchicalStreamWriter writer) Write an item of the collection into the writer including surrounding tags.protected void
AbstractCollectionConverter.writeItem
(Object item, MarshallingContext context, HierarchicalStreamWriter writer) Deprecated.protected void
AbstractCollectionConverter.writeNullItem
(MarshallingContext context, HierarchicalStreamWriter writer) Write a null item of the collection into the writer. -
Uses of MarshallingContext in com.thoughtworks.xstream.converters.enums
Methods in com.thoughtworks.xstream.converters.enums with parameters of type MarshallingContextModifier and TypeMethodDescriptionvoid
EnumConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
EnumMapConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
EnumSetConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) -
Uses of MarshallingContext in com.thoughtworks.xstream.converters.extended
Methods in com.thoughtworks.xstream.converters.extended with parameters of type MarshallingContextModifier and TypeMethodDescriptionvoid
ActivationDataFlavorConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
AtomicBooleanConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
AtomicIntegerConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
AtomicLongConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
AtomicReferenceConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
ColorConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
DynamicProxyConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
EncodedByteArrayConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
FontConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
GregorianCalendarConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
JavaFieldConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
JavaMethodConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
NamedArrayConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
NamedMapConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
OptionalConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
OptionalDoubleConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
OptionalIntConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
OptionalLongConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
RegexPatternConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
SubjectConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
ThrowableConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
ToAttributedValueConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) protected void
SubjectConverter.marshalPrincipals
(Set principals, HierarchicalStreamWriter writer, MarshallingContext context) protected void
SubjectConverter.marshalPrivateCredentials
(Set privCredentials, HierarchicalStreamWriter writer, MarshallingContext context) protected void
SubjectConverter.marshalPublicCredentials
(Set pubCredentials, HierarchicalStreamWriter writer, MarshallingContext context) protected void
NamedCollectionConverter.writeCompleteItem
(Object item, MarshallingContext context, HierarchicalStreamWriter writer) protected void
NamedCollectionConverter.writeItem
(Object item, MarshallingContext context, HierarchicalStreamWriter writer) Deprecated.As of 1.4.11 useNamedCollectionConverter.writeCompleteItem(Object, MarshallingContext, HierarchicalStreamWriter)
instead.protected void
NamedMapConverter.writeItem
(String name, Class type, Object item, MarshallingContext context, HierarchicalStreamWriter writer) -
Uses of MarshallingContext in com.thoughtworks.xstream.converters.javabean
Methods in com.thoughtworks.xstream.converters.javabean with parameters of type MarshallingContextModifier and TypeMethodDescriptionvoid
JavaBeanConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) -
Uses of MarshallingContext in com.thoughtworks.xstream.converters.reflection
Methods in com.thoughtworks.xstream.converters.reflection with parameters of type MarshallingContextModifier and TypeMethodDescriptionprotected void
AbstractReflectionConverter.doMarshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
SerializableConverter.doMarshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) protected void
SerializableConverter.doMarshalConditionally
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
AbstractReflectionConverter.marshal
(Object original, HierarchicalStreamWriter writer, MarshallingContext context) void
CGLIBEnhancedConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
ExternalizableConverter.marshal
(Object original, HierarchicalStreamWriter writer, MarshallingContext context) void
LambdaConverter.marshal
(Object original, HierarchicalStreamWriter writer, MarshallingContext context) protected void
AbstractReflectionConverter.marshallField
(MarshallingContext context, Object newObj, Field field) protected void
SerializableConverter.marshalUnserializableParent
(HierarchicalStreamWriter writer, MarshallingContext context, Object replacedSource) -
Uses of MarshallingContext in com.thoughtworks.xstream.converters.time
Methods in com.thoughtworks.xstream.converters.time with parameters of type MarshallingContextModifier and TypeMethodDescriptionvoid
SystemClockConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
ValueRangeConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) void
WeekFieldsConverter.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context) -
Uses of MarshallingContext in com.thoughtworks.xstream.core
Subinterfaces of MarshallingContext in com.thoughtworks.xstream.coreClasses in com.thoughtworks.xstream.core that implement MarshallingContextModifier and TypeClassDescriptionclass
Abstract base class for a TreeMarshaller, that can build references.class
class
class
-
Uses of MarshallingContext in com.thoughtworks.xstream.core.util
Methods in com.thoughtworks.xstream.core.util with parameters of type MarshallingContextModifier and TypeMethodDescriptionvoid
SelfStreamingInstanceChecker.marshal
(Object source, HierarchicalStreamWriter writer, MarshallingContext context)
AbstractCollectionConverter.writeCompleteItem(Object, MarshallingContext, HierarchicalStreamWriter)
instead.