01: /*
02: * $Id: XMLOutputSource.java,v 1.2 2006/04/01 06:01:36 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: package com.sun.xml.stream.writers;
30:
31: import java.io.OutputStream;
32: import java.io.Writer;
33:
34: /**
35: * XMLOutputSource
36: *
37: * Encapuslates the information about the source where
38: * XML output needs to be written.
39: *
40: * @author Neeraj Bajaj
41: */
42: public class XMLOutputSource {
43:
44: /** Output Stream class to write bytes*/
45: OutputStream os;
46: /** Writer for writing to character stream */
47: Writer writer;
48:
49: String systemId;
50:
51: /** Creates a new instance of XMLOutputSource */
52: public XMLOutputSource() {
53: }
54:
55: }
|