Example usage for javax.xml.stream XMLStreamReader getClass

List of usage examples for javax.xml.stream XMLStreamReader getClass

Introduction

In this page you can find the example usage for javax.xml.stream XMLStreamReader getClass.

Prototype

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

Source Link

Document

Returns the runtime class of this Object .

Usage

From source file:org.apache.synapse.commons.json.XmlReaderDelegate.java

public XmlReaderDelegate(XMLStreamReader reader, boolean processNCNames) {
    super(reader);
    /** Possible reader implementations include;
     com.ctc.wstx.sr.ValidatingStreamReader
     de.odysseus.staxon.json.JsonXMLStreamReader
     com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl
     *///from  w  ww .ja va2 s  .  c o m
    if (logger.isDebugEnabled()) {
        logger.debug("#XmlReaderDelegate. Setting XMLStreamReader: " + reader.getClass().getName());
    }
    this.processNCNames = processNCNames;
}