FileDocCategorySizeDatePackage
AbstractTagItem.javaAPI DocJaudiotagger 2.0.43567Wed Mar 30 16:12:06 BST 2011org.jaudiotagger.tag.id3

AbstractTagItem

public abstract class AbstractTagItem extends Object
This specifies a series of methods that have to be implemented by all structural subclasses, required to support all copy constructors,iterative methods and so on.

TODO Not sure if this is really correct, if really needed should probably be an interface

Fields Summary
public static Logger
logger
Constructors Summary
public AbstractTagItem()



     
    
    
public AbstractTagItem(AbstractTagItem copyObject)

        // no copy constructor in super class
    
Methods Summary
public booleanequals(java.lang.Object obj)
Returns true if this datatype and its body equals the argument and its body. this datatype is equal if and only if they are the same class

param
obj datatype to determine equality of
return
true if this datatype and its body are equal

        if ( this == obj ) return true;
        return obj instanceof AbstractTagItem;
    
public abstract java.lang.StringgetIdentifier()
ID string that usually corresponds to the class name, but can be displayed to the user. It is not indended to identify each individual instance.

return
ID string

public abstract intgetSize()
Return size of this item

return
size of this item

public booleanisSubsetOf(java.lang.Object obj)
Returns true if this datatype is a subset of the argument. This instance is a subset if it is the same class as the argument.

param
obj datatype to determine subset of
return
true if this instance and its entire datatype array list is a subset of the argument.

        return obj instanceof AbstractTagItem;
    
public abstract voidread(java.nio.ByteBuffer byteBuffer)

param
byteBuffer file to read from
throws
TagException on any exception generated by this library.