public TemplateModel get(String s) throws TemplateModelException {
        switch (s) {
            case "name":
                return new SimpleScalar(m_name);
            case "symbol":
                return new SimpleScalar(m_symbol);
            case "change":
                return new SimpleNumber(m_change);
            case "lastPrice":
                return new SimpleNumber(m_lastTradePrice);
            case "news":
                return m_news;
            default:
                throw new TemplateModelException();
        }
    }