org.ashikunep.irenka.dom
インタフェース CtLiteral<T>

型パラメータ:
T - リテラル値の型
すべてのスーパーインタフェース:
ClientStorageContainer, CtElement, CtExpression<T>, CtValue<T>

public interface CtLiteral<T>
extends CtExpression<T>, CtValue<T>

リテラル値。クラスリテラルは表現しない。

バージョン:
$Date: 2008-02-12 12:35:47 +0900 (火, 12 2月 2008) $
作成者:
Suguru ARAKAWA (Gluegent, Inc.)

メソッドの概要
 LiteralKind getLiteralKind()
          このリテラルの種類を返す。
 String getLiteralString()
          このリテラルの文字列表現を返す。
 CtType<T> getLiteralType()
          保持している値の型を返す。
 T getValue()
          保持している値を返す。
 
インタフェース org.ashikunep.irenka.dom.CtExpression から継承されたメソッド
as, as, evalType
 
インタフェース org.ashikunep.irenka.dom.CtElement から継承されたメソッド
accept, accept, copy, copy, equals, exists, freezeChildren, freezeParent, getChild, getCompilationUnit, getCorrespondedFile, getElementKind, getGenericContext, getLocation, getLocationInParent, getParent, getProperty, hashCode, isChildrenFrozen, isModified, isParentFrozen, isSynthetic, setChild, setLocation, setParent, substitute
 
インタフェース org.ashikunep.irenka.util.ClientStorageContainer から継承されたメソッド
getClientStorage, putClientStorage
 
インタフェース org.ashikunep.irenka.dom.CtElement から継承されたメソッド
accept, accept, copy, copy, equals, exists, freezeChildren, freezeParent, getChild, getCompilationUnit, getCorrespondedFile, getElementKind, getGenericContext, getLocation, getLocationInParent, getParent, getProperty, hashCode, isChildrenFrozen, isModified, isParentFrozen, isSynthetic, setChild, setLocation, setParent, substitute
 
インタフェース org.ashikunep.irenka.util.ClientStorageContainer から継承されたメソッド
getClientStorage, putClientStorage
 

メソッドの詳細

getLiteralKind

LiteralKind getLiteralKind()
このリテラルの種類を返す。

戻り値:
このリテラルの種類

getValue

T getValue()
保持している値を返す。

定義:
インタフェース CtValue<T> 内の getValue
戻り値:
保持している値

getLiteralString

String getLiteralString()
このリテラルの文字列表現を返す。

戻り値:
文字列表現

getLiteralType

@Unmodifiable
CtType<T> getLiteralType()
保持している値の型を返す。 この値は変更できない

戻り値:
保持している値の型


Copyright 2007 the Seasar Foundation and the Others.