public class ReferenceByIdMarshaller extends AbstractReferenceMarshaller
Modifier and Type | Class and Description |
---|---|
static interface |
ReferenceByIdMarshaller.IDGenerator |
AbstractReferenceMarshaller.ReferencedImplicitElementException
TreeMarshaller.CircularReferenceException
converterLookup, writer
Constructor and Description |
---|
ReferenceByIdMarshaller(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
ReferenceByIdMarshaller(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper,
ReferenceByIdMarshaller.IDGenerator idGenerator) |
Modifier and Type | Method and Description |
---|---|
protected String |
createReference(Path currentPath,
Object existingReferenceKey) |
protected Object |
createReferenceKey(Path currentPath,
Object item) |
protected void |
fireValidReference(Object referenceKey) |
convert
convertAnother, convertAnother, get, getMapper, keys, put, start
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convertAnother, convertAnother
get, keys, put
public ReferenceByIdMarshaller(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper, ReferenceByIdMarshaller.IDGenerator idGenerator)
public ReferenceByIdMarshaller(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper)
protected String createReference(Path currentPath, Object existingReferenceKey)
createReference
in class AbstractReferenceMarshaller
protected Object createReferenceKey(Path currentPath, Object item)
createReferenceKey
in class AbstractReferenceMarshaller
protected void fireValidReference(Object referenceKey)
fireValidReference
in class AbstractReferenceMarshaller
Copyright © 2004–2016 XStream. All rights reserved.