com.altova.TraceProvider Maven / Gradle / Ivy
/**
* TraceProvider.java
*
* This file was generated by MapForce 2017sp2.
*
* YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE
* OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.
*
* Refer to the MapForce Documentation for further details.
* http://www.altova.com/mapforce
*/
package com.altova;
public abstract class TraceProvider {
protected TraceTarget traceTarget = null;
protected void writeTrace(String info) {
if (traceTarget != null)
traceTarget.writeTrace(info);
}
public void registerTraceTarget(TraceTarget newTraceTarget) {
traceTarget = newTraceTarget;
}
public void unregisterTraceTarget() {
traceTarget = null;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy