Create a new StartElement. Namespaces can be added to this StartElement
by passing in an Iterator that walks over a set of Namespace interfaces.
Attributes can be added to this StartElement by passing an iterator
that walks over a set of Attribute interfaces.
Returns:
an instance of the requested StartElement
Parameters:
-
namespaceUri - the uri of the QName of the new StartElement
-
localName - the local name of the QName of the new StartElement
-
prefix - the prefix of the QName of the new StartElement
-
attributes - an unordered set of objects that implement
Attribute to add to the new StartElement, may be null
-
namespaces - an unordered set of objects that implement
Namespace to add to the new StartElement, may be null
-
context - the namespace context of this element