public class NamespaceEmitter extends ProxyEmitter
| Modifier and Type | Field | Description |
|---|---|---|
protected NamePool |
namePool |
|
protected int |
nscodeNull |
|
protected int |
nscodeXML |
locator, outputStream, systemId, writerbaseEmitter, outputProperties| Constructor | Description |
|---|---|
NamespaceEmitter() |
| Modifier and Type | Method | 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.
|
getNamePool, getOutputProperties, getOutputStream, getSystemId, getWriter, makeEmitter, setOutputStream, setSystemId, usesWriterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharacters, comment, endDocument, processingInstruction, setDocumentLocator, setEscaping, setOutputProperties, setUnderlyingEmitter, setUnparsedEntity, setWriter, startDocumentprotected 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