FileDocCategorySizeDatePackage
BaseAttribute.javaAPI DocAndroid 1.5 API1316Wed May 06 22:41:02 BST 2009com.android.dx.cf.attrib

BaseAttribute

public abstract class BaseAttribute extends Object implements com.android.dx.cf.iface.Attribute
Base implementation of {@link Attribute}, which directly stores the attribute name but leaves the rest up to subclasses.

Fields Summary
private final String
name
non-null; attribute name
Constructors Summary
public BaseAttribute(String name)
Constructs an instance.

param
name non-null; attribute name

        if (name == null) {
            throw new NullPointerException("name == null");
        }

        this.name = name;
    
Methods Summary
public java.lang.StringgetName()
{@inheritDoc}

        return name;