com.icl.saxon.output
Class NamespaceEmitter
public
class
NamespaceEmitter
extends ProxyEmitter
NamespaceEmitter is a ProxyEmitter responsible for removing duplicate namespace
declarations. It also ensures that an xmlns="" undeclaration is output when
necessary.
Method Summary |
void | endElement(int nameCode)
endElement: Discard the namespaces declared on this element. |
void | setNamePool(NamePool pool)
Set the name pool to be used for all name codes |
void | startElement(int nameCode, Attributes attList, int[] namespaceCodes, int nrOfCodes)
startElement. |
protected int nscodeNull
protected int nscodeXML
public void endElement(int nameCode)
endElement: Discard the namespaces declared on this element.
Set the name pool to be used for all name codes
public void startElement(int nameCode, Attributes attList, int[] namespaceCodes, int nrOfCodes)
startElement. This call removes redundant namespace declarations, and
possibly adds an xmlns="" undeclaration.