uk.co.badgersinfoil.metaas.dom
Interface MetaTagable

All Known Subinterfaces:
ASClassType, ASField, ASInterfaceType, ASMember, ASMethod, ASType

public interface MetaTagable

The common interface for API elements that may be tagged with metadata.

See Also:
ASClassType, ASInterfaceType, ASField, ASMethod

Method Summary
 java.util.List getAllMetaTags()
          Returns the (possibly empty) list of ASMetaTag objects attached to this API element.
 ASMetaTag getFirstMetatag(java.lang.String name)
          Returns the ASMetaTag with the given name.
 java.util.List getMetaTagsWithName(java.lang.String name)
          Returns a (possibly empty) list of ASMetaTag objects attached to this API element whose names match the given value.
 ASMetaTag newMetaTag(java.lang.String name)
          Creates and returns a new ASMetaTag attached to this API element.
 

Method Detail

getFirstMetatag

ASMetaTag getFirstMetatag(java.lang.String name)
Returns the ASMetaTag with the given name. If multiple metatags with the name are attached to this API element, only the first is returned. If no such meta tag is found, this method returns null.

See Also:
getMetaTagsWithName(String)

getAllMetaTags

java.util.List getAllMetaTags()
Returns the (possibly empty) list of ASMetaTag objects attached to this API element.


getMetaTagsWithName

java.util.List getMetaTagsWithName(java.lang.String name)
Returns a (possibly empty) list of ASMetaTag objects attached to this API element whose names match the given value.


newMetaTag

ASMetaTag newMetaTag(java.lang.String name)
Creates and returns a new ASMetaTag attached to this API element.



Copyright © 2006-2007 David Holroyd. All Rights Reserved.