Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Attributes | List of all members
TagHandler Struct Reference

Public Attributes

void(* start )(FamilyData *data, const char *tag, const char **attributes)
 
void(* end )(FamilyData *data, const char *tag)
 
const TagHandler *(* tag )(FamilyData *data, const char *tag, const char **attributes)
 
XML_CharacterDataHandler chars
 

Detailed Description

Definition at line 60 of file SkFontMgr_android_parser.cpp.

Member Data Documentation

◆ chars

XML_CharacterDataHandler TagHandler::chars

The character handler for this tag. This is only active for character data contained directly in this tag (not sub-tags). The first parameter will be castable to a FamilyData*. If nullptr, any character data in this tag will be ignored.

Definition at line 87 of file SkFontMgr_android_parser.cpp.

◆ end

void(* TagHandler::end) (FamilyData *data, const char *tag)

Called at the end tag. Allows post-processing of any accumulated information. This will be the last call made in relation to the current tag. If nullptr, will not be called.

Definition at line 73 of file SkFontMgr_android_parser.cpp.

◆ start

void(* TagHandler::start) (FamilyData *data, const char *tag, const char **attributes)

Called at the start tag. Called immediately after the parent tag retuns this handler from a call to 'tag'. Allows setting up for handling the tag content and processing attributes. If nullptr, will not be called.

Definition at line 66 of file SkFontMgr_android_parser.cpp.

◆ tag

const TagHandler *(* TagHandler::tag) (FamilyData *data, const char *tag, const char **attributes)

Called when a nested tag is encountered. This is responsible for determining how to handle the tag. If the tag is not recognized, return nullptr to skip the tag. If nullptr, all nested tags will be skipped.

Definition at line 80 of file SkFontMgr_android_parser.cpp.


The documentation for this struct was generated from the following file: