org.norvelle.textcite.model.serialize
Class AbstractCustomConverter
java.lang.Object
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
org.norvelle.textcite.model.serialize.AbstractCustomConverter
- All Implemented Interfaces:
- com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
- Direct Known Subclasses:
- Author.AuthorConverter, AuthorCollection.AuthorCollectionConverter, Book.BookConverter, BookCollection.BookCollectionConverter, BookOutlineItem.BookOutlineItemConverter, BookOutlineTree.BookOutlineTreeConverter, Category.CategoryConverter, CategoryTree.CategoryTreeConverter, Citation.CitationConverter, CitationCategoryCollection.CitationCategoryCollectionConverter, CitationCollection.CitationCollectionConverter, CiteBook.CiteBookConverter
public abstract class AbstractCustomConverter
- extends com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
AbstractCustomConverter: An intermediary between the custom converters for TextCite and
the base AbstractCustomConverter class. Manages references to a SaveLoadStatusListener
and a XMLSerializer2, so that derived classes have access to these objects.
- Author:
- Erik Norvelle
Methods inherited from class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter |
canConvert, createCollection, mapper, marshal, readItem, unmarshal, writeItem |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listener
protected SaveLoadStatusListener listener
serializer
protected XMLSerializer2 serializer
AbstractCustomConverter
public AbstractCustomConverter(com.thoughtworks.xstream.mapper.Mapper mapper,
SaveLoadStatusListener l,
XMLSerializer2 s)
- Parameters:
mapper
- The Mapper object to be passed to the AbstractCollectionConverter constructorl
- The SaveLoadStatusListener used to inform about save/load eventss
- The XMLSerializer2 object which manages the serialization process.