webit.script.resolvers.impl.LongOutResolver 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-2014, Webit Team. All Rights Reserved.
package webit.script.resolvers.impl;
import webit.script.io.Out;
import webit.script.resolvers.OutResolver;
import webit.script.util.NumberUtil;
/**
*
* @author zqq90
*/
public class LongOutResolver implements OutResolver {
public void render(final Out out, Object number) {
NumberUtil.print((Long) number, out);
}
public Class getMatchClass() {
return Long.class;
}
}