|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XPathExpression
XPath expression.
Instances of X Path Expression objects can be created using the following factory style method(s).
XPathExpression object = createXPathExpression(
contexts,
value);
XPathExpression object = createXPathExpression(
namespaceContexts,
value);
X Path Expression instances can be serialized as an XML document. This XML document can also be used to recreate a X Path Expression object. The following XML document shows an example X Path Expression in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<core:XPathExpression xmlns:core="http://xmlns.oracle.com/irm/core">
<namespaceContexts xmlns:example1="http://www.example.com">example1:e1</namespaceContexts>
<namespaceContexts xmlns:example2="http://www.example2.com">example2:e2</namespaceContexts>
<value>e1:node[@name='hello']</value>
</core:XPathExpression>
| Method Summary | |
|---|---|
QName[] |
getNamespaceContexts()The namespace contexts used in the expression. |
String |
getValue()The XPath expression value. |
| Method Detail |
|---|
QName[] getNamespaceContexts()
String getValue()
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||