Top Inners Fields Constructors Methods
com.thoughtworks.xstream.core

public Class ReferenceByIdMarshaller

extends AbstractReferenceMarshaller
Class Inheritance
Imports
com.thoughtworks.xstream.converters.ConverterLookup, com.thoughtworks.xstream.io.HierarchicalStreamWriter, com.thoughtworks.xstream.io.path.Path, com.thoughtworks.xstream.mapper.Mapper

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface

Field Summary

Modifier and TypeField and Description
private final ReferenceByIdMarshaller.IDGenerator

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
protected String
protected Object
protected void
Inherited from com.thoughtworks.xstream.core.AbstractReferenceMarshaller:
convert

Field Detail

idGeneratorback to summary
private final ReferenceByIdMarshaller.IDGenerator idGenerator

Constructor Detail

ReferenceByIdMarshallerback to summary
public ReferenceByIdMarshaller(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper, ReferenceByIdMarshaller.IDGenerator idGenerator)
ReferenceByIdMarshallerback to summary
public ReferenceByIdMarshaller(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper)

Method Detail

createReferenceback to summary
protected String createReference(Path currentPath, Object existingReferenceKey)

Implements abstract com.thoughtworks.xstream.core.AbstractReferenceMarshaller.createReference.

createReferenceKeyback to summary
protected Object createReferenceKey(Path currentPath, Object item)

Implements abstract com.thoughtworks.xstream.core.AbstractReferenceMarshaller.createReferenceKey.

fireValidReferenceback to summary
protected void fireValidReference(Object referenceKey)

Implements abstract com.thoughtworks.xstream.core.AbstractReferenceMarshaller.fireValidReference.

com.thoughtworks.xstream.core back to summary

public Interface ReferenceByIdMarshaller.IDGenerator

Known Direct Implementers
com.thoughtworks.xstream.core.SequenceGenerator

Method Summary

Modifier and TypeMethod and Description
public String
next(Object item)

Method Detail

nextback to summary
public String next(Object item)