Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


oracle.irm.engine.core.general
Class XPathExpressionFactory

java.lang.Object
  extended by oracle.irm.engine.core.general.XPathExpressionFactory


public final class XPathExpressionFactory
extends Object

X Path Expression factory. This class provides methods for creating new instances of XPathExpression objects.


Method Summary
static XPathExpression createXPathExpression(QName[] namespaceContexts, String value)
          Create an XPath.
static XPathExpression createXPathExpression(String[] contexts, String value)
          Create an XPath.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

createXPathExpression

public static XPathExpression createXPathExpression(String[] contexts,
                                                    String value)
Create an XPath.
Parameters:
contexts - an array of prefix and namespace URIs. e.g a, http://www.a.com, b, www.b.com. This parameter is optional, it is valid to pass null.
value - the XPath expression value.
Returns:
a new X Path Expression instance.

createXPathExpression

public static XPathExpression createXPathExpression(QName[] namespaceContexts,
                                                    String value)
Create an XPath.
Parameters:
namespaceContexts - the namespace contexts used in the expression. This parameter is optional, it is valid to pass null.
value - the XPath expression value.
Returns:
a new X Path Expression instance.

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


Copyright © 2011, Oracle. All rights reserved.