|
Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10680-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.security.xmlsec.transform.XSTransformer
oracle.security.xmlsec.transform.XPathFilter
public class XPathFilter
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 | |
|---|---|
XPathFilter(XSAlgorithmIdentifier trans)Creates a new XPathFilter instance. |
|
| Method Summary | |
|---|---|
static java.util.Set |
applyXPath(java.lang.String xpathStr, java.util.Set nodeSet, org.w3c.dom.Node nsNode, org.w3c.dom.Node xpathNode)Applies the transform's XPath expression to the given node-set and returns the resulting node-set. |
java.lang.String |
getAlgorithmURI()Returns the URI string identifying the Transform algorithm. |
java.lang.String |
getXPath()Returns the XPath expression. |
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 |
|---|
public XPathFilter(XSAlgorithmIdentifier trans)
XPathFilter instance.
trans - A XSAlgorithmIdentifier object containing exactly one parameter named "XPath".java.lang.IllegalArgumentException - If the XSAlgorithmIdentifier is not a valid XPath Transform.| Method Detail |
|---|
public java.lang.String getXPath()
public static java.util.Set applyXPath(java.lang.String xpathStr,
java.util.Set nodeSet,
org.w3c.dom.Node nsNode,
org.w3c.dom.Node xpathNode)
throws XPathException
xpathStr - The XPath expression to apply to the input node-set.nodeSet - The input node-set against which the XPath expression is to be evaluated.nsNode - The Node, usually the XPath element, which will be used for namespace prefix resolution.xpathNode - The Node, usually the Text node containing the XPath expression, which will be the point of reference for the here() function.org.w3c.dom.NodeList containing the resulting node-set.TransformerException - If an error occurs while processing the XPath expression.XPathExceptionpublic java.lang.String getAlgorithmURI()
XSTransformergetAlgorithmURI in class XSTransformer
public XMLContainer transform(XMLContainer source)
throws TransformationException
XMLContainer and returns the node list result in a new XMLContainer.transform in class XSTransformersource - A XMLContainer on which the transform will operate.XMLContainer containing the transform node list result.TransformationException - if an error occurs during the transformation process.
|
Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10680-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||