org.ashikunep.irenka.dom
列挙型 ElementKind

java.lang.Object
  上位を拡張 java.lang.Enum<ElementKind>
      上位を拡張 org.ashikunep.irenka.dom.ElementKind
すべての実装されたインタフェース:
Serializable, Comparable<ElementKind>

public enum ElementKind
extends Enum<ElementKind>

CtElementの種類。

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

列挙型定数の概要
ANNOTATION
          CtAnnotation.
ANNOTATION_ELEMENT
          CtAnnotationElement.
ANNOTATION_INSTANCE
          CtAnnotationInstance.
ANNOTATION_INSTANCE_ELEMENT
          CtAnnotationInstanceElement.
ARRAY
          CtArray.
ARRAY_ACCESS
          CtArrayAccess.
ARRAY_LENGTH
          CtArrayLength.
ASSERT
          CtAssert.
ASSIGNMENT
          CtAssignment.
BLOCK
          CtBlock.
BREAK
          CtBreak.
CASE
          CtCase.
CAST
          CtInfix.
CATCH
          CtCatch.
CLASS
          CtClass.
CLASS_LITERAL
          CtClassLiteral.
COMPILATION_UNIT
          CtCompilationUnit.
CONDITIONAL
          CtConditional.
CONSTRUCTOR
          CtConstructor.
CONSTRUCTOR_INVOCATION
          CtConstructorInvocation.
CONTINUE
          CtContinue.
DO
          CtDo.
DOC_ARRAY_TYPE
          配列型。
DOC_BASIC_TYPE
          基本型。
DOC_BLOCK
          ブロック。
DOC_FIELD
          フィールド。
DOC_METHOD
          メソッド。
DOC_METHOD_PARAMETER
          メソッド仮引数。
DOC_NAMED_TYPE
          名前付き型。
DOC_QUALIFIED_NAME
          限定名。
DOC_SIMPLE_NAME
          単純名。
DOC_TEXT
          テキスト。
DUMMY
          ダミー。
EMPTY_STATEMENT
          CtEmptyStatement.
ENUM
          CtEnum.
ENUM_CONSTANT
          CtEnumConstant.
EVENT
          イベントオブジェクト。
FIELD
          CtField.
FOR
          CtFor.
FOR_EACH
          CtForEach.
IF
          CtIf.
IMPORT
          CtImport.
INFIX
          CtInfix.
INITIALIZER
          CtInitializer.
INSTANCEOF
          CtInstanceof.
INTERFACE
          CtInterface.
JAVADOC
          CtJavadoc.
LABEL
          CtLabel.
LIST
          要素の列を保存する。
LITERAL
          CtLiteral.
LOCAL_VARIABLE
          CtLocalVariable.
MANIPULATED
          ダミー。
METHOD
          CtMethod.
METHOD_INVOCATION
          CtMethodInvocation.
MODIFIER
          CtModifier.
NEW_ARRAY
          CtNewArray.
NEW_INSTANCE
          CtNewInstance.
PACKAGE
          CtPackage.
PARAMETER
          CtParameter.
RETURN
          CtReturn.
SUPER
          CtThis.
SWITCH
          CtSwitch.
SYNCHRONIZED
          CtSynchronized.
THIS
          CtThis.
THROW
          CtThrow.
TRY
          CtTry.
TYPE
          CtType (special).
TYPE_PARAMETER
          CtTypeParameter.
UNARY
          CtUnary.
VALUE
          即値を保存する。
VARIABLE_ACCESS
          CtVariableAccess.
WHILE
          CtWhile.
WILDCARD
          CtWildcard.
 
メソッドの概要
 Class<? extends CtElement> getElementType()
          この種類を扱うインターフェースの型を返す。
 List<? extends Navigation> getNavigationList()
          子要素へのナビゲーションリストを返す。
static ElementKind valueOf(Class<? extends CtElement> type)
          インターフェースの型を元に対応するこの列挙型の定数を返す。
