All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.taskadapter.redmineapi.internal.comm.ComposingHandler Maven / Gradle / Ivy

Go to download

Free open-source Java API for Redmine and Chiliproject bug/task management systems. This project was originally a part of Task Adapter application (http://www.taskadapter.com) and then was open-sourced.

The newest version!
package com.taskadapter.redmineapi.internal.comm;

import com.taskadapter.redmineapi.RedmineException;

/**
 * Composing content handler.
 * 
 * @author maxkar
 * 
 */
final class ComposingHandler implements ContentHandler {

	private final ContentHandler outer;
	private final ContentHandler inner;

	public ComposingHandler(ContentHandler outer,
			ContentHandler inner) {
		super();
		this.outer = outer;
		this.inner = inner;
	}

	@Override
	public R processContent(K content) throws RedmineException {
		return outer.processContent(inner.processContent(content));
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy