/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2017, Open Source Geospatial Foundation (OSGeo)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation;
* version 2.1 of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*/
package org.geotools.data.complex.spi;
import org.geotools.data.complex.NestedAttributeMapping;
import org.geotools.data.complex.config.AppSchemaDataAccessConfigurator;
import org.geotools.data.complex.filter.XPathUtil;
import org.opengis.feature.type.Name;
import org.opengis.filter.expression.Expression;
import org.xml.sax.helpers.NamespaceSupport;
import java.util.Map;
public interface CustomMappingFactory {
NestedAttributeMapping createNestedAttributeMapping(AppSchemaDataAccessConfigurator configuration,
Expression idExpression, Expression parentExpression,
XPathUtil.StepList targetXPath, boolean isMultiValued,
Map<Name, Expression> clientProperties, Expression sourceElement,
XPathUtil.StepList sourcePath, NamespaceSupport namespaces);
}