01: /*
02: * Portions Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
03: */
04:
05: /*
06: * Copyright 2005 The Apache Software Foundation.
07: *
08: * Licensed under the Apache License, Version 2.0 (the "License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.apache.org/licenses/LICENSE-2.0
13: *
14: * Unless required by applicable law or agreed to in writing, software
15: * distributed under the License is distributed on an "AS IS" BASIS,
16: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: * See the License for the specific language governing permissions and
18: * limitations under the License.
19: */
20:
21: package com.sun.xml.internal.stream.dtd.nonvalidating;
22:
23: /**
24: * @version $Id: XMLNotationDecl.java,v 1.2 2005/11/03 17:16:39 jeffsuttor Exp $
25: */
26: public class XMLNotationDecl {
27:
28: //
29: // Data
30: //
31:
32: /** name */
33: public String name;
34:
35: /** publicId */
36: public String publicId;
37:
38: /** systemId */
39: public String systemId;
40:
41: /** base systemId */
42: public String baseSystemId;
43:
44: //
45: // Methods
46: //
47:
48: /**
49: * setValues
50: *
51: * @param name
52: * @param publicId
53: * @param systemId
54: */
55: public void setValues(String name, String publicId,
56: String systemId, String baseSystemId) {
57: this .name = name;
58: this .publicId = publicId;
59: this .systemId = systemId;
60: this .baseSystemId = baseSystemId;
61: } // setValues
62:
63: /**
64: * clear
65: */
66: public void clear() {
67: this .name = null;
68: this .publicId = null;
69: this .systemId = null;
70: this .baseSystemId = null;
71: } // clear
72:
73: } // class XMLNotationDecl
|