com.adobe.flexbuilder.codemodel.definitions.metadata
Interface IMetaTags

All Superinterfaces:
IMetaAttributes

public interface IMetaTags
extends IMetaAttributes

Represents a collection of IMetaTag objects that decorate a specific IType

Author:
david

Method Summary
 IMetaTag[] getAllTags()
          Returns all the IMetaTag objects as an array
 IMetaTag getTagByName(java.lang.String name)
          Returns the first IMetaTag matching the given name
 IMetaTag[] getTagsByName(java.lang.String name)
          Gets all the IMetaTag objects that match the given name
 boolean hasTagByName(java.lang.String name)
          Determines if a specific IMetaTag exists in this collection
 
Methods inherited from interface com.adobe.flexbuilder.codemodel.definitions.IMetaAttributes
getAllMetaAttributes, getFirstMetaAttributeByName, getMetaAttributesByName
 

Method Detail

getTagsByName

public IMetaTag[] getTagsByName(java.lang.String name)
Gets all the IMetaTag objects that match the given name

Parameters:
name - the name to match, such as Event, Style, IconFile, etc
Returns:
an array of IMetaTag objects or null

getAllTags

public IMetaTag[] getAllTags()
Returns all the IMetaTag objects as an array

Returns:
an array of objects, or an empty array

hasTagByName

public boolean hasTagByName(java.lang.String name)
Determines if a specific IMetaTag exists in this collection

Parameters:
name - the name of the tag
Returns:
true if it exists

getTagByName

public IMetaTag getTagByName(java.lang.String name)
Returns the first IMetaTag matching the given name

Parameters:
name - the name to search for
Returns:
an IMetaTag or null