Specific types are used when a parser needs additional information that is associated with some or all of the syntax elements in a tree in order to generate the bit stream.
In the case of 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 allow 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 in order to control special handling characteristics in their parser code. This is done by using the existing C user-defined parser interface. The getSpecificType and setSpecificType methods enable Java user-defined nodes to fully exploit this parser capability.
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
as24700_ |