01: /*
02: * $Id: XMLNotationDecl.java,v 1.2 2006/04/01 06:01:41 jeffsuttor Exp $
03: */
04:
05: /*
06: * The contents of this file are subject to the terms
07: * of the Common Development and Distribution License
08: * (the License). You may not use this file except in
09: * compliance with the License.
10: *
11: * You can obtain a copy of the license at
12: * https://glassfish.dev.java.net/public/CDDLv1.0.html.
13: * See the License for the specific language governing
14: * permissions and limitations under the License.
15: *
16: * When distributing Covered Code, include this CDDL
17: * Header Notice in each file and include the License file
18: * at https://glassfish.dev.java.net/public/CDDLv1.0.html.
19: * If applicable, add the following below the CDDL Header,
20: * with the fields enclosed by brackets [] replaced by
21: * you own identifying information:
22: * "Portions Copyrighted [year] [name of copyright owner]"
23: *
24: * [Name of File] [ver.__] [Date]
25: *
26: * Copyright 2006 Sun Microsystems Inc. All Rights Reserved
27: */
28:
29: /*
30: * Copyright 1999-2002,2004 The Apache Software Foundation.
31: *
32: * Licensed under the Apache License, Version 2.0 (the "License");
33: * you may not use this file except in compliance with the License.
34: * You may obtain a copy of the License at
35: *
36: * http://www.apache.org/licenses/LICENSE-2.0
37: *
38: * Unless required by applicable law or agreed to in writing, software
39: * distributed under the License is distributed on an "AS IS" BASIS,
40: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
41: * See the License for the specific language governing permissions and
42: * limitations under the License.
43: */
44:
45: package com.sun.xml.stream.dtd.nonvalidating;
46:
47: /**
48: * @version $Id: XMLNotationDecl.java,v 1.2 2006/04/01 06:01:41 jeffsuttor Exp $
49: */
50: public class XMLNotationDecl {
51:
52: //
53: // Data
54: //
55:
56: /** name */
57: public String name;
58:
59: /** publicId */
60: public String publicId;
61:
62: /** systemId */
63: public String systemId;
64:
65: /** base systemId */
66: public String baseSystemId;
67:
68: //
69: // Methods
70: //
71:
72: /**
73: * setValues
74: *
75: * @param name
76: * @param publicId
77: * @param systemId
78: */
79: public void setValues(String name, String publicId,
80: String systemId, String baseSystemId) {
81: this .name = name;
82: this .publicId = publicId;
83: this .systemId = systemId;
84: this .baseSystemId = baseSystemId;
85: } // setValues
86:
87: /**
88: * clear
89: */
90: public void clear() {
91: this .name = null;
92: this .publicId = null;
93: this .systemId = null;
94: this .baseSystemId = null;
95: } // clear
96:
97: } // class XMLNotationDecl
|