Class XmlMapping

java.lang.Object
org.sonatype.maven.polyglot.mapping.MappingSupport
org.sonatype.maven.polyglot.mapping.XmlMapping
All Implemented Interfaces:
Mapping

@Component(role=Mapping.class, hint="xml") public class XmlMapping extends MappingSupport
Xml model mapping.
Since:
0.7
Author:
Jason Dillon
  • Constructor Details

    • XmlMapping

      public XmlMapping()
  • Method Details

    • accept

      public boolean accept(Map<String,?> options)
      Description copied from interface: Mapping
      Tests weather this mapping accepts the given option
      Specified by:
      accept in interface Mapping
      Overrides:
      accept in class MappingSupport
      Parameters:
      options - the options to use
      Returns:
      true if options are accepted, false otherwise