org.gvnix.flex.as.classpath.details.metatag
Class DefaultASMetaTagMetadata

java.lang.Object
  extended by org.gvnix.flex.as.classpath.details.metatag.DefaultASMetaTagMetadata
All Implemented Interfaces:
ASMetaTagMetadata

public class DefaultASMetaTagMetadata
extends Object
implements ASMetaTagMetadata

Default metadata representation of an ActionScript meta-tag.

Author:
Jeremy Grelle

Constructor Summary
DefaultASMetaTagMetadata(String name, List<MetaTagAttributeValue<?>> attributes)
           
 
Method Summary
 MetaTagAttributeValue<?> getAttribute(ActionScriptSymbolName attributeName)
          Acquires an attribute value for the requested name.
 List<ActionScriptSymbolName> getAttributeNames()
           
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultASMetaTagMetadata

public DefaultASMetaTagMetadata(String name,
                                List<MetaTagAttributeValue<?>> attributes)
Method Detail

getName

public String getName()
Specified by:
getName in interface ASMetaTagMetadata

getAttribute

public MetaTagAttributeValue<?> getAttribute(ActionScriptSymbolName attributeName)
Description copied from interface: ASMetaTagMetadata
Acquires an attribute value for the requested name.

Specified by:
getAttribute in interface ASMetaTagMetadata
Returns:
the requested attribute (or null if not found)

getAttributeNames

public List<ActionScriptSymbolName> getAttributeNames()
Specified by:
getAttributeNames in interface ASMetaTagMetadata
Returns:
the attribute names, preferably in the order they are declared in the annotation (never null, but may be empty)


Copyright © 2010–2015 Conselleria d'Infraestructures i Transport - Generalitat Valenciana. All rights reserved.