1 /* 2 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. 3 */ 4 /* 5 * Licensed to the Apache Software Foundation (ASF) under one or more 6 * contributor license agreements. See the NOTICE file distributed with 7 * this work for additional information regarding copyright ownership. 8 * The ASF licenses this file to You under the Apache License, Version 2.0 9 * (the "License"); you may not use this file except in compliance with 10 * the License. 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 22 package com.sun.org.apache.xml.internal.serialize; 23 24 25 /** 26 * @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a> 27 * @see OutputFormat 28 * 29 * @deprecated As of JDK 9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation 30 * is replaced by that of Xalan. Main class 31 * {@link com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl} is replaced 32 * by {@link com.sun.org.apache.xml.internal.serializer.dom3.LSSerializerImpl}. 33 */ 34 @Deprecated 35 public final class Method 36 { 37 38 39 /** 40 * The output method for XML documents. 41 */ 42 public static final String XML = "xml"; 43 44 45 /** 46 * The output method for HTML documents. 47 */ 48 public static final String HTML = "html"; 49 50 51 /** 52 * The output method for HTML documents as XHTML. 53 */ 54 public static final String XHTML = "xhtml"; 55 56 57 /** 58 * The output method for text documents. 59 */ 60 public static final String TEXT = "text"; 61 62 63 /** 64 * The output method for FO documents as PDF. 65 */ 66 public static final String FOP = "fop"; 67 68 69 }