Class 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 org.sonatype.maven.polyglot.io.ModelReaderSupport
    XML model reader.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) PolyglotMavenXpp3Reader reader  
      • Fields inherited from interface org.apache.maven.model.io.ModelReader

        INPUT_SOURCE, IS_STRICT
    • Constructor Summary

      Constructors 
      Constructor Description
      XMLModelReader()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.maven.model.Model read​(java.io.Reader input, java.util.Map<java.lang.String,​?> options)  
      • Methods inherited from class org.sonatype.maven.polyglot.io.ModelReaderSupport

        getCharset, read, read
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XMLModelReader

        public XMLModelReader()
    • Method Detail

      • read

        public org.apache.maven.model.Model read​(java.io.Reader input,
                                                 java.util.Map<java.lang.String,​?> options)
                                          throws java.io.IOException,
                                                 org.apache.maven.model.io.ModelParseException
        Throws:
        java.io.IOException
        org.apache.maven.model.io.ModelParseException