
net.anwiba.spatial.topo.json.marshal.TopoJsonObjectMarshallerFactory Maven / Gradle / Ivy
// Copyright (c) 2012 by Andreas W. Bartels ([email protected])
package net.anwiba.spatial.topo.json.marshal;
public class TopoJsonObjectMarshallerFactory {
private final boolean isPrittyPrintEnabled;
public TopoJsonObjectMarshallerFactory(final boolean isPrittyPrintEnabled) {
this.isPrittyPrintEnabled = isPrittyPrintEnabled;
}
public TopoJsonObjectMarshaller create(final Class clazz) {
return new TopoJsonObjectMarshaller<>(clazz, this.isPrittyPrintEnabled);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy