org.apache.maven.plugin.eclipse.writers.wtp
Class EclipseWtpComponent15Writer

java.lang.Object
  extended by org.apache.maven.plugin.eclipse.writers.AbstractEclipseWriter
      extended by org.apache.maven.plugin.eclipse.writers.wtp.AbstractWtpResourceWriter
          extended by org.apache.maven.plugin.eclipse.writers.wtp.EclipseWtpComponentWriter
              extended by 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

Field Summary
 
Fields inherited from class org.apache.maven.plugin.eclipse.writers.wtp.EclipseWtpComponentWriter
ATTR_CONTEXT_ROOT, DIR_WTP_SETTINGS
 
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
 
Fields inherited from class org.apache.maven.plugin.eclipse.writers.AbstractEclipseWriter
config, log
 
Constructor Summary
EclipseWtpComponent15Writer()
           
 
Method Summary
protected  String getComponentFileName()
          File name where the WTP component settings will be stored for our Eclipse Project.
protected  String getProjectVersion()
          Version number added to component configuration.
protected  void writeContextRoot(XMLWriter writer)
           
 
Methods inherited from class org.apache.maven.plugin.eclipse.writers.wtp.EclipseWtpComponentWriter
write
 
Methods inherited from class org.apache.maven.plugin.eclipse.writers.wtp.AbstractWtpResourceWriter
addDependency, writeModuleTypeAccordingToPackaging, writeWarOrEarResources
 
Methods inherited from class org.apache.maven.plugin.eclipse.writers.AbstractEclipseWriter
init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EclipseWtpComponent15Writer

public EclipseWtpComponent15Writer()
Method Detail

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.