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.6
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 AbstractVisitor { @Override public VisitorAction visit(PMMLObject object){ object.setLocator(null); return super.visit(object); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy