1 /*
2 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
3 * @LastModified: Oct 2017
4 */
5 /*
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
12 *
13 * http://www.apache.org/licenses/LICENSE-2.0
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.org.apache.xml.internal.serializer;
23
63 * object of this class.
64 *
65 * <li> <b>S_KEY_ENTITIES </b> -
66 * This non-standard property key is used to specify the name of the property file
67 * that specifies character to entity reference mappings. A line in such a
68 * file is has the name of the entity and the numeric (base 10) value
69 * of the corresponding character, like this one: <br> quot=34 <br>
70 *
71 * <li> <b>S_USE_URL_ESCAPING </b> -
72 * This non-standard property key is used to set a value of "yes" if the href values for HTML serialization should
73 * use %xx escaping.
74 *
75 * <li> <b>S_OMIT_META_TAG </b> -
76 * This non-standard property key is used to set a value of "yes" if the META tag should be omitted where it would
77 * otherwise be supplied.
78 * </ul>
79 *
80 * @see SerializerFactory
81 * @see Method
82 * @see Serializer
83 */
84 public final class OutputPropertiesFactory
85 {
86 /** S_BUILTIN_EXTENSIONS_URL is a mnemonic for the XML Namespace
87 *(http://xml.apache.org/xalan) predefined to signify Xalan's
88 * built-in XSLT Extensions. When used in stylesheets, this is often
89 * bound to the "xalan:" prefix.
90 */
91 private static final String
92 S_BUILTIN_EXTENSIONS_URL = "http://xml.apache.org/xalan";
93
94 /**
95 * The old built-in extension url. It is still supported for
96 * backward compatibility.
97 */
98 private static final String
99 S_BUILTIN_OLD_EXTENSIONS_URL = "http://xml.apache.org/xslt";
100
101 //************************************************************
102 //* PUBLIC CONSTANTS
|
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 package com.sun.org.apache.xml.internal.serializer;
22
62 * object of this class.
63 *
64 * <li> <b>S_KEY_ENTITIES </b> -
65 * This non-standard property key is used to specify the name of the property file
66 * that specifies character to entity reference mappings. A line in such a
67 * file is has the name of the entity and the numeric (base 10) value
68 * of the corresponding character, like this one: <br> quot=34 <br>
69 *
70 * <li> <b>S_USE_URL_ESCAPING </b> -
71 * This non-standard property key is used to set a value of "yes" if the href values for HTML serialization should
72 * use %xx escaping.
73 *
74 * <li> <b>S_OMIT_META_TAG </b> -
75 * This non-standard property key is used to set a value of "yes" if the META tag should be omitted where it would
76 * otherwise be supplied.
77 * </ul>
78 *
79 * @see SerializerFactory
80 * @see Method
81 * @see Serializer
82 * @LastModified: Oct 2017
83 */
84 public final class OutputPropertiesFactory
85 {
86 /** S_BUILTIN_EXTENSIONS_URL is a mnemonic for the XML Namespace
87 *(http://xml.apache.org/xalan) predefined to signify Xalan's
88 * built-in XSLT Extensions. When used in stylesheets, this is often
89 * bound to the "xalan:" prefix.
90 */
91 private static final String
92 S_BUILTIN_EXTENSIONS_URL = "http://xml.apache.org/xalan";
93
94 /**
95 * The old built-in extension url. It is still supported for
96 * backward compatibility.
97 */
98 private static final String
99 S_BUILTIN_OLD_EXTENSIONS_URL = "http://xml.apache.org/xslt";
100
101 //************************************************************
102 //* PUBLIC CONSTANTS
|