12005
|
1 |
/*
|
|
2 |
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
|
3 |
*/
|
|
4 |
|
|
5 |
/*
|
42802
|
6 |
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
7 |
* contributor license agreements. See the NOTICE file distributed with
|
|
8 |
* this work for additional information regarding copyright ownership.
|
|
9 |
* The ASF licenses this file to You under the Apache License, Version 2.0
|
|
10 |
* (the "License"); you may not use this file except in compliance with
|
|
11 |
* the License. You may obtain a copy of the License at
|
12005
|
12 |
*
|
42802
|
13 |
* http://www.apache.org/licenses/LICENSE-2.0
|
12005
|
14 |
*
|
|
15 |
* Unless required by applicable law or agreed to in writing, software
|
|
16 |
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
17 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18 |
* See the License for the specific language governing permissions and
|
|
19 |
* limitations under the License.
|
|
20 |
*/
|
|
21 |
|
|
22 |
package com.sun.xml.internal.stream.dtd.nonvalidating;
|
|
23 |
|
|
24 |
/**
|
|
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, String systemId, String baseSystemId) {
|
|
56 |
this.name = name;
|
|
57 |
this.publicId = publicId;
|
|
58 |
this.systemId = systemId;
|
|
59 |
this.baseSystemId = baseSystemId;
|
|
60 |
} // setValues
|
|
61 |
|
|
62 |
/**
|
|
63 |
* clear
|
|
64 |
*/
|
|
65 |
public void clear() {
|
|
66 |
this.name = null;
|
|
67 |
this.publicId = null;
|
|
68 |
this.systemId = null;
|
|
69 |
this.baseSystemId = null;
|
|
70 |
} // clear
|
|
71 |
|
|
72 |
} // class XMLNotationDecl
|