@Deprecated public class XMLModelDiscoverer extends java.lang.Object implements Discoverer
| Modifier and Type | Field and Description |
|---|---|
static DiscoveryParameter |
PARAMETER_IGNORE_WHITESPACES
Deprecated.
A parameter key for ignoring whitespace in text portions.
|
static DiscoveryParameter |
PARAMETER_LIGHTWEIGHT_MODEL
Deprecated.
A parameter key for minimizing the memory use of the obtained model.
|
static DiscoveryParameter |
PARAMETER_SERIALIZE_XMI
Deprecated.
A parameter key for serializing the obtained model as an XMI file
|
static DiscoveryParameter |
PARAMETER_SILENT_MODE
Deprecated.
not used with the new framework
|
static DiscoveryParameter |
PARAMETER_TARGET_RESOURCE
Deprecated.
A parameter key for indicating a target
Resource instance as output. |
| Constructor and Description |
|---|
XMLModelDiscoverer()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Resource |
discoverElement(java.lang.Object source,
URI target)
Deprecated.
Discovers a generic XML model and opens the MoDisco editor or default editor.
|
java.util.List<DiscoveryParameter> |
getDiscovererParameters()
Deprecated.
Get a complete list of all parameters available in this discoverer.
|
Resource |
getResourceResult()
Deprecated.
|
boolean |
isApplicableTo(java.lang.Object source)
Deprecated.
To determine if the source object can be handled by the discoverer.
|
void |
setResourceResult(Resource aResourceResult)
Deprecated.
|
@Deprecated public static final DiscoveryParameter PARAMETER_SILENT_MODE
public static final DiscoveryParameter PARAMETER_IGNORE_WHITESPACES
public static final DiscoveryParameter PARAMETER_LIGHTWEIGHT_MODEL
true :
comments are ignored, text portions with only indentation and line delimiters are ignored.public static final DiscoveryParameter PARAMETER_SERIALIZE_XMI
public static final DiscoveryParameter PARAMETER_TARGET_RESOURCE
Resource instance as output.public final boolean isApplicableTo(java.lang.Object source)
DiscovererisApplicableTo in interface Discoverersource - the selected object.true if the selected object is managed by this
discoverer, false otherwise.public final Resource discoverElement(java.lang.Object source,
URI target)
discoverElement in interface Discoverersource - an IFile instance pointing to XML contentstarget - should be null here.public final java.util.List<DiscoveryParameter> getDiscovererParameters()
DiscoverergetDiscovererParameters in interface Discovererpublic void setResourceResult(Resource aResourceResult)
public Resource getResourceResult()