public abstract static class IlrBRLGrammar.Node
extends java.lang.Object
implements java.io.Serializable
For example, in the BAL definition, the rule actions are specified as follows:
<complexType name="T-action">
In this example we have 3 nodes: a node named
<choice>
<element name="action-sentence" type="T-action-sentence"/>
<element name="assign" type="T-assign"/>
<element name="foreach" type="T-foreach"/>
</choice>
</complexType>
action-sentence
of type T-action-sentence,
a node named assign of type T-assign
and a node foreach of type T-foreach.
All the nodes have the enclosing type T-action.
| Constructor and Description |
|---|
IlrBRLGrammar.Node() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getEnclosingType()
Returns the name of the enclosing type of that node.
|
abstract java.lang.String |
getName()
Returns the name of that node.
|
abstract java.lang.String |
getType()
Returns the type of that node.
|
public abstract java.lang.String getEnclosingType()
public abstract java.lang.String getName()
public abstract java.lang.String getType()
© Copyright IBM Corp. 1987, 2017