o only one used interpolator method now, and it's generalized to taking the model and passing in properties so we can make different implementations

git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769682 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2009-04-29 06:52:50 +00:00
parent a4be625de5
commit be02d72fe6
2 changed files with 505 additions and 544 deletions

View File

@ -1,20 +1,12 @@
package org.apache.maven.model.interpolator;
import java.io.IOException;
import java.util.List;
import java.util.Properties;
import org.apache.maven.model.PomClassicDomainModel;
public interface Interpolator
{
String interpolateXmlString( String xml, List<InterpolatorProperty> interpolatorProperties )
throws IOException;
PomClassicDomainModel interpolateDomainModel( PomClassicDomainModel dm, List<InterpolatorProperty> interpolatorProperties )
throws IOException ;
PomClassicDomainModel interpolateDomainModel( PomClassicDomainModel dm, Properties interpolatorProperties )
throws IOException ;
PomClassicDomainModel interpolateDomainModel( PomClassicDomainModel dm, Properties interpolatorProperties )
throws IOException;
}