Package org.sonatype.maven.polyglot.xml
Class XMLModelReader
java.lang.Object
org.sonatype.maven.polyglot.io.ModelReaderSupport
org.sonatype.maven.polyglot.xml.XMLModelReader
- All Implemented Interfaces:
org.apache.maven.model.io.ModelReader
@Component(role=org.apache.maven.model.io.ModelReader.class,
hint="xml41")
public class XMLModelReader
extends ModelReaderSupport
XML model reader.
-
Field Summary
FieldsFields inherited from interface org.apache.maven.model.io.ModelReader
INPUT_SOURCE, IS_STRICT
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.sonatype.maven.polyglot.io.ModelReaderSupport
getCharset, read, read
-
Field Details
-
reader
PolyglotMavenXpp3Reader reader
-
-
Constructor Details
-
XMLModelReader
public XMLModelReader()
-
-
Method Details
-
read
public org.apache.maven.model.Model read(Reader input, Map<String, ?> options) throws IOException, org.apache.maven.model.io.ModelParseException- Throws:
IOException
org.apache.maven.model.io.ModelParseException
-