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 java.lang.String |
createReference(Path currentPath,
java.lang.Object existingReferenceKey) |
protected java.lang.Object |
createReferenceKey(Path currentPath,
java.lang.Object item) |
protected void |
fireValidReference(java.lang.Object referenceKey) |
convert
convertAnother, convertAnother, get, getMapper, keys, put, start
public ReferenceByIdMarshaller(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper, ReferenceByIdMarshaller.IDGenerator idGenerator)
public ReferenceByIdMarshaller(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper)
protected java.lang.String createReference(Path currentPath, java.lang.Object existingReferenceKey)
createReference
in class AbstractReferenceMarshaller
protected java.lang.Object createReferenceKey(Path currentPath, java.lang.Object item)
createReferenceKey
in class AbstractReferenceMarshaller
protected void fireValidReference(java.lang.Object referenceKey)
fireValidReference
in class AbstractReferenceMarshaller
Copyright © 2004–2024 XStream. All rights reserved.