- attribute
void attribute(STRING name, XML_STRING value)
Undocumented in source. Be warned that the author may not have intended to support it.
- directive
void directive(XML_STRING s)
Undocumented in source. Be warned that the author may not have intended to support it.
- endAttributes
void endAttributes()
Undocumented in source. Be warned that the author may not have intended to support it.
- endAttributesAndTag
void endAttributesAndTag()
Undocumented in source. Be warned that the author may not have intended to support it.
- endDocument
void endDocument()
Undocumented in source. Be warned that the author may not have intended to support it.
- endProcessingInstruction
void endProcessingInstruction()
Undocumented in source. Be warned that the author may not have intended to support it.
- endTag
void endTag(STRING s)
Undocumented in source. Be warned that the author may not have intended to support it.
- startDocument
void startDocument()
Undocumented in source. Be warned that the author may not have intended to support it.
- startProcessingInstruction
void startProcessingInstruction(STRING s)
Undocumented in source. Be warned that the author may not have intended to support it.
- startTag
void startTag(STRING s)
Undocumented in source. Be warned that the author may not have intended to support it.
- text
void text(XML_STRING s)
Undocumented in source. Be warned that the author may not have intended to support it.
STRING_FILTER is a policy type which determines how strings are transformed for permanent storage inside the DOM. By default, we store slices of the original XML document. However, if the parsing is done using temporary buffers, STRING_FILTER will want to copy (.idup) the strings before letting us store them. STRING_FILTER can also be used to implement a string pool, to make a trade-off between memory consumption and speed (an XML document is likely to contain many repeating strings, such as tag and attribute names). Merging identical strings to obtain unique string pointers or IDs would also allow very quick tag/attribute name lookup, and avoid repeated entity decoding.