All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jpmml.model.visitors.LocatorNullifier Maven / Gradle / Ivy

There is a newer version: 1.6.11
Show newest version
/*
 * Copyright (c) 2013 Villu Ruusmann
 */
package org.jpmml.model.visitors;

import org.dmg.pmml.PMMLObject;
import org.dmg.pmml.VisitorAction;
import org.xml.sax.Locator;

/**
 * 

* A Visitor that clears the SAX Locator information of a class model object by setting it to null. *

* * @see PMMLObject#getLocator() * @see PMMLObject#setLocator(Locator) */ public class LocatorNullifier extends AbstractSimpleVisitor { @Override public VisitorAction visit(PMMLObject object){ object.setLocator(null); return VisitorAction.CONTINUE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy