webit.script.resolvers.impl.CharArrayOutResolver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webit-script Show documentation
Show all versions of webit-script Show documentation
a template-like script and engine, all writen with Java.
The newest version!
// Copyright (c) 2013, Webit Team. All Rights Reserved.
package webit.script.resolvers.impl;
import webit.script.io.Out;
import webit.script.resolvers.OutResolver;
/**
*
* @author zqq
*/
public class CharArrayOutResolver implements OutResolver {
public void render(Out out, Object bean) {
out.write((char[]) bean);
}
public Class getMatchClass() {
return char[].class;
}
}