|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.modisco.jee.actions.DeploymentDescriptorDiscoverer
AbstractDeploymentDescriptorDiscoverer
@Deprecated public abstract class DeploymentDescriptorDiscoverer
A default implementation for discovering JEE configuration file
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
DeploymentDescriptorDiscoverer()
Deprecated. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.gmt.modisco.infra.discoverymanager.Discoverer |
|---|
getDiscovererParameters, isApplicableTo |
| Field Detail |
|---|
public static final DiscoveryParameter PARAMETER_SILENT_MODE
public static final DiscoveryParameter PARAMETER_SERIALIZE_XMI
public static final DiscoveryParameter PARAMETER_TARGET_RESOURCE
| Constructor Detail |
|---|
public DeploymentDescriptorDiscoverer()
| Method Detail |
|---|
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.IOException
public 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 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||