view src/main/java/jp/ac/u_ryukyu/cr/ie/tatsuki/bbs/GetAttributeImp.java @ 45:8e531233d376 default tip

commit
author one
date Wed, 26 Nov 2014 06:23:40 +0900
parents 5e8eac03fed3
children
line wrap: on
line source

package jp.ac.u_ryukyu.cr.ie.tatsuki.bbs;


import fj.data.List;
import jp.ac.u_ryukyu.ie.cr.shoshi.jungle.store.impl.TreeNode;

public class GetAttributeImp {
  private final TreeNode node;

  public GetAttributeImp(TreeNode _node) {
    node = _node;
  }

  public String getMessage(String key) {
    return node.getAttributes().getString(key);
  }
  
  public List<String> getKeys() {
    return node.getAttributes().getKeys();
  }

}