Class LightXmlBinaryStreamSource
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.datasource.AbstractPsiXmlStream<B>
-
- psidev.psi.mi.jami.xml.model.extension.datasource.AbstractPsiXmlBinaryStream<Interaction,BinaryInteraction>
-
- psidev.psi.mi.jami.xml.model.extension.datasource.LightXmlBinaryStreamSource
-
- All Implemented Interfaces:
ErrorHandler
,BinaryInteractionStream<BinaryInteraction>
,InteractionStream<BinaryInteraction>
,MIDataSource
,MIFileDataSource
,MIFileParserListener
,PsiXmlParserListener
,PsiXmlStreamSource<BinaryInteraction>
public class LightXmlBinaryStreamSource extends AbstractPsiXmlBinaryStream<Interaction,BinaryInteraction>
Psi-XML binary interaction datasource- 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 LightXmlBinaryStreamSource()
Constructor for LightXmlBinaryStreamSource.LightXmlBinaryStreamSource(File file)
Constructor for LightXmlBinaryStreamSource.LightXmlBinaryStreamSource(InputStream input)
Constructor for LightXmlBinaryStreamSource.LightXmlBinaryStreamSource(Reader reader)
Constructor for LightXmlBinaryStreamSource.LightXmlBinaryStreamSource(URL url)
Constructor for LightXmlBinaryStreamSource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Iterator<BinaryInteraction>
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
-
LightXmlBinaryStreamSource
public LightXmlBinaryStreamSource()
Constructor for LightXmlBinaryStreamSource.
-
LightXmlBinaryStreamSource
public LightXmlBinaryStreamSource(File file)
Constructor for LightXmlBinaryStreamSource.
- Parameters:
file
- aFile
object.
-
LightXmlBinaryStreamSource
public LightXmlBinaryStreamSource(InputStream input)
Constructor for LightXmlBinaryStreamSource.
- Parameters:
input
- aInputStream
object.
-
LightXmlBinaryStreamSource
public LightXmlBinaryStreamSource(Reader reader)
Constructor for LightXmlBinaryStreamSource.
- Parameters:
reader
- aReader
object.
-
-
Method Detail
-
initialiseXmlParser
protected void initialiseXmlParser(Reader reader)
initialiseXmlParser.
- Specified by:
initialiseXmlParser
in classAbstractPsiXmlStream<BinaryInteraction>
- Parameters:
reader
- aReader
object.
-
initialiseXmlParser
protected void initialiseXmlParser(File file)
initialiseXmlParser.
- Specified by:
initialiseXmlParser
in classAbstractPsiXmlStream<BinaryInteraction>
- Parameters:
file
- aFile
object.
-
initialiseXmlParser
protected void initialiseXmlParser(InputStream input)
initialiseXmlParser.
- Specified by:
initialiseXmlParser
in classAbstractPsiXmlStream<BinaryInteraction>
- Parameters:
input
- aInputStream
object.
-
initialiseXmlParser
protected void initialiseXmlParser(URL url)
initialiseXmlParser.
- Specified by:
initialiseXmlParser
in classAbstractPsiXmlStream<BinaryInteraction>
- Parameters:
url
- aURL
object.
-
createXmlIterator
protected Iterator<BinaryInteraction> createXmlIterator()
createXmlIterator.
- Specified by:
createXmlIterator
in classAbstractPsiXmlStream<BinaryInteraction>
- Returns:
- a
Iterator
object.
-
-