Package psidev.psi.mi.jami.xml.io.parser
Class LightXmlParser
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.parser.AbstractPsiXmlParser<Interaction>
-
- psidev.psi.mi.jami.xml.io.parser.LightXmlParser
-
- All Implemented Interfaces:
PsiXmlParser<Interaction>
public class LightXmlParser extends AbstractPsiXmlParser<Interaction>
Parser generating basic interaction objects and ignore experimental details- Since:
16/10/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description LightXmlParser(File file)
Constructor for LightXmlParser.LightXmlParser(InputStream inputStream)
Constructor for LightXmlParser.LightXmlParser(Reader reader)
Constructor for LightXmlParser.LightXmlParser(URL url)
Constructor for LightXmlParser.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.xml.bind.Unmarshaller
createJAXBUnmarshaller()
createJAXBUnmarshaller.protected void
parseAvailabilityList(XmlEntryContext entryContext)
parseAvailabilityList.protected void
parseExperimentList()
parseExperimentList.-
Methods inherited from class psidev.psi.mi.jami.xml.io.parser.AbstractPsiXmlParser
close, containsUnresolvedReferences, createPsiXmlExceptionFrom, getCurrentElement, getInteractorFactory, getListener, getNextPsiXmlStartElement, getStreamReader, getVersion, hasFinished, loadEntry, parseAttributeList, parseInteractionList, parseInteractionTag, parseInteractorList, parseNextInteraction, parseNextPreLoadedInteraction, parseSource, processAvailabilityList, processEntry, processEntryAndLoadNextInteraction, processUnexpectedNode, reInit, setCacheOfObjects, setCurrentElement, setInteractorFactory, setListener, skipNextElement, unmarshallInteraction
-
-
-
-
Constructor Detail
-
LightXmlParser
public LightXmlParser(File file)
Constructor for LightXmlParser.
- Parameters:
file
- aFile
object.
-
LightXmlParser
public LightXmlParser(InputStream inputStream)
Constructor for LightXmlParser.
- Parameters:
inputStream
- aInputStream
object.
-
LightXmlParser
public LightXmlParser(URL url)
Constructor for LightXmlParser.
- Parameters:
url
- aURL
object.
-
-
Method Detail
-
createJAXBUnmarshaller
protected javax.xml.bind.Unmarshaller createJAXBUnmarshaller() throws javax.xml.bind.JAXBException
createJAXBUnmarshaller.
- Specified by:
createJAXBUnmarshaller
in classAbstractPsiXmlParser<Interaction>
- Returns:
- the unmarshaller with the class context
- Throws:
javax.xml.bind.JAXBException
- if any.
-
parseExperimentList
protected void parseExperimentList() throws PsiXmlParserException
parseExperimentList.
- Overrides:
parseExperimentList
in classAbstractPsiXmlParser<Interaction>
- Throws:
PsiXmlParserException
- if any.
-
parseAvailabilityList
protected void parseAvailabilityList(XmlEntryContext entryContext) throws PsiXmlParserException
parseAvailabilityList.
- Overrides:
parseAvailabilityList
in classAbstractPsiXmlParser<Interaction>
- Parameters:
entryContext
- aXmlEntryContext
object.- Throws:
PsiXmlParserException
- if any.
-
-