Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

oracle.apps.fnd.applcore.log.xpath
Class IsLogLevelEnabledFunction

java.lang.Object
  extended by oracle.apps.fnd.applcore.log.xpath.IsLogLevelEnabledFunction
All Implemented Interfaces:
oracle.fabric.common.xml.xpath.IXPathFunction

public class IsLogLevelEnabledFunction
extends java.lang.Object
implements oracle.fabric.common.xml.xpath.IXPathFunction

The IsLogLevelEnabledFunction class defines two XPath extension functions.

Since:
11gR1
Version:
$Header: atgpf/applcore/applications/Services/XPath/src/oracle/apps/fnd/applcore/log/xpath/IsLogLevelEnabledFunction.java /main/8 2010/05/21 17:04:02 lwong Exp $
Author:
Oracle Corporation

Constructor Summary
IsLogLevelEnabledFunction()
          Default Constructor.
 
Method Summary
 java.lang.Object call(oracle.fabric.common.xml.xpath.IXPathContext context, java.util.List args)
          Required method for the IXPathFunction interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsLogLevelEnabledFunction

public IsLogLevelEnabledFunction()
Default Constructor.

Method Detail

call

public java.lang.Object call(oracle.fabric.common.xml.xpath.IXPathContext context,
                             java.util.List args)
                      throws oracle.fabric.common.xml.xpath.XPathFunctionException
Required method for the IXPathFunction interface. This method is intended to be called as an XPath function not directly. The isLogLevelEnabled XPath function can be called with one or two parameters. IsLogLevelEnabled(String LogLevel) IsLogLevelEnabled(String ApplicationShortName, String MessageName)

Specified by:
call in interface oracle.fabric.common.xml.xpath.IXPathFunction
Parameters:
context - This method is not intended to be directly called.
args - List of string arguments (e.g. LogLevel or AppShortName and MessageName
Returns:
true if logging is enabled at the supplied level or for the message, false otherwise
Throws:
oracle.fabric.common.xml.xpath.XPathFunctionException - Thrown when the level or supplied message are invalid.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.