Skip navigation links

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


Interface XPathClassificationFilter

All Superinterfaces:

public interface XPathClassificationFilter
extends ClassificationFilter

An XPath based classification filter. An XPath classification filter uses a boolean XPath expression to filter out applicable classifications. The classification Cookie is transformed into an XML document and then compared against the boolean XPath expression. This can be used as a generic way of filtering out Classification instances by running an expression against the XML based cookie.

For example, the context classification system uses an XPath that matches on the Context UUID. e.g. the following XPath expression would match all sealed content that had a context cookie with a context UUID of 37bbe0fa-9eb4-462e-85b6-9796610f1b20.



Instances of X Path Classification Filter objects can be created using the following factory style method(s).

XPathClassificationFilter object = createXPathClassificationFilter(

XML Serialization

X Path Classification Filter instances can be serialized as an XML document. This XML document can also be used to recreate a X Path Classification Filter object. The following XML document shows an example X Path Classification Filter in XML form.

<?xml version="1.0" encoding="UTF-8"?>
<core:XPathClassificationFilter xmlns:core="">
        <namespaceContexts xmlns:example1="">example1:example</namespaceContexts>
        <namespaceContexts xmlns:example2="">example2:example</namespaceContexts>

Method Summary
 XPathExpression getExpression()
          The XPath expression.


Methods inherited from interface oracle.irm.engine.core.classification.ClassificationFilter
getIndex, getSystem, getUri, isApplicable


Method Detail


XPathExpression getExpression()
The XPath expression. The results of this expression are evaluated as be a boolean value.
the value of the property. This method will never return null.

Skip navigation links

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


Copyright © 2011, Oracle. All rights reserved.