KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openide > src > ElementProperties


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 package org.openide.src;
21
22 /** Names of properties of elements.
23 *
24 *
25 * @author Jaroslav Tulach, Svatopluk Dedic
26 */

27 public interface ElementProperties {
28     /** Name of {@link FieldElement#getType type} property for {@link FieldElement field elements}.
29     */

30     public static final String JavaDoc PROP_TYPE = "type"; // NOI18N
31

32     /** Name of {@link FieldElement#getInitValue initial value} property for {@link FieldElement field elements}.
33     */

34     public static final String JavaDoc PROP_INIT_VALUE = "initValue"; // NOI18N
35

36     /** Name of {@link ConstructorElement#getParameters parameters} property for {@link MethodElement methods} and {@link ConstructorElement constructors}.
37     */

38     public static final String JavaDoc PROP_PARAMETERS = "parameters"; // NOI18N
39

40     /** Name of {@link ConstructorElement#getExceptions exceptions} property for {@link ConstructorElement constructors} and {@link MethodElement methods}.
41     */

42     public static final String JavaDoc PROP_EXCEPTIONS = "exceptions"; // NOI18N
43

44     /** Name of {@link InitializerElement#isStatic static} property for {@link InitializerElement initializers}.
45     */

46     public static final String JavaDoc PROP_STATIC = "static"; // NOI18N
47

48     /** Name of {@link ConstructorElement#getBody body} property for {@link InitializerElement#getBody initializers}, {@link ConstructorElement constructors} and {@link MethodElement methods}.
49     */

50     public static final String JavaDoc PROP_BODY = "body"; // NOI18N
51

52     /** Name of {@link MemberElement#getModifiers modifiers} property for {@link ClassElement classes}, {@link ConstructorElement constructors}, {@link MethodElement methods}, and {@link FieldElement fields}.
53     */

54     public static final String JavaDoc PROP_MODIFIERS = "modifiers"; // NOI18N
55

56     /** Name of {@link MemberElement#getName name} property for {@link ClassElement classes}, {@link ConstructorElement constructors}, {@link MethodElement methods}, and {@link FieldElement fields}.
57     */

58     public static final String JavaDoc PROP_NAME = "name"; // NOI18N
59

60     /** Name of {@link MethodElement#getReturn return value type} property for {@link MethodElement methods}.
61     */

62     public static final String JavaDoc PROP_RETURN = "return"; // NOI18N
63

64     /** Name of {@link SourceElement#getPackage package} property for {@link SourceElement source elements}.
65     */

66     public static final String JavaDoc PROP_PACKAGE = "package"; // NOI18N
67

68     /** Name of {@link SourceElement#getImports imports} property for {@link SourceElement source elements}.
69     */

70     public static final String JavaDoc PROP_IMPORTS = "imports"; // NOI18N
71

72     /** Name of classes property for {@link SourceElement#getClasses source elements} and {@link ClassElement#getClasses classes}.
73     */

74     public static final String JavaDoc PROP_CLASSES = "classes"; // NOI18N
75

76     /** Name of {@link SourceElement#getAllClasses all classes} property for {@link SourceElement source elements}.
77     */

78     public static final String JavaDoc PROP_ALL_CLASSES = "allClasses"; // NOI18N
79

80     /** Name of {@link ClassElement#getInitializers initializers} property for {@link ClassElement classes}.
81     */

82     public static final String JavaDoc PROP_INITIALIZERS = "initializers"; // NOI18N
83

84     /** Name of {@link ClassElement#getMethods methods} property for {@link ClassElement classes}.
85     */

86     public static final String JavaDoc PROP_METHODS = "methods"; // NOI18N
87

88     /** Name of {@link ClassElement#getFields fields} property for {@link ClassElement classes}.
89     */

90     public static final String JavaDoc PROP_FIELDS = "fields"; // NOI18N
91

92     /** Name of {@link ClassElement#getConstructors constructors} property for {@link ClassElement classes}.
93     */

94     public static final String JavaDoc PROP_CONSTRUCTORS = "constructors"; // NOI18N
95

96     /** Name of {@link ClassElement#getSuperclass super class} property for {@link ClassElement classes}.
97     */

98     public static final String JavaDoc PROP_SUPERCLASS = "superclass"; // NOI18N
99

100     /** Name of {@link ClassElement#getInterfaces interfaces} property for {@link ClassElement classes}.
101     */

102     public static final String JavaDoc PROP_INTERFACES = "interfaces"; // NOI18N
103

104     /** Name of {@link SourceElement#getStatus status} property for {@link SourceElement source elements}.
105     */

106     public static final String JavaDoc PROP_STATUS = "status"; // NOI18N
107

108     /** Name of {@link ClassElement#isClassOrInterface is class or interface} property for {@link ClassElement classes}.
109     */

110     public static final String JavaDoc PROP_CLASS_OR_INTERFACE = "classOrInterface"; // NOI18N
111

112     /** Name of {@link Element.Impl2#isValid validity} property for {@link Element.Impl2}.
113      */

114     public static final String JavaDoc PROP_VALID = "valid"; // NOI18N
115

116     /** Name of special members property for {@link ClassElement class elements}.
117      */

118     public static final String JavaDoc PROP_MEMBERS = "members"; // NOI18N
119

120     /**
121      * Name of Javadoc property for all {@link MemberElement member elements}.
122      * @see ClassElement#getJavaDoc
123      * @see ConstructorElement#getJavaDoc
124      * @see FieldElement#getJavaDoc
125      * @see InitializerElement#getJavaDoc
126      */

127     public static final String JavaDoc PROP_JAVADOC = "javadoc"; // NOI18N
128
}
129
Popular Tags