Xerces C ++ SAX parsing event Summary

Source: Internet
Author: User

Virtual void characters

(

Const XMLCh * const chars

, Const XMLSize_t length

);

 
Receive notification of character data inside an element.

Receive notifications of character data in an element
 
Virtual void endDocument ();

 
Receive notification of the end of the document.

Receive notification of document termination
 
Virtual void endElement

(

Const XMLCh * const uri,

Const XMLCh * const localname,

Const XMLCh * const qname

);

 
Receive notification of the end of an element.

Receives the end notification of an element.
 
Virtual void ignorableWhitespace

(

Const XMLCh * const chars

, Const XMLSize_t length

);

 
Receive notification of ignorable whitespace in element content.

Receive blank notifications that can be ignored in Element Content
 
Virtual void processingInstruction

(

Const XMLCh * const target

, Const XMLCh * const data

);

 
Receive notification of a processing instruction.

Receive Processing Instruction notifications
 
Virtual void resetDocument ();

 
Reset the Document object on its reuse

Resetting file objects
 
Virtual void setDocumentLocator (const Locator * const locator );

 
Receive a Locator object for document events.

The Locator object that receives document events.
 
Virtual void startDocument ();

 
Receive notification of the beginning of the document.

The file starting with the notification.
 
Virtual void startPrefixMapping

(

Const XMLCh * const prefix,

Const XMLCh * const uri

);

 
Receive notification of the start of an element.

You are notified of the start of namespace prefix ing.
 
Virtual void endPrefixMapping

(

Const XMLCh * const prefix

);

 
Receive notification of the end of an namespace prefix mapping.

You are notified of the end of the namespace prefix ing.

 
 
Virtual void skippedEntity

(

Const XMLCh * const name

);

 
Receive notification of a skipped entity.

Receive notifications of skipped objects
 
Virtual InputSource * resolveEntity

(

Const XMLCh * const publicId

, Const XMLCh * const systemId

);

 
Resolve an external entity.

Parses external entities.
 
Virtual void error (const SAXParseException & exc );

 
Receive notification of a recoverable parser error.

Receive notifications of recoverable parser errors.
 
Virtual void fatalError (const SAXParseException & exc );

 
Report a fatal XML parsing error.

Report serious XML parsing errors.
 
Virtual void warning (const SAXParseException & exc );

 
Receive notification of a parser warning.

The parser warning that receives the notification.
 
Virtual void resetErrors ();

 
Reset the Error handler object on its reuse

Reset error handler Object reuse
 
Virtual void notationDecl

(

Const XMLCh * const name

, Const XMLCh * const publicId

, Const XMLCh * const systemId

);

 
Receive notification of a notation declaration.

A symbolic declaration of the notification.
 
Virtual void resetDocType ();

 
Reset the DTD object on its reuse

Resetting the reuse of DTD objects
 
Virtual void unparsedEntityDecl

(

Const XMLCh * const name

, Const XMLCh * const publicId

, Const XMLCh * const systemId

, Const XMLCh * const notationName

);

 
Receive notification of an unparsed entity declaration.

An unresolved entity statement that receives the notification.
 
Virtual void comment

(

Const XMLCh * const chars

, Const XMLSize_t length

);

 
Receive notification of comments.

Receives the annotation event.
 
Virtual void endCDATA ();

 
Receive notification of the end of a CDATA section.

A CDATA part that receives the notification.
 
Virtual void endDTD ();

 
Receive notification of the end of the DTD declarations.

The DTD declaration that receives the notification.
 
Virtual void endEntity (const XMLCh * const name );

 
Receive notification of the end of an entity.

Receives the end notification of an object.
 
Virtual void startCDATA ();

 
Receive notification of the start of a CDATA section.

The CDATA section for receiving notifications starts.
 
Virtual void startDTD

(

Const XMLCh * const name

, Const XMLCh * const publicId

, Const XMLCh * const systemId

);

 
Receive notification of the start of the DTD declarations.

Start of receiving the notification's DTD declaration.
 
Virtual void startEntity (const XMLCh * const name );

 
Receive notification of the start of an entity.

The entity that starts receiving notifications.
 
Virtual void elementDecl

(

Const XMLCh * const name

, Const XMLCh * const model

);

 
Report an element type declaration.

Report an element type declaration.
 
Virtual void attributeDecl

(

Const XMLCh * const eName

, Const XMLCh * const aName

, Const XMLCh * const type

, Const XMLCh * const mode

, Const XMLCh * const value

);

 
Report an attribute type declaration.

Report attribute type declaration.
 
Virtual void internalEntityDecl

(

Const XMLCh * const name

, Const XMLCh * const value

);

 
Report an internal entity declaration.

Report internal entity declaration.
 
Virtual void externalEntityDecl

(

Const XMLCh * const name

, Const XMLCh * const publicId

, Const XMLCh * const systemId

);

 
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.