Salesforce

JExplore (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

JExplore (Magic xpa 3.x)

Queries a class definition and generates an XML output that describes the structure of the class.

Syntax:

JExplore(class name)

Parameters:

class name – An alphanumeric value defining the full name of a Java class.

Returns:

An XML description of the class

Example:

JExplore(‘java.lang.StringBuffer’) will return the following XML:

<?xml version="1.0" encoding="UTF-8"?>

<ClassMetaData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<Classes>

<Class name="java/lang/StringBuffer" abstract="N" interface="N">

<Dependencies>

<Extends>

<ClassName>java.lang.Object</ClassName>

</Extends>

<Implements>

<ClassName>java.io.Serializable</ClassName>

<ClassName>java.lang.CharSequence</ClassName>

</Implements>

</Dependencies>

<Structure>

<Constructors>

<Constructor idx="1">

<Signature>(I)V</Signature>

...

</Class>

</Classes>

</ClassMetaData>

Note:

  • As the XML output can be quite big, it is recommended to define a BLOB variable and update it with the JExplore function.

  • You can only query Java classes that can be located using your Java classpath settings.

See also:

Java Functions

The Online Samples project (program JV06)

Reference
Attachment 
Attachment