view src/treecms/api/NodeAttributes.java @ 14:8bf59f161b23

separete Node methods to NodeContext , NodeAttribute , NodeChildren
author misaka
date Tue, 17 May 2011 18:44:14 +0900
parents
children
line wrap: on
line source

package treecms.api;

import java.nio.ByteBuffer;
import java.util.Map;
import java.util.Set;


public interface NodeAttributes
{
	public Map<ByteBuffer,ByteBuffer> asMap();
	public Set<ByteBuffer> getKeySet();
	public void put(ByteBuffer _name,ByteBuffer _value);
	public void putAll(NodeAttributes _attrs);
	public ByteBuffer get(ByteBuffer _name);
	public NodeAttributes getAll();
	public void remove(ByteBuffer _name);
	public void removeAll(Set<ByteBuffer> _keySet);
	public void clearAttributes();
}