org.eclipse.modisco.jee.webapp.discoverer.actions
Class WebXmlDiscoverer

java.lang.Object
  extended by org.eclipse.modisco.jee.actions.DeploymentDescriptorDiscoverer
      extended by org.eclipse.modisco.jee.webapp.discoverer.actions.WebXmlDiscoverer
All Implemented Interfaces:
Discoverer

Deprecated. use WebXmlDiscoverer2 instead

@Deprecated
public class WebXmlDiscoverer
extends DeploymentDescriptorDiscoverer

Discover web.xml generic model action.


Field Summary
 
Fields inherited from class org.eclipse.modisco.jee.actions.DeploymentDescriptorDiscoverer
PARAMETER_SERIALIZE_XMI, PARAMETER_SILENT_MODE, PARAMETER_TARGET_RESOURCE
 
Constructor Summary
WebXmlDiscoverer()
          Deprecated.  
 
Method Summary
 void discoverElement(java.lang.Object source, java.util.Map<DiscoveryParameter,java.lang.Object> parameters)
          Deprecated. Discovers a generic WebXml model.
 java.util.List<DiscoveryParameter> getDiscovererParameters()
          Deprecated. Get a complete list of all parameters available in this discoverer.
static java.lang.String getDtdUrl()
          Deprecated.  
static java.lang.String getRootName()
          Deprecated.  
 boolean isApplicableTo(java.lang.Object source)
          Deprecated. To determine if the source object can be handled by the discoverer.
 
Methods inherited from class org.eclipse.modisco.jee.actions.DeploymentDescriptorDiscoverer
getDescXmlVersion, getDoctypeVersion, getResourceResult, saveResource, setResourceResult
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebXmlDiscoverer

public WebXmlDiscoverer()
Deprecated. 
Method Detail

isApplicableTo

public boolean isApplicableTo(java.lang.Object source)
Deprecated. 
Description copied from interface: Discoverer
To determine if the source object can be handled by the discoverer. Each discoverer has to implement this method with its own criteria to filter the selected object. If the source object is managed by this discoverer, the discoverer menu will be available in the pop-up menu when users click with the contextual button (right-click), and in the discoverer launch configuration types.

Parameters:
source - the selected object.
Returns:
true if the selected object is managed by this discoverer, false otherwise.

discoverElement

public void discoverElement(java.lang.Object source,
                            java.util.Map<DiscoveryParameter,java.lang.Object> parameters)
Deprecated. 
Discovers a generic WebXml model.

Specified by:
discoverElement in interface Discoverer
Overrides:
discoverElement in class DeploymentDescriptorDiscoverer
Parameters:
source - can be a workspace IFile or a java.io.File instance pointing WebXml contents
parameters -
  • PARAMETER_SILENT_MODE : IN parameter; if is not set or set to false, the discovered model will be opened in an editor.
  • PARAMETER_SERIALIZE_XMI :see XMLModelDiscoverer#PARAMETER_SERIALIZE_XMI
  • PARAMETER_TARGET_RESOURCE : OUT parameter; the discovered model is stored with this key.

getDiscovererParameters

public java.util.List<DiscoveryParameter> getDiscovererParameters()
Deprecated. 
Description copied from interface: Discoverer
Get a complete list of all parameters available in this discoverer. Further information should be provided to indicate features of each parameter; for example, direction kind (in, out, in-out), whether the parameter is optional or not ...

Returns:
the set of parameter names provided by this discoverer.

getDtdUrl

public static java.lang.String getDtdUrl()
Deprecated. 

getRootName

public static java.lang.String getRootName()
Deprecated.