com.icl.saxon.output
public class NamespaceEmitter extends ProxyEmitter
Modifier and Type | Field and Description |
---|---|
protected NamePool |
namePool |
protected int |
nscodeNull |
protected int |
nscodeXML |
baseEmitter, outputProperties
locator, outputStream, systemId, writer
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
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,
Attributes attList,
int[] namespaceCodes,
int nrOfCodes)
startElement.
|
characters, comment, endDocument, processingInstruction, setDocumentLocator, setEscaping, setOutputProperties, setUnderlyingEmitter, setUnparsedEntity, setWriter, startDocument
getNamePool, getOutputProperties, getOutputStream, getSystemId, getWriter, makeEmitter, setOutputStream, setSystemId, usesWriter
protected NamePool namePool
protected int nscodeXML
protected int nscodeNull
public void setNamePool(NamePool pool)
setNamePool
in class ProxyEmitter
public void startElement(int nameCode, Attributes attList, int[] namespaceCodes, int nrOfCodes) throws 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 arrayTransformerException
public void endElement(int nameCode) throws TransformerException
endElement
in class ProxyEmitter
TransformerException