Skip navigation links

Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10680-04


oracle.security.xmlsec.transform
Class EbxmlXPathFilter

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

All Implemented Interfaces:
NodeFilterTransform

public class EbxmlXPathFilter
extends XSTransformer
implements NodeFilterTransform

EbXML defines a particular XPath filter, see http://www.oasis-open.org/committees/download.php/272/ebMS_v2_0.pdf . This Transformer processes this XPath Filter specially, for high performance

Since:
release specific (what release of product did this appear in)
Version:
$Header: entsec_ldap/java/src/oracle/security/xmlsec/transform/EbxmlXPathFilter.java /main/2 2010/03/08 22:52:36 pdatta Exp $

Field Summary

 

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

 

Fields inherited from interface oracle.security.xmlsec.transform.NodeFilterTransform
NO_TO_SELF, NO_TO_SELF_AND_DESCENDANTS, YES_TO_SELF, YES_TO_SELF_AND_DESCENDANTS

 

Constructor Summary
EbxmlXPathFilter(XPathFilter xpfilter)
           

 

Method Summary
 int accept(org.w3c.dom.Node node)
          return YES_TO_SELF, NO_TO_SELF, YES_TO_SELF_AND_DESCENDANTS or YES_TO_SELF_AND_DESCENDANTS depending on whether the node is filtered out
 java.lang.String getAlgorithmURI()
          Returns the URI string identifying the Transform algorithm.
static boolean isEbXMLFilter(XPathFilter filter)
           
 XMLContainer transform(XMLContainer source)
          Applies the transform to the given XMLContainer and returns the 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

EbxmlXPathFilter

public EbxmlXPathFilter(XPathFilter xpfilter)

Method Detail

isEbXMLFilter

public static boolean isEbXMLFilter(XPathFilter filter)

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
Description copied from class: 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 XSTransformer
Parameters:
source - A XMLContainer on which the transform will operate.
Returns:
A XMLContainer containing the transform result.
Throws:
TransformationException - if an error occurs during the transformation process.

accept

public int accept(org.w3c.dom.Node node)
           throws TransformationException
Description copied from interface: NodeFilterTransform
return YES_TO_SELF, NO_TO_SELF, YES_TO_SELF_AND_DESCENDANTS or YES_TO_SELF_AND_DESCENDANTS depending on whether the node is filtered out
Specified by:
accept in interface NodeFilterTransform
Returns:
Throws:
TransformationException

Skip navigation links

Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10680-04


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