Class XmlModelledBinaryStreamSource
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.datasource.AbstractPsiXmlStream<B>
-
- psidev.psi.mi.jami.xml.model.extension.datasource.AbstractPsiXmlBinaryStream<ModelledInteraction,ModelledBinaryInteraction>
-
- psidev.psi.mi.jami.xml.model.extension.datasource.XmlModelledBinaryStreamSource
-
- All Implemented Interfaces:
ErrorHandler
,BinaryInteractionStream<ModelledBinaryInteraction>
,InteractionStream<ModelledBinaryInteraction>
,MIDataSource
,MIFileDataSource
,ModelledBinaryInteractionStream
,ModelledInteractionStream<ModelledBinaryInteraction>
,MIFileParserListener
,PsiXmlParserListener
,PsiXmlStreamSource<ModelledBinaryInteraction>
public class XmlModelledBinaryStreamSource extends AbstractPsiXmlBinaryStream<ModelledInteraction,ModelledBinaryInteraction> implements ModelledBinaryInteractionStream
Psi-xml datasource for modelled binary interactions- 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 XmlModelledBinaryStreamSource()
Constructor for XmlModelledBinaryStreamSource.XmlModelledBinaryStreamSource(File file)
Constructor for XmlModelledBinaryStreamSource.XmlModelledBinaryStreamSource(InputStream input)
Constructor for XmlModelledBinaryStreamSource.XmlModelledBinaryStreamSource(Reader reader)
Constructor for XmlModelledBinaryStreamSource.XmlModelledBinaryStreamSource(URL url)
Constructor for XmlModelledBinaryStreamSource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Iterator<ModelledBinaryInteraction>
createXmlIterator()
createXmlIterator.protected void
initialiseXmlParser(File file)
initialiseXmlParser.protected void
initialiseXmlParser(InputStream input)
initialiseXmlParser.protected void
initialiseXmlParser(Reader reader)
initialiseXmlParser.protected void
initialiseXmlParser(URL url)
initialiseXmlParser.-
Methods inherited from class psidev.psi.mi.jami.xml.model.extension.datasource.AbstractPsiXmlBinaryStream
getComplexExpansion, initialiseExpansionMethod
-
Methods inherited from class psidev.psi.mi.jami.xml.model.extension.datasource.AbstractPsiXmlStream
close, error, fatalError, getElementCache, getFileParserListener, getInteractionsIterator, getInteractorFactory, getParser, initialiseContext, 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
-
XmlModelledBinaryStreamSource
public XmlModelledBinaryStreamSource()
Constructor for XmlModelledBinaryStreamSource.
-
XmlModelledBinaryStreamSource
public XmlModelledBinaryStreamSource(File file)
Constructor for XmlModelledBinaryStreamSource.
- Parameters:
file
- aFile
object.
-
XmlModelledBinaryStreamSource
public XmlModelledBinaryStreamSource(InputStream input)
Constructor for XmlModelledBinaryStreamSource.
- Parameters:
input
- aInputStream
object.
-
XmlModelledBinaryStreamSource
public XmlModelledBinaryStreamSource(Reader reader)
Constructor for XmlModelledBinaryStreamSource.
- Parameters:
reader
- aReader
object.
-
-
Method Detail
-
initialiseXmlParser
protected void initialiseXmlParser(Reader reader)
initialiseXmlParser.
- Specified by:
initialiseXmlParser
in classAbstractPsiXmlStream<ModelledBinaryInteraction>
- Parameters:
reader
- aReader
object.
-
initialiseXmlParser
protected void initialiseXmlParser(File file)
initialiseXmlParser.
- Specified by:
initialiseXmlParser
in classAbstractPsiXmlStream<ModelledBinaryInteraction>
- Parameters:
file
- aFile
object.
-
initialiseXmlParser
protected void initialiseXmlParser(InputStream input)
initialiseXmlParser.
- Specified by:
initialiseXmlParser
in classAbstractPsiXmlStream<ModelledBinaryInteraction>
- Parameters:
input
- aInputStream
object.
-
initialiseXmlParser
protected void initialiseXmlParser(URL url)
initialiseXmlParser.
- Specified by:
initialiseXmlParser
in classAbstractPsiXmlStream<ModelledBinaryInteraction>
- Parameters:
url
- aURL
object.
-
createXmlIterator
protected Iterator<ModelledBinaryInteraction> createXmlIterator()
createXmlIterator.
- Specified by:
createXmlIterator
in classAbstractPsiXmlStream<ModelledBinaryInteraction>
- Returns:
- a
Iterator
object.
-
-