javax.xml.crypto.dsig.spec

Class XSLTTransformParameterSpec

  1. java.lang.Object
  2. extended byjavax.xml.crypto.dsig.spec.XSLTTransformParameterSpec
All implemented interfaces:
java.security.spec.AlgorithmParameterSpec, TransformParameterSpec

  1. public final class XSLTTransformParameterSpec
  2. extends java.lang.Object
  3. 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.
See Also:
Transform

Constructor Summary

Constructor and Description
XSLTTransformParameterSpec(XMLStructure stylesheet)
Creates an XSLTTransformParameterSpec with the specified stylesheet.

Method Summary

Modifier and Type Method and Description
  1. XMLStructure
getStylesheet()
Returns the stylesheet.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

XSLTTransformParameterSpec

  1. public XSLTTransformParameterSpec( XMLStructure stylesheet)
Creates an XSLTTransformParameterSpec with the specified stylesheet.
Parameters:
stylesheet - the XSLT stylesheet to be used
Throws:
java.lang.NullPointerException - if stylesheet is null

Method Detail

getStylesheet

  1. public XMLStructure getStylesheet( )
Returns the stylesheet.
Returns:
the stylesheet