public interface IMXMLNode extends IASNode
UNKNOWN
Modifier and Type | Method and Description |
---|---|
IMXMLClassDefinitionNode |
getClassDefinitionNode()
Gets the closest ancestor node that defines a class.
|
IMXMLClassDefinitionNode |
getDocumentNode()
Gets the closest ancestor node that is the root node of the MXML file.
|
IMXMLFileNode |
getFileNode()
Gets the root file node.
|
String |
getName()
Gets the name of this node.
|
boolean |
isValidForCodeGen()
Indicates whether code should be generated for this node.
|
contains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getNodeID, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminal
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStart
String getName()
For a node that refers to a class, this is the fully-qualified
ActionScript class name. (For example, for <s:Button>
it would be "spark.components.Button"
.)
For a node that specifies a property, style, or event, this is the name
of the property, style, or event. (For example, for
<s:text>
it would be "text"
.)
For a language node, this is the short name of the tag. (For example, for
<fx:Script>
it would be "Script"
.)
boolean isValidForCodeGen()
If this method returns false
, there is something invalid
about this node, or one of its descendants, that prevents code
generation.
IMXMLClassDefinitionNode getClassDefinitionNode()
IMXMLClassDefinitionNode
object.IMXMLClassDefinitionNode getDocumentNode()
IMXMLDocumentNode
object.IMXMLFileNode getFileNode()
IOldMXMLFileNode
object.Copyright © 2016 The Apache Software Foundation. All rights reserved.