(Object o)
| 31 | public class StringWrapper implements SimpleObjectWrapper |
| 32 | { |
| 33 | @Override |
| 34 | public TemplateModel wrap(Object o) throws TemplateModelException |
| 35 | { |
| 36 | if (o instanceof String) |
| 37 | { |
| 38 | return new StringModel(FileAccess.filterString(o.toString())); |
| 39 | } |
| 40 | throw new TemplateModelException("Object was not a String"); |
| 41 | } |
| 42 | } |
nothing calls this directly
no test coverage detected