286N/A * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. 286N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 286N/A * This code is free software; you can redistribute it and/or modify it 286N/A * under the terms of the GNU General Public License version 2 only, as 286N/A * published by the Free Software Foundation. Oracle designates this 286N/A * particular file as subject to the "Classpath" exception as provided 286N/A * by Oracle in the LICENSE file that accompanied this code. 286N/A * This code is distributed in the hope that it will be useful, but WITHOUT 286N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 286N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 286N/A * version 2 for more details (a copy is included in the LICENSE file that 286N/A * accompanied this code). 286N/A * You should have received a copy of the GNU General Public License version 286N/A * 2 along with this work; if not, write to the Free Software Foundation, 286N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 286N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 286N/A * or visit www.oracle.com if you need additional information or have any 286N/A * An object that implements this interface is the runtime representation of processed 286N/A * transformation instructions. 286N/A * <p>Templates must be threadsafe for a given instance 286N/A * over multiple threads running concurrently, and may 286N/A * be used multiple times in a given session.</p> 286N/A * Create a new transformation context for this Templates object. 286N/A * @return A valid non-null instance of a Transformer. 286N/A * @throws TransformerConfigurationException if a Transformer can not be created. 286N/A * Get the properties corresponding to the effective xsl:output element. 286N/A * The object returned will 286N/A * be a clone of the internal values. Accordingly, it can be mutated 286N/A * without mutating the Templates object, and then handed in to 286N/A * <p>The properties returned should contain properties set by the stylesheet, 286N/A * and these properties are "defaulted" by default properties specified by 286N/A * XSL Transformations (XSLT) W3C Recommendation</a>. The properties that 286N/A * were specifically set by the stylesheet should be in the base 286N/A * Properties list, while the XSLT default properties that were not 286N/A * specifically set should be in the "default" Properties list. Thus, 286N/A * getOutputProperties().getProperty(String key) will obtain any 286N/A * property in that was set by the stylesheet, <em>or</em> the default 286N/A * getOutputProperties().get(String key) will only retrieve properties 286N/A * that were explicitly set in the stylesheet.</p> 286N/A * Value Templates</a> attribute values will 286N/A * be returned unexpanded (since there is no context at this point). The 286N/A * namespace prefixes inside Attribute Value Templates will be unexpanded, 286N/A * so that they remain valid XPath values.</p> 286N/A * @return A Properties object, never null.