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

org.unlaxer.jaddress.parser.ResolverContext Maven / Gradle / Ivy

package org.unlaxer.jaddress.parser;

import org.unlaxer.jaddress.parser.processor.BlockHierarchyResolver.BlockPatternResolver;
import org.unlaxer.jaddress.parser.processor.BlockHierarchyResolver.SimpleBlockPatternResolver;

import io.vavr.Lazy;

public interface ResolverContext{
	
	static Lazy blockPatternResolver = Lazy.of(SimpleBlockPatternResolver::new);
	static Lazy buildingHierarchyResolver = Lazy.of(SimpleBuildingHierarchyResolver::new);
	
	public default BlockPatternResolver getBlockPatternResolver() {
		return blockPatternResolver.get();
	}
	
	public default BuildingHierarchyResolver getBuildingHierarchyResolver() {
		return buildingHierarchyResolver.get();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy