org.apache.vinci.transport
Interface TransportableFactory

All Known Subinterfaces:
VinciServable
All Known Implementing Classes:
LocalVNS, Vinci.AFFactory, VinciAnalysisEngineService_impl, VinciBinaryAnalysisEngineService_impl, VinciServableAdapter, VNS

public interface TransportableFactory

Interface for implementing factories which instantiate Transportable objects, as required by VinciServer & VinciClient classes. These base client/server classes allow "pluggable document models" to support optimizing the trade-off of performance vs. document model expressiveness. This is supported by allowing the programmer provide a factory to generate the desired document type.


Method Summary
 Transportable makeTransportable()
          Creates a new (empty) document of the desired type.
 

Method Detail

makeTransportable

Transportable makeTransportable()
Creates a new (empty) document of the desired type.

Returns:
The new document.


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.