Package org.gephi.appearance
Class AppearanceModelPersistenceProvider
- java.lang.Object
-
- org.gephi.appearance.AppearanceModelPersistenceProvider
-
- All Implemented Interfaces:
org.gephi.project.spi.WorkspacePersistenceProvider,org.gephi.project.spi.WorkspaceXMLPersistenceProvider
public class AppearanceModelPersistenceProvider extends Object implements org.gephi.project.spi.WorkspaceXMLPersistenceProvider
-
-
Constructor Summary
Constructors Constructor Description AppearanceModelPersistenceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIdentifier()protected voidreadInterpolator(XMLStreamReader reader, RankingImpl ranking)protected voidreadPartitions(XMLStreamReader reader, PartitionImpl[] partitions)protected voidreadRankings(XMLStreamReader reader, RankingImpl[] rankings)voidreadXML(XMLStreamReader reader, AppearanceModelImpl model)voidreadXML(XMLStreamReader reader, org.gephi.project.api.Workspace workspace)protected voidwriteInterpolator(XMLStreamWriter writer, Interpolator interpolator)protected voidwritePartitions(XMLStreamWriter writer, PartitionImpl[] partitions, String elementClass)protected voidwriteRankings(XMLStreamWriter writer, RankingImpl[] rankings, String elementClass)protected voidwriteXML(XMLStreamWriter writer, AppearanceModelImpl model)voidwriteXML(XMLStreamWriter writer, org.gephi.project.api.Workspace workspace)
-
-
-
Method Detail
-
writeXML
public void writeXML(XMLStreamWriter writer, org.gephi.project.api.Workspace workspace)
- Specified by:
writeXMLin interfaceorg.gephi.project.spi.WorkspaceXMLPersistenceProvider
-
readXML
public void readXML(XMLStreamReader reader, org.gephi.project.api.Workspace workspace)
- Specified by:
readXMLin interfaceorg.gephi.project.spi.WorkspaceXMLPersistenceProvider
-
getIdentifier
public String getIdentifier()
- Specified by:
getIdentifierin interfaceorg.gephi.project.spi.WorkspacePersistenceProvider
-
writeXML
protected void writeXML(XMLStreamWriter writer, AppearanceModelImpl model) throws XMLStreamException
- Throws:
XMLStreamException
-
readXML
public void readXML(XMLStreamReader reader, AppearanceModelImpl model) throws XMLStreamException
- Throws:
XMLStreamException
-
writeRankings
protected void writeRankings(XMLStreamWriter writer, RankingImpl[] rankings, String elementClass) throws XMLStreamException
- Throws:
XMLStreamException
-
readRankings
protected void readRankings(XMLStreamReader reader, RankingImpl[] rankings) throws XMLStreamException
- Throws:
XMLStreamException
-
writeInterpolator
protected void writeInterpolator(XMLStreamWriter writer, Interpolator interpolator) throws XMLStreamException
- Throws:
XMLStreamException
-
readInterpolator
protected void readInterpolator(XMLStreamReader reader, RankingImpl ranking)
-
writePartitions
protected void writePartitions(XMLStreamWriter writer, PartitionImpl[] partitions, String elementClass) throws XMLStreamException
- Throws:
XMLStreamException
-
readPartitions
protected void readPartitions(XMLStreamReader reader, PartitionImpl[] partitions) throws XMLStreamException
- Throws:
XMLStreamException
-
-