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 void
close()
close.XmlInteractorFactory
getInteractorFactory()
getInteractorFactory.PsiXmlParserListener
getListener()
getListener.PsiXmlVersion
getVersion()
getVersion.boolean
hasFinished()
hasFinished.T
parseNextInteraction()
parseNextInteraction.void
reInit()
reInit.void
setCacheOfObjects(PsiXmlIdCache indexOfObjects)
setCacheOfObjects.void
setInteractorFactory(XmlInteractorFactory factory)
setInteractorFactory.void
setListener(PsiXmlParserListener listener)
setListener.
-
-
-
Method Detail
-
parseNextInteraction
T parseNextInteraction() throws PsiXmlParserException
parseNextInteraction.
- Returns:
- a T object.
- Throws:
PsiXmlParserException
- if any.
-
close
void close() throws MIIOException
close.
- Throws:
MIIOException
- if any.
-
hasFinished
boolean hasFinished() throws PsiXmlParserException
hasFinished.
- Returns:
- a boolean.
- Throws:
PsiXmlParserException
- if any.
-
reInit
void reInit() throws MIIOException
reInit.
- Throws:
MIIOException
- if any.
-
getListener
PsiXmlParserListener getListener()
getListener.
- Returns:
- a
PsiXmlParserListener
object.
-
setListener
void setListener(PsiXmlParserListener listener)
setListener.
- Parameters:
listener
- aPsiXmlParserListener
object.
-
setCacheOfObjects
void setCacheOfObjects(PsiXmlIdCache indexOfObjects)
setCacheOfObjects.
- Parameters:
indexOfObjects
- aPsiXmlIdCache
object.
-
getVersion
PsiXmlVersion getVersion()
getVersion.
- Returns:
- a
PsiXmlVersion
object.
-
getInteractorFactory
XmlInteractorFactory getInteractorFactory()
getInteractorFactory.
- Returns:
- a
XmlInteractorFactory
object.
-
setInteractorFactory
void setInteractorFactory(XmlInteractorFactory factory)
setInteractorFactory.
- Parameters:
factory
- aXmlInteractorFactory
object.
-
-