com.github.rauberprojects.client.transclude.NoopTranscluder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client-core Show documentation
Show all versions of client-core Show documentation
Reusable core classes for any client implementation.
package com.github.rauberprojects.client.transclude;
import com.github.rauberprojects.client.context.Context;
import com.github.rauberprojects.client.model.Data;
import com.github.rauberprojects.client.transclude.Transcluder;
/**
* A no-operation transcluder that can be used if transclusion is not desired.
*/
public class NoopTranscluder implements Transcluder {
@Override
public Context transclude(Data data, Context oldContext, Context newContext) {
return newContext;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy