org.apache.maven.plugin.eclipse.writers.wtp
Class EclipseWtpComponent15Writer
java.lang.Object
org.apache.maven.plugin.eclipse.writers.AbstractEclipseWriter
org.apache.maven.plugin.eclipse.writers.wtp.AbstractWtpResourceWriter
org.apache.maven.plugin.eclipse.writers.wtp.EclipseWtpComponentWriter
org.apache.maven.plugin.eclipse.writers.wtp.EclipseWtpComponent15Writer
- All Implemented Interfaces:
- EclipseWriter
public class EclipseWtpComponent15Writer
- extends EclipseWtpComponentWriter
Component writer for WTP 1.5. File name has changed in WTP 1.5rc2 and the project-version
attribute has
been added. These ones are the only differences
- Version:
- $Id: EclipseWtpComponent15Writer.java 691404 2008-09-02 21:57:19Z aheritier $
- Author:
- Fabrizio Giustina
Fields inherited from class org.apache.maven.plugin.eclipse.writers.wtp.AbstractWtpResourceWriter |
ATTR_DEPLOY_NAME, ATTR_DEPLOY_PATH, ATTR_MODULE_ID, ATTR_MODULE_TYPE_ID, ATTR_NAME, ATTR_PROJECT_VERSION, ATTR_SOURCE_PATH, ATTR_VALUE, ELT_MODULE_TYPE, ELT_PROJECT_MODULES, ELT_PROPERTY, ELT_VERSION, ELT_WB_MODULE, ELT_WB_RESOURCE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EclipseWtpComponent15Writer
public EclipseWtpComponent15Writer()
getComponentFileName
protected String getComponentFileName()
- File name where the WTP component settings will be stored for our Eclipse Project.
- Overrides:
getComponentFileName
in class EclipseWtpComponentWriter
- Returns:
org.eclipse.wst.common.component
getProjectVersion
protected String getProjectVersion()
- Version number added to component configuration.
- Overrides:
getProjectVersion
in class EclipseWtpComponentWriter
- Returns:
1.0
writeContextRoot
protected void writeContextRoot(XMLWriter writer)
- Overrides:
writeContextRoot
in class EclipseWtpComponentWriter
- Parameters:
writer
-
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.