AbstractDeploymentDescriptorDiscoverer, cf.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=474883@Deprecated public abstract class DeploymentDescriptorDiscoverer extends java.lang.Object implements Discoverer
| Modifier and Type | Field and Description |
|---|---|
static DiscoveryParameter |
PARAMETER_SERIALIZE_XMI
Deprecated.
A parameter key for indicating to serialize as an xmi file the obtained model.
|
static DiscoveryParameter |
PARAMETER_SILENT_MODE
Deprecated.
A parameter key for indicating to work without user interaction.
|
static DiscoveryParameter |
PARAMETER_TARGET_RESOURCE
Deprecated.
A parameter key for indicating an output target Resource instance.
|
| Constructor and Description |
|---|
DeploymentDescriptorDiscoverer()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Resource |
discoverElement(java.lang.Object source,
URI target)
Deprecated.
Discovers a generic Config model and open MoDisco editor or default editor.
|
static java.lang.String |
getDescXmlVersion(Plugin plugin,
java.lang.Object source,
java.lang.String rootName,
java.lang.String dtdUrl)
Deprecated.
Determine which version of DTD/XSD is used in the .xml file
|
static java.lang.String |
getDoctypeVersion(Plugin plugin,
java.lang.Object source,
java.lang.String rootName,
java.lang.String baseUrl)
Deprecated.
Look for a DOCTYPE declaration, then a dtd one.
|
Resource |
getResourceResult()
Deprecated.
|
static void |
saveResource(IProgressMonitor monitor,
URI sourceURI,
Resource resource)
Deprecated.
Save the Model on the disk
|
void |
setResourceResult(Resource resourceResult)
Deprecated.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDiscovererParameters, isApplicableTopublic static final DiscoveryParameter PARAMETER_SILENT_MODE
public static final DiscoveryParameter PARAMETER_SERIALIZE_XMI
public static final DiscoveryParameter PARAMETER_TARGET_RESOURCE
public DeploymentDescriptorDiscoverer()
public Resource getResourceResult()
public void setResourceResult(Resource resourceResult)
public Resource discoverElement(java.lang.Object source,
URI target)
discoverElement in interface Discoverersource - a IFile instance pointing to some contentstarget - should be null here.public static void saveResource(IProgressMonitor monitor,
URI sourceURI,
Resource resource)
throws java.io.IOException
monitor - sourceURI - resource - java.io.IOExceptionpublic static java.lang.String getDescXmlVersion(Plugin plugin,
java.lang.Object source,
java.lang.String rootName,
java.lang.String dtdUrl)
source - public static java.lang.String getDoctypeVersion(Plugin plugin,
java.lang.Object source,
java.lang.String rootName,
java.lang.String baseUrl)
file -