Skip navigation links
oracle.security.xmlsec.transform
Class EbxmlXPathFilter
java.lang.Object
oracle.security.xmlsec.transform.XSTransformer
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 $
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EbxmlXPathFilter
public EbxmlXPathFilter(XPathFilter xpfilter)
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
Copyright © 2005, 2011 , Oracle. All rights reserved.