|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gmt.modisco.xml.discoverer.actions.XMLModelDiscoverer
XMLModelDiscoverer2 instead
@Deprecated public class XMLModelDiscoverer
Discover generic XML model action.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
XMLModelDiscoverer()
Deprecated. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@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.
| Constructor Detail |
|---|
public XMLModelDiscoverer()
| Method Detail |
|---|
public final boolean isApplicableTo(java.lang.Object source)
Discoverer
isApplicableTo 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()
Discoverer
getDiscovererParameters in interface Discovererpublic void setResourceResult(Resource aResourceResult)
public Resource getResourceResult()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||