001package org.biopax.paxtools.io.sbgn; 002 003import org.biopax.paxtools.model.level3.EntityFeature; 004import org.sbgn.bindings.Glyph; 005import org.sbgn.bindings.ObjectFactory; 006 007/** 008 * Generates a State class representing an entity feature. 009 * 010 * @author Ozgun Babur 011 */ 012public interface FeatureDecorator 013{ 014 /** 015 * Creates the State for the given EntityFeature. 016 * @param ef the feature 017 * @param factory factory that can create State class 018 * @return State representing the feature 019 */ 020 public Glyph.State createStateVar(EntityFeature ef, ObjectFactory factory); 021}