Set/Get Java Property Step

Use the Set/Get Java Property step to obtain and/or modify the value of a property defined in a variable.

Note

Optionally, you can use the Expression Language and specify: <obj or var>.<attribute_name>

Note

You can access or modify only properties defined since JDK 1.4.2_05 (Java 2).

If an attribute of a class of type InputStream or Reader is set, the Set/Get Java Property step accepts a parameter of type Document and automatically convert it to either an InputStream or a Reader.

If the attribute retrieved is an instance of InputStream or Reader, the Set/Get Java Property step allows you to assign the result to a Document variable by converting the result into the appropriate format. However, the resulting document will only be accessible once by a single output step (unless cached in memory using the Cache Document step).

The Set/Get Java Property customizer window contains two tabs:

  • Source Tab (Set/Get Java Property Step)

  • Destination Tab (Set/Get Java Property Step)