org.jnbt
Class CompoundTag

java.lang.Object
  extended by org.jnbt.Tag
      extended by org.jnbt.CompoundTag

public final class CompoundTag
extends Tag

The TAG_Compound tag.

Author:
Graham Edgecombe

Constructor Summary
CompoundTag(String name, Map<String,Tag> value)
          Creates the tag.
 
Method Summary
 Map<String,Tag> getValue()
          Gets the value of this tag.
 String toString()
           
 
Methods inherited from class org.jnbt.Tag
getName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompoundTag

public CompoundTag(String name,
                   Map<String,Tag> value)
Creates the tag.

Parameters:
name - The name.
value - The value.
Method Detail

getValue

public Map<String,Tag> getValue()
Description copied from class: Tag
Gets the value of this tag.

Specified by:
getValue in class Tag
Returns:
The value of this tag.

toString

public String toString()
Overrides:
toString in class Object