p3j.pppm.readerwriter.file
Class PPPModelFileReaderWriterFactory

java.lang.Object
  extended by james.core.base.Entity
      extended by james.core.base.NamedEntity
          extended by james.core.factories.Factory
              extended by james.core.data.model.read.plugintype.ModelReaderFactory
                  extended by james.core.data.model.ModelFileReaderFactory
                      extended by p3j.pppm.readerwriter.file.PPPModelFileReaderWriterFactory
All Implemented Interfaces:
james.core.base.IEntity, james.core.base.INamedEntity, james.core.cmdparameters.IParameters, james.core.data.IFileHandling, james.core.data.IMIMETypeHandling, james.core.data.IURIHandling, james.core.observe.IObservable, Serializable, Comparable<james.core.base.INamedEntity>

public class PPPModelFileReaderWriterFactory
extends james.core.data.model.ModelFileReaderFactory

Factory for reader/writer of PPPM files. TODO: Finish this, use Serializer.

Author:
Christina Bohk, Roland Ewald
See Also:
Serialized Form

Field Summary
 
Fields inherited from class james.core.factories.Factory
absParameters
 
Fields inherited from interface james.core.data.IURIHandling
URI
 
Constructor Summary
PPPModelFileReaderWriterFactory()
           
 
Method Summary
 james.core.data.model.IModelReader create(james.core.parameters.ParameterBlock params)
           
 String getDescription()
           
 String getFileEnding()
           
 boolean supportsMIMEType(james.core.data.model.read.plugintype.IMIMEType mime)
           
 boolean supportsModel(james.core.model.IModel model)
           
 boolean supportsModel(james.core.model.symbolic.ISymbolicModel<?> model)
           
 
Methods inherited from class james.core.data.model.ModelFileReaderFactory
supportsURI
 
Methods inherited from class james.core.factories.Factory
getOptionalParameters, getParameters, getReadableName, getRequiredParameters, getSubAlgoByParams, getSubAlgoParams, hasParameters, toString
 
Methods inherited from class james.core.base.NamedEntity
compareTo, getCompleteInfoString, getName, setName
 
Methods inherited from class james.core.base.Entity
changed, changed, getMediator, getSimpleId, isObserved, registerObserver, report, report, report, report, report, report, report, report, setMediator, unregister, unregisterObserver, unregisterObservers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface james.core.base.IEntity
getSimpleId
 
Methods inherited from interface james.core.observe.IObservable
changed, getMediator, registerObserver, setMediator, unregisterObserver, unregisterObservers
 

Constructor Detail

PPPModelFileReaderWriterFactory

public PPPModelFileReaderWriterFactory()
Method Detail

getDescription

public String getDescription()

getFileEnding

public String getFileEnding()

create

public james.core.data.model.IModelReader create(james.core.parameters.ParameterBlock params)
Specified by:
create in class james.core.data.model.read.plugintype.ModelReaderFactory

supportsModel

public boolean supportsModel(james.core.model.IModel model)
Specified by:
supportsModel in class james.core.data.model.read.plugintype.ModelReaderFactory

supportsModel

public boolean supportsModel(james.core.model.symbolic.ISymbolicModel<?> model)
Specified by:
supportsModel in class james.core.data.model.read.plugintype.ModelReaderFactory

supportsMIMEType

public boolean supportsMIMEType(james.core.data.model.read.plugintype.IMIMEType mime)


Copyright © 2012. All Rights Reserved.