01: /*
02: * JFolder, Copyright 2001-2006 Gary Steinmetz
03: *
04: * Distributable under LGPL license.
05: * See terms of license at gnu.org.
06: */
07:
08: package org.jfolder.services.workflow;
09:
10: //base classes
11: import java.io.File;
12: import java.io.IOException;
13: import java.net.URL;
14: import java.util.Collection;
15: import java.util.HashMap;
16: import java.util.Iterator;
17: import javax.xml.parsers.ParserConfigurationException;
18: import org.w3c.dom.Document;
19: import org.w3c.dom.Element;
20: import org.w3c.dom.Node;
21: import org.w3c.dom.NodeList;
22: import org.xml.sax.SAXException;
23:
24: //project specific classes
25: import org.jfolder.common.UnexpectedSystemException;
26: import org.jfolder.common.tagging.ConceptTagCharacteristic;
27: import org.jfolder.common.tagging.ConceptTagCharacteristicHolder;
28: import org.jfolder.common.tagging.ConceptTagMenuBranch;
29: import org.jfolder.common.tagging.ConceptTagMenuContext;
30: import org.jfolder.common.tagging.ConceptTagPreferences;
31: import org.jfolder.common.tagging.ConceptTagSetContext;
32: import org.jfolder.common.tagging.ConceptTagSetHolder;
33: import org.jfolder.common.tagging.RootConceptTagHolder;
34: import org.jfolder.common.utils.misc.MiscHelper;
35: import org.jfolder.common.utils.xml.LinearXPath;
36: import org.jfolder.common.utils.xml.LinearXPathHelper;
37: import org.jfolder.common.utils.xml.XMLHelper;
38: import org.jfolder.config.instance.ConfigInstance;
39: import org.jfolder.config.instance.ConfigInstanceConfig;
40: import org.jfolder.config.instance.ConfigInstanceTagHelper;
41:
42: //other classes
43:
44: public class WorkflowServiceCallerFactory {
45:
46: private WorkflowServiceCallerFactory() {
47: }
48:
49: public final static WorkflowServiceCaller getWorkflowServiceCaller(
50: URL inUrl) {
51: return new WorkflowServiceCallerBean(inUrl);
52: }
53:
54: public final static WorkflowService getWorkflowService() {
55: return new WorkflowServiceBean();
56: }
57: }
|