franta-hg@43: /**
franta-hg@43: * Alt2XML
franta-hg@43: * Copyright © 2014 František Kučera (frantovo.cz)
franta-hg@43: *
franta-hg@43: * This program is free software: you can redistribute it and/or modify
franta-hg@43: * it under the terms of the GNU General Public License as published by
franta-hg@111: * the Free Software Foundation, version 3 of the License.
franta-hg@43: *
franta-hg@43: * This program is distributed in the hope that it will be useful,
franta-hg@43: * but WITHOUT ANY WARRANTY; without even the implied warranty of
franta-hg@43: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
franta-hg@43: * GNU General Public License for more details.
franta-hg@43: *
franta-hg@43: * You should have received a copy of the GNU General Public License
franta-hg@43: * along with this program. If not, see .
franta-hg@43: */
franta-hg@43: package cz.frantovo.alt2xml.out;
franta-hg@43:
franta-hg@43: import java.io.OutputStream;
franta-hg@64: import java.util.List;
franta-hg@64: import java.util.Properties;
franta-hg@43:
franta-hg@43: /**
franta-hg@43: * Context for one action instance.
franta-hg@43: *
franta-hg@43: * @author Ing. František Kučera (frantovo.cz)
franta-hg@43: */
franta-hg@43: public class ActionContext {
franta-hg@43:
franta-hg@64: private final OutputStream outputStream;
franta-hg@64: private Properties actionProperties;
franta-hg@64: private List actionData;
franta-hg@43:
franta-hg@43: public ActionContext(OutputStream outputStream) {
franta-hg@43: this.outputStream = outputStream;
franta-hg@43: }
franta-hg@43:
franta-hg@43: public OutputStream getOutputStream() {
franta-hg@43: return outputStream;
franta-hg@43: }
franta-hg@43:
franta-hg@64: public Properties getActionProperties() {
franta-hg@64: return actionProperties;
franta-hg@64: }
franta-hg@64:
franta-hg@64: public void setActionProperties(Properties actionProperties) {
franta-hg@64: this.actionProperties = actionProperties;
franta-hg@64: }
franta-hg@64:
franta-hg@64: public List getActionData() {
franta-hg@64: return actionData;
franta-hg@64: }
franta-hg@64:
franta-hg@64: public void setActionData(List actionData) {
franta-hg@64: this.actionData = actionData;
franta-hg@64: }
franta-hg@64:
franta-hg@43: }