1 /* 2 * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 */ 4 5 /* 6 * Copyright 2005 The Apache Software Foundation. 7 * 8 * Licensed under the Apache License, Version 2.0 (the "License"); 9 * 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 */ 25 public class XMLNotationDecl { 26 27 // 28 // Data 29 // 30 31 /** name */ 32 public String name; 33 34 /** publicId */ 35 public String publicId; 36 37 /** systemId */ 38 public String systemId; 39 40 /** base systemId */ 41 public String baseSystemId; 42 43 // 44 // Methods 45 // 46 47 /** 48 * setValues 49 * 50 * @param name 51 * @param publicId 52 * @param systemId 53 */ setValues(String name, String publicId, String systemId, String baseSystemId)54 public void setValues(String name, String publicId, String systemId, String baseSystemId) { 55 this.name = name; 56 this.publicId = publicId; 57 this.systemId = systemId; 58 this.baseSystemId = baseSystemId; 59 } // setValues 60 61 /** 62 * clear 63 */ clear()64 public void clear() { 65 this.name = null; 66 this.publicId = null; 67 this.systemId = null; 68 this.baseSystemId = null; 69 } // clear 70 71 } // class XMLNotationDecl 72