org.carrot2.util.simplexml
Interface ISimpleXmlWrapper<T>

All Known Implementing Classes:
DefaultConstructorSimpleXmlWrapper, FSDirectoryWrapper, StandardAnalyzerWrapper

public interface ISimpleXmlWrapper<T>

A wrapper around a type to be serialized by Simple XML. The actual implementation should define the appropriate fields with SimpleXML annotations, possibly also the Persist and Commit methods, that will allow full serialization and deserialization of the type.


Method Summary
 T getValue()
          Returns the value represented by this wrapper.
 void setValue(T value)
          Sets value to be wrapped by this wrapper.
 

Method Detail

getValue

T getValue()
Returns the value represented by this wrapper.


setValue

void setValue(T value)
Sets value to be wrapped by this wrapper.



Copyright (c) Dawid Weiss, Stanislaw Osinski