Portlet Factory, Version 6.1.2


 

Java/XML Converter builder

Use the Java/XML converter to transform the public fields of one or more Java objects into an XML variable.

Use this builder when you have an existing Java Bean that you want to use in an application. Once you have used Linked Java Object to make the Bean available in your model, you can use the Data Page builder to generate page fields directly from Java Bean properties.

The Java/XML converter allows you to interact with a Java API in builder calls that utilize XML information and not Java objects directly.

For example, a linked Java object (LJO) could call into some Java API and return a collection of Java objects. Using a Java/XML Converter builder call, you could create an XML variable that represents the collection and use this XML variable as the data source for one or more Data Page builder calls. You could then display forms that allowed the user to view or modify the properties for each Java object. The Java/XML converter uses the "set" methods on the object to save any changes back to the object itself.

Note: The Java/XML converter operates on the following:

  • Single Java objects

  • Collections of Java objects

  • An Iterator object for a collection of Java objects

Parent topic: Builder help Parent topic: Overview: working with Java


Library | Support |