1 19 20 package org.openharmonise.rm.publishing; 21 22 23 import org.openharmonise.rm.PopulateException; 24 import org.openharmonise.rm.resources.publishing.Template; 25 import org.w3c.dom.Element ; 26 27 28 36 public interface Publishable { 37 38 public final static String TAG_ERROR = "Error"; 39 public static final String TAG_AVAILABLEOPTIONS = "AvailableOptions"; 40 41 50 public Element publish(Template template, HarmoniseOutput output, 51 State state) throws PublishException; 52 53 62 public Element publish(Element topEl, HarmoniseOutput output, 63 State state) throws PublishException; 64 65 72 public void populate(Element xmlElement, State state) 73 throws PopulateException; 74 75 79 public String getTagName(); 80 81 } | Popular Tags |