Java™ Platform
Standard Ed. 6

javax.xml.crypto.dsig.spec
Class XSLTTransformParameterSpec

java.lang.Object
  extended by javax.xml.crypto.dsig.spec.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

Constructor Summary
XSLTTransformParameterSpec(XMLStructure stylesheet)
          Creates an XSLTTransformParameterSpec with the specified stylesheet.
 
Method Summary
 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

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
Method Detail

getStylesheet

public XMLStructure getStylesheet()
Returns the stylesheet.

Returns:
the stylesheet

Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.