Example usage for javax.xml.bind Marshaller.Listener subclass-usage

List of usage examples for javax.xml.bind Marshaller.Listener subclass-usage

Introduction

In this page you can find the example usage for javax.xml.bind Marshaller.Listener subclass-usage.

Usage

From source file Main.java

class DepthListener extends Marshaller.Listener {

    private int targetDepth;
    private int currentDepth = 0;

    public DepthListener(int depth) {