Class XmlMapping
java.lang.Object
org.sonatype.maven.polyglot.mapping.MappingSupport
org.sonatype.maven.polyglot.mapping.XmlMapping
- All Implemented Interfaces:
Mapping
Xml model mapping.
- Since:
- 0.7
-
Field Summary
Fields inherited from interface org.sonatype.maven.polyglot.mapping.Mapping
ARTIFACT_ID_PROPERTY, DESCRIPTION_PROPERTY, GROUP_ID_PROPERTY, NAME_PROPERTY, PACKAGING_PROPERTY, PROPERTY_PREFIX, URL_PROPERTY, VERSION_PROPERTY
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.sonatype.maven.polyglot.mapping.MappingSupport
getAcceptLocationExtensions, getAcceptOptionKeys, getFlavour, getLocation, getPomNames, getPriority, getReader, getWriter, locatePom, setAcceptLocationExtensions, setAcceptOptionKeys, setPomNames, setPriority
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.sonatype.maven.polyglot.mapping.Mapping
getEnhancementProperties
-
Constructor Details
-
XmlMapping
public XmlMapping()
-
-
Method Details
-
accept
Description copied from interface:Mapping
Tests weather this mapping accepts the given option- Specified by:
accept
in interfaceMapping
- Overrides:
accept
in classMappingSupport
- Parameters:
options
- the options to use- Returns:
true
if options are accepted,false
otherwise
-