view src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/bbs/GetAttributeImp.java @ 25:ca85609658bd

bug fix
author one
date Tue, 20 Jan 2015 09:31:16 +0900
parents
children
line wrap: on
line source

package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.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();
  }

}