Model Loaders

Identifier:
org.eclipse.jet.modelLoaders

Since:
1.0

Description:
Define how models consumed by JET transformations and the JET <c:load> tag are loaded from the file system.

Configuration Markup:

<!ELEMENT extension ((loader | defaultTypeLoader | loadableType)+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>


<!ELEMENT loader (type*)>

<!ATTLIST loader

id           CDATA #REQUIRED

name         CDATA #REQUIRED

class        CDATA #REQUIRED

dynamicTypes (true | false) "false"

>

Defines a model loader, which is a Java class responsible for loading a model into memory given an URL to the model, or given a string representation of the model.



<!ELEMENT defaultTypeLoader EMPTY>

<!ATTLIST defaultTypeLoader

fileType CDATA #REQUIRED

id       CDATA #REQUIRED

>

Defines the default model loader for a given file type.



<!ELEMENT loadableType EMPTY>

<!ATTLIST loadableType

fileType CDATA #REQUIRED

id       CDATA #REQUIRED

>

Extends the types supported a Model Loader. This element may be used by plug-ins other than the plug-in declaring the model loader.



<!ELEMENT type EMPTY>

<!ATTLIST type

fileType CDATA #REQUIRED

>

Defines a file type that is understood by the model loader.



Examples:
See plugin.xml in plug-in org.eclipse.jet

Supplied Implementation:
Not applicable


Copyright (c) 2005, 2010 IBM Corporation and others.