Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

javax.ide.model.java.source.tree
Interface NameT

All Superinterfaces:
Tree

public interface NameT
extends Tree

A name, simple or qualified.

In certain cases, it may contain non-identifier characters. For example, in an import declaration, the name will include the trailing ".*".


Field Summary
static NameT[] EMPTY_ARRAY
           
 
Method Summary
 java.lang.String getValue()
          Gets the String value of this name.
 void setText(java.lang.String text)
          Replaces the current text with the input raw text.
 void setValue(java.lang.String value)
          Replaces the current value with the input value.
 
Methods inherited from interface javax.ide.model.java.source.tree.Tree
accept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty
 

Field Detail

EMPTY_ARRAY

static final NameT[] EMPTY_ARRAY
Method Detail

setText

void setText(java.lang.String text)
Replaces the current text with the input raw text.


getValue

java.lang.String getValue()
Gets the String value of this name. The name "getValue" is inherited from the previous parser version. The "value" is not always the same as the "text". For example, if the text is an identifier including unicode characters, the value will have a translated text whereas the text is the raw text.

Returns:
The string value associated with this name symbol.

setValue

void setValue(java.lang.String value)
Replaces the current value with the input value.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

Copyright © 1997, 2011, Oracle. All rights reserved.