Example usage for org.apache.commons.digester Digester getClass

List of usage examples for org.apache.commons.digester Digester getClass

Introduction

In this page you can find the example usage for org.apache.commons.digester Digester getClass.

Prototype

@HotSpotIntrinsicCandidate
public final native Class<?> getClass();

Source Link

Document

Returns the runtime class of this Object .

Usage

From source file:org.opencms.configuration.CmsSetNextRule.java

/**
 * Set the associated digester.<p>
 * /*from   w w  w .j a v  a  2 s.c  om*/
 * The digester gets assigned to use the OpenCms conform logging
 * 
 * If needed, this class loads the parameter classes from their names.<p>
 * 
 * @param aDigester the associated digester to set
 */
@Override
public void setDigester(Digester aDigester) {

    aDigester.setLogger(CmsLog.getLog(aDigester.getClass()));
    // call superclass
    super.setDigester(aDigester);
}