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 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 MappingSupport
getAcceptLocationExtensions, getAcceptOptionKeys, getFlavour, getLocation, getPomNames, getPriority, getReader, getWriter, locatePom, setAcceptLocationExtensions, setAcceptOptionKeys, setPomNames, setPriorityMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Mapping
getEnhancementProperties
-
Constructor Details
-
XmlMapping
public XmlMapping()
-
-
Method Details
-
accept
Description copied from interface:MappingTests weather this mapping accepts the given option- Specified by:
acceptin interfaceMapping- Overrides:
acceptin classMappingSupport- Parameters:
options- the options to use- Returns:
trueif options are accepted,falseotherwise
-