XMLOutputFactoryImpl.java revision 905:4fa3ca2e8105
1/* 2 * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 24package xp1; 25 26import java.io.OutputStream; 27import java.io.Writer; 28 29import javax.xml.stream.XMLEventWriter; 30import javax.xml.stream.XMLOutputFactory; 31import javax.xml.stream.XMLStreamException; 32import javax.xml.stream.XMLStreamWriter; 33import javax.xml.transform.Result; 34 35public class XMLOutputFactoryImpl extends XMLOutputFactory { 36 37 @Override 38 public XMLStreamWriter createXMLStreamWriter(Writer stream) throws XMLStreamException { 39 return null; 40 } 41 42 @Override 43 public XMLStreamWriter createXMLStreamWriter(OutputStream stream) throws XMLStreamException { 44 return null; 45 } 46 47 @Override 48 public XMLStreamWriter createXMLStreamWriter(OutputStream stream, String encoding) 49 throws XMLStreamException { 50 return null; 51 } 52 53 @Override 54 public XMLStreamWriter createXMLStreamWriter(Result result) throws XMLStreamException { 55 return null; 56 } 57 58 @Override 59 public XMLEventWriter createXMLEventWriter(Result result) throws XMLStreamException { 60 return null; 61 } 62 63 @Override 64 public XMLEventWriter createXMLEventWriter(OutputStream stream) throws XMLStreamException { 65 return null; 66 } 67 68 @Override 69 public XMLEventWriter createXMLEventWriter(OutputStream stream, String encoding) 70 throws XMLStreamException { 71 return null; 72 } 73 74 @Override 75 public XMLEventWriter createXMLEventWriter(Writer stream) throws XMLStreamException { 76 return null; 77 } 78 79 @Override 80 public void setProperty(String name, Object value) throws IllegalArgumentException { 81 82 } 83 84 @Override 85 public Object getProperty(String name) throws IllegalArgumentException { 86 return null; 87 } 88 89 @Override 90 public boolean isPropertySupported(String name) { 91 return false; 92 } 93 94} 95