Package psidev.psi.mi.jami.xml.io.parser
Class FullXmlModelledParser
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.parser.AbstractFullPsiXmlParser<ModelledInteraction>
-
- psidev.psi.mi.jami.xml.io.parser.FullXmlModelledParser
-
- All Implemented Interfaces:
FullPsiXmlParser<ModelledInteraction>
,PsiXmlParser<ModelledInteraction>
public class FullXmlModelledParser extends AbstractFullPsiXmlParser<ModelledInteraction>
Full Parser generating modelled interaction objects and ignore 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 FullXmlModelledParser(File file)
Constructor for FullXmlModelledParser.FullXmlModelledParser(InputStream inputStream)
Constructor for FullXmlModelledParser.FullXmlModelledParser(Reader reader)
Constructor for FullXmlModelledParser.FullXmlModelledParser(URL url)
Constructor for FullXmlModelledParser.
-
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
-
FullXmlModelledParser
public FullXmlModelledParser(File file) throws javax.xml.bind.JAXBException, FileNotFoundException
Constructor for FullXmlModelledParser.
- Parameters:
file
- aFile
object.- Throws:
javax.xml.bind.JAXBException
- if any.FileNotFoundException
- if any.
-
FullXmlModelledParser
public FullXmlModelledParser(InputStream inputStream) throws javax.xml.bind.JAXBException
Constructor for FullXmlModelledParser.
- Parameters:
inputStream
- aInputStream
object.- Throws:
javax.xml.bind.JAXBException
- if any.
-
FullXmlModelledParser
public FullXmlModelledParser(Reader reader) throws javax.xml.bind.JAXBException
Constructor for FullXmlModelledParser.
- Parameters:
reader
- aReader
object.- Throws:
javax.xml.bind.JAXBException
- if any.
-
FullXmlModelledParser
public FullXmlModelledParser(URL url) throws IOException, javax.xml.bind.JAXBException
Constructor for FullXmlModelledParser.
- 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<ModelledInteraction>
- Returns:
- a
Unmarshaller
object. - Throws:
javax.xml.bind.JAXBException
- if any.
-
-