Package psidev.psi.mi.jami.xml.io.parser
Class XmlBinaryParser
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.parser.AbstractPsixmlBinaryParser<Interaction,BinaryInteraction>
-
- psidev.psi.mi.jami.xml.io.parser.XmlBinaryParser
-
- All Implemented Interfaces:
PsiXmlParser<BinaryInteraction>
public class XmlBinaryParser extends AbstractPsixmlBinaryParser<Interaction,BinaryInteraction>
Xml parser creating binary interactions that can be a mix of interaction evidences and abstract interactions- Since:
16/10/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlBinaryParser(File file)
Constructor for XmlBinaryParser.XmlBinaryParser(InputStream inputStream)
Constructor for XmlBinaryParser.XmlBinaryParser(Reader reader)
Constructor for XmlBinaryParser.XmlBinaryParser(URL url)
Constructor for XmlBinaryParser.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ComplexExpansionMethod<Interaction,BinaryInteraction>
initialiseDefaultExpansionMethod()
initialiseDefaultExpansionMethod.-
Methods inherited from class psidev.psi.mi.jami.xml.io.parser.AbstractPsixmlBinaryParser
close, getDelegateParser, getExpansionMethod, getInteractorFactory, getListener, getVersion, hasFinished, instantiateInteractionFactory, parseNextInteraction, reInit, setCacheOfObjects, setExpansionMethod, setInteractorFactory, setListener
-
-
-
-
Constructor Detail
-
XmlBinaryParser
public XmlBinaryParser(File file) throws FileNotFoundException, XMLStreamException, javax.xml.bind.JAXBException
Constructor for XmlBinaryParser.
- Parameters:
file
- aFile
object.- Throws:
FileNotFoundException
- if any.XMLStreamException
- if any.javax.xml.bind.JAXBException
- if any.
-
XmlBinaryParser
public XmlBinaryParser(InputStream inputStream) throws XMLStreamException, javax.xml.bind.JAXBException
Constructor for XmlBinaryParser.
- Parameters:
inputStream
- aInputStream
object.- Throws:
XMLStreamException
- if any.javax.xml.bind.JAXBException
- if any.
-
XmlBinaryParser
public XmlBinaryParser(URL url) throws IOException, XMLStreamException, javax.xml.bind.JAXBException
Constructor for XmlBinaryParser.
- Parameters:
url
- aURL
object.- Throws:
IOException
- if any.XMLStreamException
- if any.javax.xml.bind.JAXBException
- if any.
-
XmlBinaryParser
public XmlBinaryParser(Reader reader) throws XMLStreamException, javax.xml.bind.JAXBException
Constructor for XmlBinaryParser.
- Parameters:
reader
- aReader
object.- Throws:
XMLStreamException
- if any.javax.xml.bind.JAXBException
- if any.
-
-
Method Detail
-
initialiseDefaultExpansionMethod
protected ComplexExpansionMethod<Interaction,BinaryInteraction> initialiseDefaultExpansionMethod()
initialiseDefaultExpansionMethod.
- Specified by:
initialiseDefaultExpansionMethod
in classAbstractPsixmlBinaryParser<Interaction,BinaryInteraction>
- Returns:
- a
ComplexExpansionMethod
object.
-
-