Top Description Fields Constructors Methods
javax.xml.crypto.dsig.spec

public final Class XSLTTransformParameterSpec

extends Object
implements TransformParameterSpec
Class Inheritance
All Implemented Interfaces
javax.xml.crypto.dsig.spec.TransformParameterSpec, java.security.spec.AlgorithmParameterSpec
Imports
javax.xml.crypto.dsig.Transform, javax.xml.crypto.XMLStructure

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 org.w3c.dom.Element containing the namespace-qualified stylesheet element.
Authors
Sean Mullan, JSR 105 Expert Group
Since
1.6
See Also
Transform

Field Summary

Modifier and TypeField and Description
private XMLStructure

Constructor Summary

AccessConstructor and Description
public
XSLTTransformParameterSpec(XMLStructure
the XSLT stylesheet to be used
stylesheet
)

Creates an XSLTTransformParameterSpec with the specified stylesheet.

Method Summary

Modifier and TypeMethod and Description
public XMLStructure

Returns:

the stylesheet
getStylesheet
()

Returns the stylesheet.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

stylesheetback to summary
private XMLStructure stylesheet

Constructor Detail

XSLTTransformParameterSpecback to summary
public XSLTTransformParameterSpec(XMLStructure stylesheet)

Creates an XSLTTransformParameterSpec with the specified stylesheet.

Parameters
stylesheet:XMLStructure

the XSLT stylesheet to be used

Exceptions
NullPointerException:
if stylesheet is null

Method Detail

getStylesheetback to summary
public XMLStructure getStylesheet()

Returns the stylesheet.

Returns:XMLStructure

the stylesheet