W3cubDocs

/OpenJDK 8 Web

Class XSLTTransformParameterSpec

All Implemented Interfaces:
AlgorithmParameterSpec, TransformParameterSpec
public final class XSLTTransformParameterSpec
extends Object
implements TransformParameterSpec

Parameters for the XSLT Transform Algorithm. The parameters include a namespace-qualified stylesheet element.

An XSLTTransformParameterSpec is instantiated with a mechanism-dependent (ex: DOM) stylesheet element. For example:

DOMStructure stylesheet = new DOMStructure(element)
   XSLTTransformParameterSpec spec = new XSLTransformParameterSpec(stylesheet);
where element is an Element containing the namespace-qualified stylesheet element.
Since:
1.6
See Also:
Transform

Constructors

XSLTTransformParameterSpec

public XSLTTransformParameterSpec(XMLStructure stylesheet)

Creates an XSLTTransformParameterSpec with the specified stylesheet.

Parameters:
stylesheet - the XSLT stylesheet to be used
Throws:
NullPointerException - if stylesheet is null

Methods

getStylesheet

public XMLStructure getStylesheet()

Returns the stylesheet.

Returns:
the stylesheet

© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.