@Override protected XMLSplitterConfigurationBean createConfigType(Processor processor) throws ActivityTranslationException { XMLSplitterConfigurationBean bean = new XMLSplitterConfigurationBean(); populateConfigurationBeanPortDetails(processor, bean); //TODO: doing this with introspection would remove the dependency on taverna-java-processor LocalServiceProcessor localServiceProcessor = (LocalServiceProcessor)processor; Element element = ((XMLExtensible)localServiceProcessor.getWorker()).provideXML(); String xml = new XMLOutputter().outputString(element); bean.setWrappedTypeXML(xml); return bean; }
@Override protected XMLSplitterConfigurationBean createConfigType(Processor processor) throws ActivityTranslationException { XMLSplitterConfigurationBean bean = new XMLSplitterConfigurationBean(); populateConfigurationBeanPortDetails(processor, bean); //TODO: doing this with introspection would remove the dependency on taverna-java-processor LocalServiceProcessor localServiceProcessor = (LocalServiceProcessor)processor; Element element = ((XMLExtensible)localServiceProcessor.getWorker()).provideXML(); String xml = new XMLOutputter().outputString(element); bean.setWrappedTypeXML(xml); return bean; }
@Override protected XMLSplitterConfigurationBean createConfigType(Processor processor) throws ActivityTranslationException { XMLSplitterConfigurationBean bean = new XMLSplitterConfigurationBean(); populateConfigurationBeanPortDetails(processor, bean); LocalServiceProcessor localServiceProcessor = (LocalServiceProcessor)processor; //TODO: doing this with introspection would remove the dependency on taverna-java-processor Element element = ((XMLExtensible)localServiceProcessor.getWorker()).provideXML(); String xml = new XMLOutputter().outputString(element); bean.setWrappedTypeXML(xml); return bean; }
@Override protected XMLSplitterConfigurationBean createConfigType(Processor processor) throws ActivityTranslationException { XMLSplitterConfigurationBean bean = new XMLSplitterConfigurationBean(); populateConfigurationBeanPortDetails(processor, bean); LocalServiceProcessor localServiceProcessor = (LocalServiceProcessor)processor; //TODO: doing this with introspection would remove the dependency on taverna-java-processor Element element = ((XMLExtensible)localServiceProcessor.getWorker()).provideXML(); String xml = new XMLOutputter().outputString(element); bean.setWrappedTypeXML(xml); return bean; }
@Override protected XMLSplitterConfigurationBean createConfigType(Processor processor) throws ActivityTranslationException { XMLSplitterConfigurationBean bean = new XMLSplitterConfigurationBean(); populateConfigurationBeanPortDetails(processor, bean); LocalServiceProcessor localServiceProcessor = (LocalServiceProcessor)processor; //TODO: doing this with introspection would remove the dependency on taverna-java-processor Element element = ((XMLExtensible)localServiceProcessor.getWorker()).provideXML(); String xml = new XMLOutputter().outputString(element); bean.setWrappedTypeXML(xml); return bean; }
@Override protected XMLSplitterConfigurationBean createConfigType(Processor processor) throws ActivityTranslationException { XMLSplitterConfigurationBean bean = new XMLSplitterConfigurationBean(); populateConfigurationBeanPortDetails(processor, bean); //TODO: doing this with introspection would remove the dependency on taverna-java-processor LocalServiceProcessor localServiceProcessor = (LocalServiceProcessor)processor; Element element = ((XMLExtensible)localServiceProcessor.getWorker()).provideXML(); String xml = new XMLOutputter().outputString(element); bean.setWrappedTypeXML(xml); return bean; }