Class AbstractPsiXmlBinaryStream<T extends Interaction,B extends BinaryInteraction>
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.datasource.AbstractPsiXmlStream<B>
-
- psidev.psi.mi.jami.xml.model.extension.datasource.AbstractPsiXmlBinaryStream<T,B>
-
- All Implemented Interfaces:
ErrorHandler
,BinaryInteractionStream<B>
,InteractionStream<B>
,MIDataSource
,MIFileDataSource
,MIFileParserListener
,PsiXmlParserListener
,PsiXmlStreamSource<B>
- Direct Known Subclasses:
LightXmlBinaryStreamSource
,XmlBinaryEvidenceStreamSource
,XmlBinaryStreamSource
,XmlModelledBinaryStreamSource
public abstract class AbstractPsiXmlBinaryStream<T extends Interaction,B extends BinaryInteraction> extends AbstractPsiXmlStream<B> implements BinaryInteractionStream<B>
Abstract class for binary interaction datasources- Since:
17/10/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Field Summary
-
Fields inherited from class psidev.psi.mi.jami.xml.model.extension.datasource.AbstractPsiXmlStream
SCHEMA_FEATURE, VALIDATION_FEATURE
-
Fields inherited from interface psidev.psi.mi.jami.datasource.MIFileDataSource
FILE_URI_PREFIX, URL_PREFIX_REGEXP
-
-
Constructor Summary
Constructors Constructor Description AbstractPsiXmlBinaryStream()
Constructor for AbstractPsiXmlBinaryStream.AbstractPsiXmlBinaryStream(File file)
Constructor for AbstractPsiXmlBinaryStream.AbstractPsiXmlBinaryStream(InputStream input)
Constructor for AbstractPsiXmlBinaryStream.AbstractPsiXmlBinaryStream(Reader reader)
Constructor for AbstractPsiXmlBinaryStream.AbstractPsiXmlBinaryStream(URL url)
Constructor for AbstractPsiXmlBinaryStream.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ComplexExpansionMethod<T,B>
getComplexExpansion()
Getter for the fieldcomplexExpansion
.protected void
initialiseExpansionMethod(ComplexExpansionMethod<? extends Interaction,? extends BinaryInteraction> expansionMethod)
initialiseExpansionMethod.-
Methods inherited from class psidev.psi.mi.jami.xml.model.extension.datasource.AbstractPsiXmlStream
close, createXmlIterator, error, fatalError, getElementCache, getFileParserListener, getInteractionsIterator, getInteractorFactory, getParser, initialiseContext, initialiseXmlParser, initialiseXmlParser, initialiseXmlParser, initialiseXmlParser, isInitialised, onAliasWithoutName, onAnnotationWithoutTopic, onInteractionWithoutParticipants, onInvalidOrganismTaxid, onInvalidPosition, onInvalidRange, onInvalidStoichiometry, onInvalidSyntax, onMissingChecksumMethod, onMissingChecksumValue, onMissingConfidenceType, onMissingConfidenceValue, onMissingCvTermName, onMissingInteractorName, onMissingParameterType, onMissingParameterValue, onParticipantWithoutInteractor, onSeveralExperimentalRolesFound, onSeveralExperimentsFound, onSeveralExpressedInOrganismFound, onSeveralHostOrganismFound, onSyntaxWarning, onUnresolvedReference, onXrefWithoutDatabase, onXrefWithoutId, reInit, reset, setFileParserListener, setInteractorFactory, setMIFileParserListener, setParser, setXmlFileParserListener, validateSyntax, validateSyntax, warning
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface psidev.psi.mi.jami.datasource.InteractionStream
getInteractionsIterator
-
Methods inherited from interface psidev.psi.mi.jami.datasource.MIDataSource
close, initialiseContext, reset
-
-
-
-
Constructor Detail
-
AbstractPsiXmlBinaryStream
public AbstractPsiXmlBinaryStream()
Constructor for AbstractPsiXmlBinaryStream.
-
AbstractPsiXmlBinaryStream
public AbstractPsiXmlBinaryStream(File file)
Constructor for AbstractPsiXmlBinaryStream.
- Parameters:
file
- aFile
object.
-
AbstractPsiXmlBinaryStream
public AbstractPsiXmlBinaryStream(InputStream input)
Constructor for AbstractPsiXmlBinaryStream.
- Parameters:
input
- aInputStream
object.
-
AbstractPsiXmlBinaryStream
public AbstractPsiXmlBinaryStream(Reader reader)
Constructor for AbstractPsiXmlBinaryStream.
- Parameters:
reader
- aReader
object.
-
-
Method Detail
-
initialiseExpansionMethod
protected void initialiseExpansionMethod(ComplexExpansionMethod<? extends Interaction,? extends BinaryInteraction> expansionMethod)
initialiseExpansionMethod.
- Specified by:
initialiseExpansionMethod
in classAbstractPsiXmlStream<B extends BinaryInteraction>
- Parameters:
expansionMethod
- aComplexExpansionMethod
object.
-
getComplexExpansion
protected ComplexExpansionMethod<T,B> getComplexExpansion()
Getter for the field
complexExpansion
.- Returns:
- a
ComplexExpansionMethod
object.
-
-