Plumtree Tags API  
 

ATagAttribute Members

ATagAttribute overview

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetDefaultValue The default value for an optional attribute if the attribute is not present or is of the incorrect type. This will return null for required attributes.
GetDescription The description of the attribute and it's behavior.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetIsRequired Gets whether or not this attribute is required to be present every time the tag is used. If it is required, the tag will fail if it is not present.
GetName The name of the attribute.
GetType The data type of the attribute. E.G. int, string, etc... Specifying the attribute type will force the conversion of the attribute to that type and will cause an error if it cannot be converted. Required attributes will be converted before the tag is displayed and will cause the tag to fail if they cannot be converted correctly.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Constructors

ATagAttribute Constructor Creates a new tag attribute.

Protected Instance Fields

m_strDescription 
m_strName 
m_Type 

Protected Instance Methods

CheckNameSafety This helper method checks whether or not the attribute name contains any illegal characters, such as whitespace.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

ATagAttribute Class | com.plumtree.portaluiinfrastructure.tags.metadata Namespace