
org.redmine.ta.internal.comm.ComposingHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redmine-java-api Show documentation
Show all versions of redmine-java-api Show documentation
Free open-source Java API for Redmine and Chiliproject bug/task management systems.
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 - 2025 Weber Informatics LLC | Privacy Policy