|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.thoughtworks.xstream.core.TreeMarshaller
com.thoughtworks.xstream.core.AbstractReferenceMarshaller
public abstract class AbstractReferenceMarshaller
Abstract base class for a TreeMarshaller, that can build references.
| Nested Class Summary | |
|---|---|
static class |
AbstractReferenceMarshaller.ReferencedImplicitElementException
|
| Nested classes/interfaces inherited from class com.thoughtworks.xstream.core.TreeMarshaller |
|---|
TreeMarshaller.CircularReferenceException |
| Field Summary |
|---|
| Fields inherited from class com.thoughtworks.xstream.core.TreeMarshaller |
|---|
converterLookup, writer |
| Constructor Summary | |
|---|---|
AbstractReferenceMarshaller(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper)
|
|
| Method Summary | |
|---|---|
void |
convert(Object item,
Converter converter)
|
protected abstract String |
createReference(Path currentPath,
Object existingReferenceKey)
|
protected abstract Object |
createReferenceKey(Path currentPath,
Object item)
|
protected abstract void |
fireValidReference(Object referenceKey)
|
| Methods inherited from class com.thoughtworks.xstream.core.TreeMarshaller |
|---|
convertAnother, convertAnother, get, getMapper, keys, put, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.thoughtworks.xstream.converters.MarshallingContext |
|---|
convertAnother, convertAnother |
| Methods inherited from interface com.thoughtworks.xstream.converters.DataHolder |
|---|
get, keys, put |
| Constructor Detail |
|---|
public AbstractReferenceMarshaller(HierarchicalStreamWriter writer,
ConverterLookup converterLookup,
Mapper mapper)
| Method Detail |
|---|
public void convert(Object item,
Converter converter)
convert in class TreeMarshaller
protected abstract String createReference(Path currentPath,
Object existingReferenceKey)
protected abstract Object createReferenceKey(Path currentPath,
Object item)
protected abstract void fireValidReference(Object referenceKey)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||