alma::acs::eclipse::utils::pluginbuilder::PluginXmlWriter Class Reference

Collaboration diagram for alma::acs::eclipse::utils::pluginbuilder::PluginXmlWriter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PluginXmlWriter (File outFileFolder) throws IOException
void write () throws IOException

Static Public Attributes

static final String xmlHeader = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
static final String eclipseTAG = "<?eclipse version=\"3.2\"?>\n"
static final String openingPluginTAG = "<plugin>\n"
static final String closingPluginTAG = "</plugin>\n\n"
static final String pluginXMLFileName = "plugin.xml"

Private Attributes

final FileWriter outFile

Detailed Description

Write the plugin.xml file.

The generated plugin has not extensions not extension points so PluginXmlWriter generates an empty plugin.xml file.

Author:
acaproni

Constructor & Destructor Documentation

alma::acs::eclipse::utils::pluginbuilder::PluginXmlWriter::PluginXmlWriter ( File  outFileFolder  )  throws IOException [inline]

Constructor.

Parameters:
outFile The writable file for writing plugin.xml info into
Exceptions:
IOException In case of error creating the file for writing

References outFile, and pluginXMLFileName.


Member Function Documentation

void alma::acs::eclipse::utils::pluginbuilder::PluginXmlWriter::write (  )  throws IOException [inline]

Write the XML content into the file

Exceptions:
IOException In case of errors writing into the file

References closingPluginTAG, eclipseTAG, openingPluginTAG, outFile, and xmlHeader.

Referenced by alma::acs::eclipse::utils::pluginbuilder::PluginBuilder::addPluginXML().


Member Data Documentation

The opening plugin TAG

Referenced by write().

final String alma::acs::eclipse::utils::pluginbuilder::PluginXmlWriter::eclipseTAG = "<?eclipse version=\"3.2\"?>\n" [static]

The eclipse TAG

Referenced by write().

The opening plugin TAG

Referenced by write().

The file for writing

Referenced by PluginXmlWriter(), and write().

The name of the XML definition file

Referenced by PluginXmlWriter().

final String alma::acs::eclipse::utils::pluginbuilder::PluginXmlWriter::xmlHeader = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" [static]

The XML header

Referenced by write().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2