public abstract class Producer extends Object
Producer p = new WhatEverProducer (); p.init (connections, docA, docB); String output = p.produce ();
Modifier and Type | Field and Description |
---|---|
protected SimpleConnectionManager |
conMgmt
The connection manager.
|
protected de.unirostock.sems.xmlutils.ds.TreeDocument |
docA
The original version.
|
protected de.unirostock.sems.xmlutils.ds.TreeDocument |
docB
The modified version.
|
Constructor and Description |
---|
Producer() |
Modifier and Type | Method and Description |
---|---|
void |
init(SimpleConnectionManager conMgmt,
de.unirostock.sems.xmlutils.ds.TreeDocument docA,
de.unirostock.sems.xmlutils.ds.TreeDocument docB)
Initializes the producer.
|
abstract String |
produce()
Produce the output.
|
protected SimpleConnectionManager conMgmt
protected de.unirostock.sems.xmlutils.ds.TreeDocument docA
protected de.unirostock.sems.xmlutils.ds.TreeDocument docB
public void init(SimpleConnectionManager conMgmt, de.unirostock.sems.xmlutils.ds.TreeDocument docA, de.unirostock.sems.xmlutils.ds.TreeDocument docB)
conMgmt
- the connection managerdocA
- the original documentdocB
- the modified documentpublic abstract String produce()
Copyright © 2019 SEMS project @ University of Rostock. All rights reserved.