The specific type of a syntax element

There are two methods available for setting and getting the specific type of a syntax element. You can use these methods to update the specific type of an XML syntax element, for example:

  1. Call getSpecificType on the syntax element.

    The getSpecificType method does not take any parameters, but does return the specific type of the element as an int value.

  2. Call setSpecificType on the syntax element.

    The setSpecificType method takes one parameter of the type int, which will be the specific type that you want the syntax element to be. There is no return value for this method.

Specific type values for the IBM XML and MRM parsers are listed in XML and MRM parser constants
Related concepts
Specific types
Related reference
XML and MRM parser constants