Package psidev.psi.mi.jami.xml.io.parser
Class FullXmlComplexParser
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.parser.AbstractFullPsiXmlParser<Complex>
-
- psidev.psi.mi.jami.xml.io.parser.FullXmlComplexParser
-
- All Implemented Interfaces:
FullPsiXmlParser<Complex>,PsiXmlParser<Complex>
public class FullXmlComplexParser extends AbstractFullPsiXmlParser<Complex>
Full Parser generating biological complex 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 FullXmlComplexParser(File file)Constructor for FullXmlComplexParser.FullXmlComplexParser(InputStream inputStream)Constructor for FullXmlComplexParser.FullXmlComplexParser(Reader reader)Constructor for FullXmlComplexParser.FullXmlComplexParser(URL url)Constructor for FullXmlComplexParser.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.xml.bind.UnmarshallercreateJAXBUnmarshaller()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
-
FullXmlComplexParser
public FullXmlComplexParser(File file) throws javax.xml.bind.JAXBException, FileNotFoundException
Constructor for FullXmlComplexParser.
- Parameters:
file- aFileobject.- Throws:
javax.xml.bind.JAXBException- if any.FileNotFoundException- if any.
-
FullXmlComplexParser
public FullXmlComplexParser(InputStream inputStream) throws javax.xml.bind.JAXBException
Constructor for FullXmlComplexParser.
- Parameters:
inputStream- aInputStreamobject.- Throws:
javax.xml.bind.JAXBException- if any.
-
FullXmlComplexParser
public FullXmlComplexParser(Reader reader) throws javax.xml.bind.JAXBException
Constructor for FullXmlComplexParser.
- Parameters:
reader- aReaderobject.- Throws:
javax.xml.bind.JAXBException- if any.
-
FullXmlComplexParser
public FullXmlComplexParser(URL url) throws IOException, javax.xml.bind.JAXBException
Constructor for FullXmlComplexParser.
- Parameters:
url- aURLobject.- Throws:
IOException- if any.javax.xml.bind.JAXBException- if any.
-
-
Method Detail
-
createJAXBUnmarshaller
protected javax.xml.bind.Unmarshaller createJAXBUnmarshaller() throws javax.xml.bind.JAXBExceptioncreateJAXBUnmarshaller.
- Specified by:
createJAXBUnmarshallerin classAbstractFullPsiXmlParser<Complex>- Returns:
- a
Unmarshallerobject. - Throws:
javax.xml.bind.JAXBException- if any.
-
-