Table 18-1 summarizes the datatypes of the Parser
package.
Table 18-1 Summary of Datatypes; Parser Package
Datatype | Description |
---|---|
ParserExceptionCode
|
Parser implementation of exceptions. |
DOMParserIdType
|
Defines parser identifiers. |
SAXParserIdType
|
Defines type of node. |
SchValidatorIdType
|
Defines validator identifiers. |
Parser implementation of exceptions.
typedef enum ParserExceptionCode { PARSER_UNDEFINED_ERR = 0, PARSER_VALIDATION_ERR = 1, PARSER_VALIDATOR_ERR = 2, PARSER_BAD_ISOURCE_ERR = 3, PARSER_CONTEXT_ERR = 4, PARSER_PARAMETER_ERR = 5, PARSER_PARSE_ERR = 6, PARSER_SAXHANDLER_SET_ERR = 7, PARSER_VALIDATOR_SET_ERR = 8 } ParserExceptionCode;
Defines parser identifiers.
typedef enum DOMParserIdType { DOMParCXml = 1 } DOMParserIdType; ypedef enum CompareHowCode { START_TO_START = 0, START_TO_END = 1, END_TO_END = 2, END_TO_START = 3 } CompareHowCode;
Defines parser identifiers.
typedef enum SAXParserIdType { SAXParCXml = 1 } SAXParserIdType;
Defines validator identifiers.These identifiers are used as parameters to the XML tools factory when a particular validator object has to be created.
typedef enum SchValidatorIdType { SchValCXml = 1 } SchValidatorIdType;