Class XmlBinaryStreamSource
- 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.XmlBinaryStreamSource
-
- All Implemented Interfaces:
ErrorHandler
,BinaryInteractionStream<BinaryInteraction>
,InteractionStream<BinaryInteraction>
,MIDataSource
,MIFileDataSource
,MIFileParserListener
,PsiXmlParserListener
,PsiXmlStreamSource<BinaryInteraction>
public class XmlBinaryStreamSource extends AbstractPsiXmlBinaryStream<Interaction,BinaryInteraction>
Psi-XML mixed 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 XmlBinaryStreamSource()
Constructor for XmlBinaryStreamSource.XmlBinaryStreamSource(File file)
Constructor for XmlBinaryStreamSource.XmlBinaryStreamSource(InputStream input)
Constructor for XmlBinaryStreamSource.XmlBinaryStreamSource(Reader reader)
Constructor for XmlBinaryStreamSource.XmlBinaryStreamSource(URL url)
Constructor for XmlBinaryStreamSource.
-
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
-
XmlBinaryStreamSource
public XmlBinaryStreamSource()
Constructor for XmlBinaryStreamSource.
-
XmlBinaryStreamSource
public XmlBinaryStreamSource(File file)
Constructor for XmlBinaryStreamSource.
- Parameters:
file
- aFile
object.
-
XmlBinaryStreamSource
public XmlBinaryStreamSource(InputStream input)
Constructor for XmlBinaryStreamSource.
- Parameters:
input
- aInputStream
object.
-
XmlBinaryStreamSource
public XmlBinaryStreamSource(Reader reader)
Constructor for XmlBinaryStreamSource.
- 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.
-
-