public abstract class AbstractReferenceMarshaller extends TreeMarshaller
Modifier and Type | Class and Description |
---|---|
static class |
AbstractReferenceMarshaller.ReferencedImplicitElementException |
TreeMarshaller.CircularReferenceException
classMapper, converterLookup, writer
Constructor and Description |
---|
AbstractReferenceMarshaller(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper) |
Modifier and Type | Method and Description |
---|---|
void |
convert(Object item,
Converter converter) |
protected abstract String |
createReference(Path currentPath,
Object existingReferenceKey) |
protected abstract Object |
createReferenceKey(Path currentPath) |
protected abstract void |
fireValidReference(Object referenceKey) |
convertAnother, convertAnother, get, getMapper, keys, put, start
public AbstractReferenceMarshaller(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper)
public void convert(Object item, Converter converter)
convert
in class TreeMarshaller
protected abstract String createReference(Path currentPath, Object existingReferenceKey)
protected abstract void fireValidReference(Object referenceKey)
Copyright © 2016 Internet2. All rights reserved.