- java.lang.Object
- 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);
whereelement
is anElement
containing the namespace-qualified stylesheet element.- Since:
- 1.6
- See Also:
Transform
Constructor Summary
Constructors Constructor Description XSLTTransformParameterSpec(XMLStructure stylesheet)
Creates anXSLTTransformParameterSpec
with the specified stylesheet.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLStructure
getStylesheet()
Returns the stylesheet.
Constructor Detail
XSLTTransformParameterSpec
public XSLTTransformParameterSpec(XMLStructure stylesheet)
Creates anXSLTTransformParameterSpec
with the specified stylesheet.- Parameters:
stylesheet
- the XSLT stylesheet to be used- Throws:
NullPointerException
- ifstylesheet
isnull
Method Detail
getStylesheet
public XMLStructure getStylesheet()
Returns the stylesheet.- Returns:
- the stylesheet