Skip Headers

Oracle® XML API Reference
10g Release 1 (10.1)
Part No. B10789-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents

Previous Next  

Parser Datatypes

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.


ParserExceptionCode

Parser implementation of exceptions.


Definition
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;


DOMParserIdType

Defines parser identifiers.


Definition
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;


SAXParserIdType

Defines parser identifiers.


Definition
typedef enum SAXParserIdType {
   SAXParCXml = 1 } 
SAXParserIdType;


SchValidatorIdType

Defines validator identifiers.These identifiers are used as parameters to the XML tools factory when a particular validator object has to be created.


Definition
typedef enum SchValidatorIdType {
   SchValCXml        = 1
} SchValidatorIdType;