org.gvnix.flex.as.classpath.as3parser.details
Class As3ParserMetaTagMetadata
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
As3ParserMetaTagMetadata
public As3ParserMetaTagMetadata(uk.co.badgersinfoil.metaas.dom.ASMetaTag metaTag)
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.