org.gvnix.flex.as.classpath.as3parser.details
Class As3ParserMetaTagMetadata

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

public class As3ParserMetaTagMetadata
extends Object
implements ASMetaTagMetadata

Parser-specific metadata representation of an ActionScript meta-tag.

Author:
Jeremy Grelle

Constructor Summary
As3ParserMetaTagMetadata(uk.co.badgersinfoil.metaas.dom.ASMetaTag metaTag)
           
 
Method Summary
static void addMetaTagToElement(CompilationUnitServices compilationUnitServices, ASMetaTagMetadata metaTag, uk.co.badgersinfoil.metaas.dom.MetaTagable element, boolean permitFlush)
           
 MetaTagAttributeValue<?> getAttribute(ActionScriptSymbolName attributeName)
          Acquires an attribute value for the requested name.
 List<ActionScriptSymbolName> getAttributeNames()
           
 String getName()
           
static void removeMetatagFromElement(CompilationUnitServices compilationUnitServices, uk.co.badgersinfoil.metaas.dom.MetaTagable element, String name, boolean permitFlush)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

As3ParserMetaTagMetadata

public As3ParserMetaTagMetadata(uk.co.badgersinfoil.metaas.dom.ASMetaTag metaTag)
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)

addMetaTagToElement

public static void addMetaTagToElement(CompilationUnitServices compilationUnitServices,
                                       ASMetaTagMetadata metaTag,
                                       uk.co.badgersinfoil.metaas.dom.MetaTagable element,
                                       boolean permitFlush)

removeMetatagFromElement

public static void removeMetatagFromElement(CompilationUnitServices compilationUnitServices,
                                            uk.co.badgersinfoil.metaas.dom.MetaTagable element,
                                            String name,
                                            boolean permitFlush)


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