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

org.redmine.ta.internal.comm.ComposingHandler Maven / Gradle / Ivy

Go to download

Free open-source Java API for Redmine and Chiliproject bug/task management systems.

The newest version!
package org.redmine.ta.internal.comm;

import org.redmine.ta.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