Implementation of the NamespaceContext2.
This class also provides several utility methods for
XMLSerializer-derived classes.
The startElement method and the endElement method need to be called
appropriately when used. See javadoc for those methods for details.
Ends the current element context and gets back to the parent context.
This method should be called at the end of the endElement method
of derived classes.
Reconciles the namespace URI/prefix mapping requests since the
last startElement method invocation and finalizes them.
This method must be called after all the necessary namespace URIs
for this element is reported through the declareNamespace method
or the getPrefix method.
getNamespacePrefixMapper
final public NamespacePrefixMapper getNamespacePrefixMapper()(Code)
Sets the current bindings aside and starts a new element context.
This method should be called at the beginning of the startElement method
of the Serializer implementation.