WebSphere Message Brokers
File: as24700_
Writer: Lorraine Waitt

Concept topic

This build: July 31, 2007 21:38:45

Specific types used by parsers

Specific types are used when a parser needs additional information that is associated with some or all of the elements in a tree in order to generate the bit stream.

For the XML parser, the specific type information is used to mark special elements such as components, processing instructions, and CDATA sections. The methods getSpecificType and setSpecificType are used by user-defined nodes to query this information and to generate message trees that use these special types.

Developers of user-defined parsers can generate their own specific type values to control special handling characteristics in their parser code using the existing C user-defined parser interface. The getSpecificType and setSpecificType methods enable Java user-defined nodes to fully exploit this parser capability.

Related tasks
Getting and setting the specific type of an Mb element
Creating a user-defined extension in Java
Creating a user-defined extension in C
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:38:45

as24700_ This topic's URL is: