KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > firstpartners > nounit > snippet > xml > IXmlConstants


1
2 package net.firstpartners.nounit.snippet.xml;
3
4 /**
5  * Title: NoUnit - Identify Classes that are not being unit Tested
6  *
7  * Copyright (C) 2001 Paul Browne , FirstPartners.net
8  *
9  *
10  * This program is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU General Public License
12  * as published by the Free Software Foundation; either version 2
13  * of the License, or (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23  *
24  * @author Paul Browne
25  * @version 0.7
26  */

27
28 /**
29  * Constants Used in representing Snippets as XML
30  */

31 public interface IXmlConstants {
32     
33     
34     //----------------------------
35
// General Constants
36
//----------------------------
37

38     /**
39      * String used in building the general name attribute
40      */

41     public final static String JavaDoc ATTRIBUTE_NAME="name";
42     
43     
44    /**
45      * String used in building the XML general access attribute
46      */

47     public final static String JavaDoc ATTRIBUTE_ACCESS="access";
48     
49     //-----------------------------------
50
//Constants to do with Called Methods
51
//-----------------------------------
52

53     /**
54      * String used in building the XML calls - Method Element
55      */

56     public final static String JavaDoc ELEMENT_CALLS="CALLS";
57     
58     /**
59      * String used in building the XML calls class attribute- Method Element
60      */

61     public final static String JavaDoc ATTRIBUTE_CLASS="class";
62     
63     /**
64      * String used in building the XML calls class attribute- Method Element
65      */

66     public final static String JavaDoc ATTRIBUTE_METHOD="method";
67     
68     
69     //----------------------------
70
//Constants to do with Methods
71
//----------------------------
72

73     /**
74      * String used in building the XML Method Element
75      */

76     public final static String JavaDoc ELEMENT_METHOD="METHOD";
77      
78     /**
79      * String used in building the XML Method - Params
80      */

81      public final static String JavaDoc ELEMENT_PARAM="PARAM";
82
83     
84     //----------------------------
85
//Constants to do with Classes
86
//----------------------------
87

88     /**
89      * String used in building the XML Element - Class
90      */

91     public final static String JavaDoc ELEMENT_CLASS="CLASS";
92     
93     /**
94      * String used in building the XML Element - Extends
95      */

96     public final static String JavaDoc ELEMENT_CLASS_EXTENDS="EXTENDS";
97     
98
99     
100     //-----------------------------
101
//Constants to do with Packages
102
//-----------------------------
103
/**
104      * String used in building the XML Package Class
105      */

106     public final static String JavaDoc ELEMENT_PACKAGE="PACKAGE";
107     
108     /**
109      * String used in building the XML Package Location
110      */

111     public final static String JavaDoc ATTRIBUTE_PACKAGE_LOCATION="location";
112     
113     
114     //----------------------------
115
//Constants to do with Projects
116
//----------------------------
117
/**
118      * String used in building the XML Project Root
119      */

120     public final static String JavaDoc ELEMENT_PROJECT="PROJECT";
121     
122     
123     
124 }
125
126
Popular Tags