public class NamespaceEmitter extends ProxyEmitter
| Modifier and Type | Field and Description |
|---|---|
protected NamePool |
namePool |
protected int |
nscodeNull |
protected int |
nscodeXML |
baseEmitter, outputPropertieslocator, outputStream, systemId, writer| Constructor and Description |
|---|
NamespaceEmitter() |
| Modifier and Type | Method and Description |
|---|---|
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,
org.xml.sax.Attributes attList,
int[] namespaceCodes,
int nrOfCodes)
startElement.
|
characters, comment, endDocument, processingInstruction, setDocumentLocator, setEscaping, setOutputProperties, setUnderlyingEmitter, setUnparsedEntity, setWriter, startDocumentgetNamePool, getOutputProperties, getOutputStream, getSystemId, getWriter, makeEmitter, setOutputStream, setSystemId, usesWriterprotected NamePool namePool
protected int nscodeXML
protected int nscodeNull
public void setNamePool(NamePool pool)
setNamePool in class ProxyEmitterpublic void startElement(int nameCode,
org.xml.sax.Attributes attList,
int[] namespaceCodes,
int nrOfCodes)
throws javax.xml.transform.TransformerException
startElement in class ProxyEmitternamespaceCodes - Array of namespace codes identifying the namespace prefix/uri
pairs associated with this elementnrOfCodes - Number of significant entries within namespaces arrayjavax.xml.transform.TransformerExceptionpublic void endElement(int nameCode)
throws javax.xml.transform.TransformerException
endElement in class ProxyEmitterjavax.xml.transform.TransformerException