view src/main/java/jp/ac/u_ryukyu/ie/cr/bbs/local/GetAttributeImp.java @ 1:64a72a7a0491

add local bbs
author tatsuki
date Mon, 27 Jun 2016 04:24:25 +0900
parents
children
line wrap: on
line source

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


import jp.ac.u_ryukyu.ie.cr.jungle.store.impl.TreeNode;

import java.util.Iterator;

public class GetAttributeImp {
  private final TreeNode node;

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

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

}