Hitachi

uCosminexus Application Server XML Processor User Guide


4.6.3 How to set up the preparsed object in XMLReader

A coding example to set up the preparsed object in XMLReader is as follows:

[Figure]

  1. Generate the preparsed object.

    For details about how to generate the preparsed object, see 3.4.4 Generating the preparsed object.

  2. Set up the preparsed object in XMLReader.

    In the first argument of the setProperty method used to set up the preparsed object, specify the setup key http://cosminexus.com/xml/properties/preparsedobject-load, and in the second argument, specify pobj that indicates the PreparsedObject object.