Package psidev.psi.mi.jami.xml.io.parser
Class FullXmlEvidenceParser
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.parser.AbstractFullPsiXmlParser<InteractionEvidence>
-
- psidev.psi.mi.jami.xml.io.parser.FullXmlEvidenceParser
-
- All Implemented Interfaces:
FullPsiXmlParser<InteractionEvidence>
,PsiXmlParser<InteractionEvidence>
public class FullXmlEvidenceParser extends AbstractFullPsiXmlParser<InteractionEvidence>
Full Parser generating interaction evidence objects and loading all experimental details. It will load the all entrySet so is consuming a lot of memory in case of large files but is very performant for small files- Since:
08/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description FullXmlEvidenceParser(File file)
Constructor for FullXmlEvidenceParser.FullXmlEvidenceParser(InputStream inputStream)
Constructor for FullXmlEvidenceParser.FullXmlEvidenceParser(Reader reader)
Constructor for FullXmlEvidenceParser.FullXmlEvidenceParser(URL url)
Constructor for FullXmlEvidenceParser.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.xml.bind.Unmarshaller
createJAXBUnmarshaller()
createJAXBUnmarshaller.-
Methods inherited from class psidev.psi.mi.jami.xml.io.parser.AbstractFullPsiXmlParser
close, createPsiXmlExceptionFrom, getEntrySet, getInteractorFactory, getListener, getVersion, hasFinished, parseEntrySet, parseNextInteraction, reInit, setCacheOfObjects, setInteractorFactory, setListener
-
-
-
-
Constructor Detail
-
FullXmlEvidenceParser
public FullXmlEvidenceParser(File file) throws javax.xml.bind.JAXBException, FileNotFoundException
Constructor for FullXmlEvidenceParser.
- Parameters:
file
- aFile
object.- Throws:
javax.xml.bind.JAXBException
- if any.FileNotFoundException
- if any.
-
FullXmlEvidenceParser
public FullXmlEvidenceParser(InputStream inputStream) throws javax.xml.bind.JAXBException
Constructor for FullXmlEvidenceParser.
- Parameters:
inputStream
- aInputStream
object.- Throws:
javax.xml.bind.JAXBException
- if any.
-
FullXmlEvidenceParser
public FullXmlEvidenceParser(URL url) throws IOException, javax.xml.bind.JAXBException
Constructor for FullXmlEvidenceParser.
- Parameters:
url
- aURL
object.- Throws:
IOException
- if any.javax.xml.bind.JAXBException
- if any.
-
-
Method Detail
-
createJAXBUnmarshaller
protected javax.xml.bind.Unmarshaller createJAXBUnmarshaller() throws javax.xml.bind.JAXBException
createJAXBUnmarshaller.
- Specified by:
createJAXBUnmarshaller
in classAbstractFullPsiXmlParser<InteractionEvidence>
- Returns:
- a
Unmarshaller
object. - Throws:
javax.xml.bind.JAXBException
- if any.
-
-