Model Inspectors

org.eclipse.jet.modelInspectors

1.0

Define 'inspectors' which enable the JET XPath engine to interpret loaded Java objects as XPath nodes. An inspector is an object that adapts objects to the XPath information model. Each inspector identifies the types of objects that it is capable of adapting, and will be handed objects only of those types (or subtypes).

<!ELEMENT extension (inspector*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT inspector (inspects+)>

<!ATTLIST inspector

class CDATA #REQUIRED>

Defines an inspector.



<!ELEMENT inspects EMPTY>

<!ATTLIST inspects

class CDATA #REQUIRED>

Identifies a class for which the inspector can provide information.



[Enter extension point usage example here.]

The class org.eclipse.jet.xpath.inspector.InspectorManager finds the inspector that best matches a given inspectable object.

[Enter information about supplied implementation of this extension point.]