java/alt2xml-lib-output/src/cz/frantovo/alt2xml/out/AbstractAction.java
author František Kučera <franta-hg@frantovo.cz>
Thu, 24 Oct 2019 21:56:03 +0200
changeset 111 e4900596abdb
parent 63 89acb486bb52
permissions -rw-r--r--
fix license version: GNU GPLv3
franta-hg@43
     1
/**
franta-hg@43
     2
 * Alt2XML
franta-hg@43
     3
 * Copyright © 2014 František Kučera (frantovo.cz)
franta-hg@43
     4
 *
franta-hg@43
     5
 * This program is free software: you can redistribute it and/or modify
franta-hg@43
     6
 * it under the terms of the GNU General Public License as published by
franta-hg@111
     7
 * the Free Software Foundation, version 3 of the License.
franta-hg@43
     8
 *
franta-hg@43
     9
 * This program is distributed in the hope that it will be useful,
franta-hg@43
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
franta-hg@43
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
franta-hg@43
    12
 * GNU General Public License for more details.
franta-hg@43
    13
 *
franta-hg@43
    14
 * You should have received a copy of the GNU General Public License
franta-hg@43
    15
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
franta-hg@43
    16
 */
franta-hg@43
    17
package cz.frantovo.alt2xml.out;
franta-hg@43
    18
franta-hg@43
    19
/**
franta-hg@43
    20
 * Recommended base class for Actions.
franta-hg@43
    21
 *
franta-hg@63
    22
 * @see AbstractHandlerAction
franta-hg@63
    23
 * @see AbstractDOMAction
franta-hg@63
    24
 *
franta-hg@43
    25
 * @author Ing. František Kučera (frantovo.cz)
franta-hg@43
    26
 */
franta-hg@43
    27
public abstract class AbstractAction implements Action {
franta-hg@43
    28
franta-hg@43
    29
	private final ActionContext actionContext;
franta-hg@43
    30
franta-hg@43
    31
	public AbstractAction(ActionContext actionContext) {
franta-hg@43
    32
		this.actionContext = actionContext;
franta-hg@43
    33
	}
franta-hg@43
    34
franta-hg@43
    35
	protected ActionContext getActionContext() {
franta-hg@43
    36
		return actionContext;
franta-hg@43
    37
	}
franta-hg@43
    38
franta-hg@43
    39
}