|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.project.interpolation.RegexBasedModelInterpolator
public class RegexBasedModelInterpolator
Use a regular expression search to find and resolve expressions within the POM.
| Field Summary |
|---|
| Fields inherited from interface org.apache.maven.project.interpolation.ModelInterpolator |
|---|
ROLE |
| Constructor Summary | |
|---|---|
RegexBasedModelInterpolator()
|
|
| Method Summary | |
|---|---|
org.apache.maven.model.Model |
interpolate(org.apache.maven.model.Model model,
java.util.Map context)
Serialize the inbound Model instance to a StringWriter, perform the regex replacement to resolve POM expressions, then re-parse into the resolved Model instance. |
| Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
|---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegexBasedModelInterpolator()
| Method Detail |
|---|
public org.apache.maven.model.Model interpolate(org.apache.maven.model.Model model,
java.util.Map context)
throws ModelInterpolationException
interpolate in interface ModelInterpolatormodel - The inbound Model instance, to serialize and reference for expression resolutioncontext - The other context map to be used during resolution
ModelInterpolationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||