public interface IMXMLDefinitionNode extends IMXMLNode
<Definition>
tag in an
AST.
An IMXMLDefinitionNode
is a IMXMLClassDefinitionNode
and thus
has all the same children as an IMXMLClassDefinitionNode
.
The IMXMLDefinitionNode
have a required name attribute that specifies
the name of the definition.
UNKNOWN
Modifier and Type | Method and Description |
---|---|
IClassDefinition |
getContainedClassDefinition()
Gets the class definition of the defined class.
|
IMXMLClassDefinitionNode |
getContainedClassDefinitionNode()
Gets the class-defining node which is the sole child of this node.
|
String |
getDefinitionName()
Gets the tag name of the definition as specified by the
name
attribute on the <Definition> tag. |
getClassDefinitionNode, getDocumentNode, getFileNode, getName, isValidForCodeGen
contains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getNodeID, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminal
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStart
String getDefinitionName()
name
attribute on the <Definition>
tag.null
otherwise.IMXMLClassDefinitionNode getContainedClassDefinitionNode()
IMXMLClassDefinitionNode
.IClassDefinition getContainedClassDefinition()
IClassDefinition
object representing the class defined
within this <Definition>
tag.Copyright © 2016 The Apache Software Foundation. All rights reserved.