Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

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

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, accept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty
 

Field Detail

EMPTY_ARRAY

public static final NameT[] EMPTY_ARRAY
Method Detail

setText

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


getValue

public 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.


setValue

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