Builder which constructs document fragments given XML source text and a context node.
The context node is expected to provide information about the namespace declarations which are in scope at the start of the fragment.
There are no implemented interfaces.
There are no attributes in this class.
attlist_decl_handler(elem, name, type, default, required)
character_data_handler(data)
character_data_handler_cdata(data)
comment_handler(data)
createParser()
Create a new parser object.
element_decl_handler(name, model)
end_cdata_section_handler()
end_doctype_decl_handler()
end_element_handler(name)
entity_decl_handler(entityName, is_parameter_entity, value, base, systemId, publicId, notationName)
external_entity_ref_handler(context, base, systemId, publicId)
first_element_handler(name, attributes)
getParser()
Return the parser object, creating a new one if needed.
install(parser)
Install the callbacks needed to build the DOM into the parser.
notation_decl_handler(notationName, base, systemId, publicId)
parseFile(file)
Parse a document fragment from a file object, returning the fragment node.
parseString(string)
Parse a document fragment from a string, returning the fragment node.
pi_handler(target, data)
reset()
start_cdata_section_handler()
start_doctype_decl_handler(doctypeName, systemId, publicId, has_internal_subset)
start_element_handler(name, attributes)
xml_decl_handler(version, encoding, standalone)