Skip navigation links
oracle.security.xmlsec.wss.transform
Class StreamingSTRTransform
java.lang.Object
oracle.security.xmlsec.transform.XSTransformer
oracle.security.xmlsec.wss.transform.StreamingSTRTransform
- All Implemented Interfaces:
- oracle.security.xmlsec.transform.NodeToStreamTransform
-
public class StreamingSTRTransform
- extends oracle.security.xmlsec.transform.XSTransformer
- implements oracle.security.xmlsec.transform.NodeToStreamTransform
- Since:
- release specific (what release of product did this appear in)
- Version:
- $Header: ldap/java/src/oracle/security/xmlsec/wss/transform/StreamingSTRTransform.java /main/8 2009/01/22 12:03:57 pdatta Exp $
Fields inherited from class oracle.security.xmlsec.transform.XSTransformer |
transform |
Constructor Summary |
StreamingSTRTransform(oracle.security.xmlsec.dsig.XSAlgorithmIdentifier trans)
Create a new STRTransform instance. |
Method Summary |
java.lang.String |
getAlgorithmURI()
Get the transformation algorithm URI. |
java.lang.String |
getCanonicalizationMethod()
Get the transformation algorithm. |
oracle.security.xmlsec.util.XMLContainer |
transform(oracle.security.xmlsec.util.XMLContainer source)
Applies the transform to the given XMLContainer and returns the result in a new XMLContainer . |
oracle.security.xmlsec.util.XMLContainer |
transform(oracle.security.xmlsec.util.XMLContainer source, java.util.Map STRToST)
|
java.io.InputStream |
transformToStream(oracle.security.xmlsec.util.NodeReader source)
transform method that does not actually do the transform, but only sets up things. |
Methods inherited from class oracle.security.xmlsec.transform.XSTransformer |
applyTransforms, getInstance, getInstance, getTransform |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamingSTRTransform
public StreamingSTRTransform(oracle.security.xmlsec.dsig.XSAlgorithmIdentifier trans)
- Create a new
STRTransform
instance.
- Parameters:
trans
- The tranformation parameters.
getAlgorithmURI
public java.lang.String getAlgorithmURI()
- Get the transformation algorithm URI.
-
- Specified by:
getAlgorithmURI
in class oracle.security.xmlsec.transform.XSTransformer
-
- Returns:
- The algorithm URI.
- See Also:
XSTransformer.getAlgorithmURI()
getCanonicalizationMethod
public java.lang.String getCanonicalizationMethod()
- Get the transformation algorithm.
-
- Returns:
- The algorithm string.
transform
public oracle.security.xmlsec.util.XMLContainer transform(oracle.security.xmlsec.util.XMLContainer source)
throws oracle.security.xmlsec.transform.TransformationException
- Description copied from class:
oracle.security.xmlsec.transform.XSTransformer
- Applies the transform to the given
XMLContainer
and returns the result in a new XMLContainer
.
Implementing subclasses are responsible for ensuring that the given XMLContainer
contains the input required, and for any needed conversions if it does not.
-
- Specified by:
transform
in class oracle.security.xmlsec.transform.XSTransformer
-
- Parameters:
source
- A XMLContainer
on which the transform will operate.
- Returns:
- A
XMLContainer
containing the transform result.
- Throws:
oracle.security.xmlsec.transform.TransformationException
- if an error occurs during the transformation process.
transform
public oracle.security.xmlsec.util.XMLContainer transform(oracle.security.xmlsec.util.XMLContainer source,
java.util.Map STRToST)
throws oracle.security.xmlsec.transform.TransformationException
-
- Throws:
oracle.security.xmlsec.transform.TransformationException
transformToStream
public java.io.InputStream transformToStream(oracle.security.xmlsec.util.NodeReader source)
throws oracle.security.xmlsec.transform.TransformationException
- Description copied from interface:
oracle.security.xmlsec.transform.NodeToStreamTransform
- transform method that does not actually do the transform, but only sets up things. The actual transform should be done when somebody reads from the InputStream
-
- Specified by:
transformToStream
in interface oracle.security.xmlsec.transform.NodeToStreamTransform
-
- Returns:
- Throws:
oracle.security.xmlsec.transform.TransformationException
Skip navigation links
Copyright © 2005, 2009, Oracle. All rights reserved.