Interface for providing a service to parse an XML fragment
that is an element and return an XBQName that identifies the element.
Implementing classes should have a public no-argument constructor.
Implementing classes should be safe to be shared across threads without
synchronization.
Parse the given XML fragment. It must begin with
an element start tag.
Parameters:
fragment -
Returns:
An XBQName with properties given as follows:
- namespaceURI: if the element's namespace could be determined, then
that namespace. The namespace can be determined if the fragment
includes a namespace declaration for the element's prefix or,
if there is no prefix, a default namespace declaration.
- namespacePrefix: The elements prefix (empty string if none).
- localName: The element name, without any prefix.