Skip navigation links

Oracle Security Developer Tools XML Security Java API Reference
11g (11.1.1)

E10680-02


oracle.security.xmlsec.transform
Class XPathFilter2

java.lang.Object
  extended by oracle.security.xmlsec.transform.XSTransformer
      extended by oracle.security.xmlsec.transform.XPathFilter2


public class XPathFilter2
extends XSTransformer

Internal use only. Applies XPath filter expressions as a XML-DSIG Transform.


Field Summary

 

Fields inherited from class oracle.security.xmlsec.transform.XSTransformer
transform

 

Constructor Summary
XPathFilter2(XSAlgorithmIdentifier trans)
          Creates a new XPathFilter instance.

 

Method Summary
 java.lang.String getAlgorithmURI()
          Returns the URI string identifying the Transform algorithm.
 XMLContainer transform(XMLContainer source)
          Applies a XPath filter transformation to the given XMLContainer and returns the node list result in a new XMLContainer.

 

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

 

Constructor Detail

XPathFilter2

public XPathFilter2(XSAlgorithmIdentifier trans)
Creates a new XPathFilter instance.
Parameters:
trans - A XSAlgorithmIdentifier object containing exactly one parameter named "XPath".
Throws:
java.lang.IllegalArgumentException - If the XSAlgorithmIdentifier is not a valid XPath Transform.

Method Detail

getAlgorithmURI

public java.lang.String getAlgorithmURI()
Description copied from class: XSTransformer
Returns the URI string identifying the Transform algorithm.
Specified by:
getAlgorithmURI in class XSTransformer
Returns:
This Transform's URI string.

transform

public XMLContainer transform(XMLContainer source)
                       throws TransformationException
Applies a XPath filter transformation to the given XMLContainer and returns the node list result in a new XMLContainer.
Specified by:
transform in class XSTransformer
Parameters:
source - A XMLContainer on which the transform will operate.
Returns:
A XMLContainer containing the transform node list result.
Throws:
TransformationException - if an error occurs during the transformation process.

Skip navigation links

Oracle Security Developer Tools XML Security Java API Reference
11g (11.1.1)

E10680-02


Copyright © 2005, 2009, Oracle. All rights reserved.