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.UnmarshallercreateJAXBUnmarshaller()createJAXBUnmarshaller.protected voidparseAvailabilityList(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- aFileobject.
-
XmlModelledParser
public XmlModelledParser(InputStream inputStream)
Constructor for XmlModelledParser.
- Parameters:
inputStream- aInputStreamobject.
-
XmlModelledParser
public XmlModelledParser(URL url)
Constructor for XmlModelledParser.
- Parameters:
url- aURLobject.
-
-
Method Detail
-
createJAXBUnmarshaller
protected javax.xml.bind.Unmarshaller createJAXBUnmarshaller() throws javax.xml.bind.JAXBExceptioncreateJAXBUnmarshaller.
- Specified by:
createJAXBUnmarshallerin 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:
parseAvailabilityListin classAbstractPsiXmlParser<ModelledInteraction>- Parameters:
entryContext- aXmlEntryContextobject.- Throws:
PsiXmlParserException- if any.
-
-