javax.xml.transform.Result
public class NamespaceEmitter extends ProxyEmitter
Modifier and Type | Field | Description |
---|---|---|
protected NamePool |
namePool |
|
protected int |
nscodeNull |
|
protected int |
nscodeXML |
locator, outputStream, systemId, writer
baseEmitter, 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, usesWriter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
characters, comment, endDocument, processingInstruction, setDocumentLocator, setEscaping, setOutputProperties, setUnderlyingEmitter, setUnparsedEntity, setWriter, startDocument
protected NamePool namePool
protected int nscodeXML
protected int nscodeNull
public void setNamePool(NamePool pool)
setNamePool
in class ProxyEmitter
public void startElement(int nameCode, org.xml.sax.Attributes attList, int[] namespaceCodes, int nrOfCodes) throws javax.xml.transform.TransformerException
startElement
in class ProxyEmitter
namespaceCodes
- Array of namespace codes identifying the namespace prefix/uri
pairs associated with this elementnrOfCodes
- Number of significant entries within namespaces arrayjavax.xml.transform.TransformerException
public void endElement(int nameCode) throws javax.xml.transform.TransformerException
endElement
in class ProxyEmitter
javax.xml.transform.TransformerException