IAttributes Interface

IAttributes Interface

This Package | All Packages

public interface IAttributes

Represents a callback interface that is used in implementations of the getAttributes() method of the IClassInfo interface. An implementation of IClassInfo.getAttributes() is provided an instance of the IAttributes interface and is responsible for calling the add() method to enumerate the attributes of the associated component class.

Methods
Name Description
add(MemberAttribute a) Defines an attribute.
remove(MemberAttribute a) Removes an attribute.

Methods

IAttributes.add

Syntax
public void add( MemberAttribute a );
Parameters
a
The MemberAttribute to define.
Description

Defines an attribute.

IAttributes.remove

Syntax
public void remove( MemberAttribute a );
Parameters
a
The MemberAttribute to remove.
Description

Removes an attribute.