Package org.apache.maven.model.building
Class DefaultModelSourceTransformer
java.lang.Object
org.apache.maven.model.building.DefaultModelSourceTransformer
- All Implemented Interfaces:
- ModelSourceTransformer
Default ModelSourceTransformer, provides pomFile as inputStream and ignores the context
- Since:
- 4.0.0
- Author:
- Robert Scholte
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiontransform(XmlPullParser parser, Path pomFile, TransformerContext context) 
- 
Constructor Details- 
DefaultModelSourceTransformerpublic DefaultModelSourceTransformer()
 
- 
- 
Method Details- 
transformpublic XmlPullParser transform(XmlPullParser parser, Path pomFile, TransformerContext context) throws IOException, TransformerException - Specified by:
- transformin interface- ModelSourceTransformer
- pomFile- the pom file, cannot be null
- context- the context, cannot be null
- Returns:
- the InputStream for the ModelReader
- Throws:
- IOException- if an I/O error occurs
- TransformerException- if the transformation fails
 
 
-