static ElementKind valueOf(String name)
          指定した名前を持つこの型の列挙型定数を返します。
static ElementKind[] values()
          この列挙型の定数を含む配列を宣言されている順序で返します。
 
クラス java.lang.Enum から継承されたメソッド
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
クラス java.lang.Object から継承されたメソッド
finalize, getClass, notify, notifyAll, wait, wait, wait
 

列挙型定数の詳細

ANNOTATION

public static final ElementKind ANNOTATION
CtAnnotation.


ANNOTATION_ELEMENT

public static final ElementKind ANNOTATION_ELEMENT
CtAnnotationElement.


ANNOTATION_INSTANCE

public static final ElementKind ANNOTATION_INSTANCE
CtAnnotationInstance.


ANNOTATION_INSTANCE_ELEMENT

public static final ElementKind ANNOTATION_INSTANCE_ELEMENT
CtAnnotationInstanceElement.


ARRAY

public static final ElementKind ARRAY
CtArray.


ARRAY_ACCESS

public static final ElementKind ARRAY_ACCESS
CtArrayAccess.


ARRAY_LENGTH

public static final ElementKind ARRAY_LENGTH
CtArrayLength.


ASSERT

public static final ElementKind ASSERT
CtAssert.


ASSIGNMENT

public static final ElementKind ASSIGNMENT
CtAssignment.


BLOCK

public static final ElementKind BLOCK
CtBlock.


BREAK

public static final ElementKind BREAK
CtBreak.


CASE

public static final ElementKind CASE
CtCase.


CAST

public static final ElementKind CAST
CtInfix.


CATCH

public static final ElementKind CATCH
CtCatch.


CLASS

public static final ElementKind CLASS
CtClass.


CLASS_LITERAL

public static final ElementKind CLASS_LITERAL
CtClassLiteral.


CONDITIONAL

public static final ElementKind CONDITIONAL
CtConditional.


CONSTRUCTOR

public static final ElementKind CONSTRUCTOR
CtConstructor.


CONSTRUCTOR_INVOCATION

public static final ElementKind CONSTRUCTOR_INVOCATION
CtConstructorInvocation.


CONTINUE

public static final ElementKind CONTINUE
CtContinue.


DO

public static final ElementKind DO
CtDo.


EMPTY_STATEMENT

public static final ElementKind EMPTY_STATEMENT
CtEmptyStatement.


ENUM

public static final ElementKind ENUM
CtEnum.


ENUM_CONSTANT

public static final ElementKind ENUM_CONSTANT
CtEnumConstant.


FIELD

public static final ElementKind FIELD
CtField.


FOR

public static final ElementKind FOR
CtFor.


FOR_EACH

public static final ElementKind FOR_EACH
CtForEach.


SUPER

public static final ElementKind SUPER
CtThis.


THIS

public static final ElementKind THIS
CtThis.


THROW

public static final ElementKind THROW
CtThrow.


IF

public static final ElementKind IF
CtIf.


INFIX

public static final ElementKind INFIX
CtInfix.


INITIALIZER

public static final ElementKind INITIALIZER
CtInitializer.


INSTANCEOF

public static final ElementKind INSTANCEOF
CtInstanceof.


INTERFACE

public static final ElementKind INTERFACE
CtInterface.


JAVADOC

public static final ElementKind JAVADOC
CtJavadoc.


LABEL

public static final ElementKind LABEL
CtLabel.


LITERAL

public static final ElementKind LITERAL
CtLiteral.


LOCAL_VARIABLE

public static final ElementKind LOCAL_VARIABLE
CtLocalVariable.


METHOD

public static final ElementKind METHOD
CtMethod.


METHOD_INVOCATION

public static final ElementKind METHOD_INVOCATION
CtMethodInvocation.


MODIFIER

public static final ElementKind MODIFIER
CtModifier.


NEW_ARRAY

