KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > xerces > impl > dtd > XMLNotationDecl


1 /*
2  * Copyright 1999-2002,2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16
17 package org.apache.xerces.impl.dtd;
18
19 /**
20  * @xerces.internal
21  *
22  * @version $Id: XMLNotationDecl.java,v 1.6 2004/10/04 21:57:30 mrglavas Exp $
23  */

24 public class XMLNotationDecl {
25
26     //
27
// Data
28
//
29

30     /** name */
31     public String JavaDoc name;
32
33     /** publicId */
34     public String JavaDoc publicId;
35
36     /** systemId */
37     public String JavaDoc systemId;
38
39     /** base systemId */
40     public String JavaDoc baseSystemId;
41
42     //
43
// Methods
44
//
45

46     /**
47      * setValues
48      *
49      * @param name
50      * @param publicId
51      * @param systemId
52      */

53     public void setValues(String JavaDoc name, String JavaDoc publicId, String JavaDoc systemId, String JavaDoc baseSystemId) {
54         this.name = name;
55         this.publicId = publicId;
56         this.systemId = systemId;
57         this.baseSystemId = baseSystemId;
58     } // setValues
59

60     /**
61      * clear
62      */

63     public void clear() {
64         this.name = null;
65         this.publicId = null;
66         this.systemId = null;
67         this.baseSystemId = null;
68     } // clear
69

70 } // class XMLNotationDecl
71
Popular Tags