Package psidev.psi.mi.jami.xml.io.parser
Interface PsiXmlParser<T extends Interaction>
-
- All Known Implementing Classes:
AbstractFullPsiXmlParser,AbstractPsixmlBinaryParser,AbstractPsiXmlParser,FullXmlBinaryEvidenceParser,FullXmlBinaryParser,FullXmlComplexParser,FullXmlEvidenceParser,FullXmlModelledBinaryParser,FullXmlModelledParser,FullXmlParser,LightFullXmlBinaryParser,LightFullXmlParser,LightXmlBinaryParser,LightXmlParser,XmlBinaryEvidenceParser,XmlBinaryParser,XmlComplexParser,XmlEvidenceParser,XmlModelledBinaryParser,XmlModelledParser,XmlParser
public interface PsiXmlParser<T extends Interaction>Interface for PsiXmlParser- Since:
17/10/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()close.XmlInteractorFactorygetInteractorFactory()getInteractorFactory.PsiXmlParserListenergetListener()getListener.PsiXmlVersiongetVersion()getVersion.booleanhasFinished()hasFinished.TparseNextInteraction()parseNextInteraction.voidreInit()reInit.voidsetCacheOfObjects(PsiXmlIdCache indexOfObjects)setCacheOfObjects.voidsetInteractorFactory(XmlInteractorFactory factory)setInteractorFactory.voidsetListener(PsiXmlParserListener listener)setListener.
-
-
-
Method Detail
-
parseNextInteraction
T parseNextInteraction() throws PsiXmlParserException
parseNextInteraction.
- Returns:
- a T object.
- Throws:
PsiXmlParserException- if any.
-
close
void close() throws MIIOExceptionclose.
- Throws:
MIIOException- if any.
-
hasFinished
boolean hasFinished() throws PsiXmlParserExceptionhasFinished.
- Returns:
- a boolean.
- Throws:
PsiXmlParserException- if any.
-
reInit
void reInit() throws MIIOExceptionreInit.
- Throws:
MIIOException- if any.
-
getListener
PsiXmlParserListener getListener()
getListener.
- Returns:
- a
PsiXmlParserListenerobject.
-
setListener
void setListener(PsiXmlParserListener listener)
setListener.
- Parameters:
listener- aPsiXmlParserListenerobject.
-
setCacheOfObjects
void setCacheOfObjects(PsiXmlIdCache indexOfObjects)
setCacheOfObjects.
- Parameters:
indexOfObjects- aPsiXmlIdCacheobject.
-
getVersion
PsiXmlVersion getVersion()
getVersion.
- Returns:
- a
PsiXmlVersionobject.
-
getInteractorFactory
XmlInteractorFactory getInteractorFactory()
getInteractorFactory.
- Returns:
- a
XmlInteractorFactoryobject.
-
setInteractorFactory
void setInteractorFactory(XmlInteractorFactory factory)
setInteractorFactory.
- Parameters:
factory- aXmlInteractorFactoryobject.
-
-