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