view src/treecms/api/NodeAttributes.java @ 15:22cd920986c5

commit
author misaka
date Tue, 17 May 2011 21:25:17 +0900
parents 8bf59f161b23
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();
}