Class XMLMapping

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

@Component(role=Mapping.class, hint="xml41") public class XMLMapping extends MappingSupport
XML model mapping.
  • 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
    • canParse

      private boolean canParse(Map<String,?> options)