If no custom builder is specified for a given XMLBuilder
type form handler property, the form handler will default to using the atg.search.query.formhandlers.MapXMLBuilder
class. This class is designed to allow creation of arbitrarily complex XML.
Note that you can explicitly set an XMLBuilder
property to use the MapXMLBuilder
class by creating a Nucleus component of this class and pointing the property to this component. The advantage of doing this is that it enables you to configure the builder by setting the following properties:
defaultValue
Default XML to output if builder would otherwise generate no tags.
wrappingXML
XML to wrap any generated output. For example, to wrap either the default XML or the generated XML in an<and>
tag, use:
<and>{0}</and>