public static final ElementKind NEW_ARRAY
CtNewArray.


NEW_INSTANCE

public static final ElementKind NEW_INSTANCE
CtNewInstance.


PACKAGE

public static final ElementKind PACKAGE
CtPackage.


PARAMETER

public static final ElementKind PARAMETER
CtParameter.


RETURN

public static final ElementKind RETURN
CtReturn.


TRY

public static final ElementKind TRY
CtTry.


SWITCH

public static final ElementKind SWITCH
CtSwitch.


SYNCHRONIZED

public static final ElementKind SYNCHRONIZED
CtSynchronized.


TYPE

public static final ElementKind TYPE
CtType (special).


TYPE_PARAMETER

public static final ElementKind TYPE_PARAMETER
CtTypeParameter.


UNARY

public static final ElementKind UNARY
CtUnary.


VARIABLE_ACCESS

public static final ElementKind VARIABLE_ACCESS
CtVariableAccess.


WHILE

public static final ElementKind WHILE
CtWhile.


WILDCARD

public static final ElementKind WILDCARD
CtWildcard.


IMPORT

public static final ElementKind IMPORT
CtImport.


COMPILATION_UNIT

public static final ElementKind COMPILATION_UNIT
CtCompilationUnit.


VALUE

public static final ElementKind VALUE
即値を保存する。


LIST

public static final ElementKind LIST
要素の列を保存する。


DUMMY

public static final ElementKind DUMMY
ダミー。


MANIPULATED

public static final ElementKind MANIPULATED
ダミー。


EVENT

public static final ElementKind EVENT
イベントオブジェクト。


DOC_BLOCK

public static final ElementKind DOC_BLOCK
ブロック。


DOC_SIMPLE_NAME

public static final ElementKind DOC_SIMPLE_NAME
単純名。


DOC_QUALIFIED_NAME

public static final ElementKind DOC_QUALIFIED_NAME
限定名。


DOC_FIELD

public static final ElementKind DOC_FIELD
フィールド。


DOC_METHOD

public static final ElementKind DOC_METHOD
メソッド。


DOC_TEXT

public static final ElementKind DOC_TEXT
テキスト。


DOC_METHOD_PARAMETER

public static final ElementKind DOC_METHOD_PARAMETER
メソッド仮引数。


DOC_BASIC_TYPE

public static final ElementKind DOC_BASIC_TYPE
基本型。


DOC_NAMED_TYPE

public static final ElementKind DOC_NAMED_TYPE
名前付き型。


DOC_ARRAY_TYPE

public static final ElementKind DOC_ARRAY_TYPE
配列型。

メソッドの詳細

values

public static final ElementKind[] values()
この列挙型の定数を含む配列を宣言されている順序で返します。 このメソッドは次のようにして定数を反復するために使用できます:
for(ElementKind c : ElementKind.values())
        System.out.println(c);

戻り値:
この列挙型の定数を宣言されている順序で含む配列

valueOf

public static ElementKind valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と厳密に 一致している必要があります (余分な空白文字を含めることはできません)。

パラメータ:
name - 返される列挙型定数の名前
戻り値:
指定された名前を持つ列挙型定数
例外:
IllegalArgumentException - 指定された名前を持つ定数を この列挙型が持っていない場合

getElementType

public Class<? extends CtElement> getElementType()
この種類を扱うインターフェースの型を返す。

戻り値:
この種類を扱うインターフェースの型

getNavigationList

public List<? extends Navigation> getNavigationList()
子要素へのナビゲーションリストを返す。

戻り値:
子要素へのナビゲーションリスト

valueOf

public static ElementKind valueOf(Class<? extends CtElement> type)
インターフェースの型を元に対応するこの列挙型の定数を返す。

パラメータ:
type - 対象のインターフェース型
戻り値:
対応するこの列挙型の定数
例外:
NullPointerException - 引数にnullが含まれていた場合


Copyright 2007 the Seasar Foundation and the Others.