locator, namePool, outputProperties, outputStream, systemId, writer
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
Constructor and Description |
---|
ErrorEmitter() |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length)
Character data.
|
void |
comment(char[] ch,
int start,
int length)
Handle a comment.
|
void |
endDocument()
End of the document.
|
void |
endElement(int name)
End of an element.
|
void |
processingInstruction(String target,
String data)
Handle a processing instruction.
|
void |
startDocument()
Start of the document.
|
void |
startElement(int name,
Attributes attributes,
int[] namespaces,
int nscount)
Start of an element.
|
getNamePool, getOutputProperties, getOutputStream, getSystemId, getWriter, makeEmitter, setDocumentLocator, setEscaping, setNamePool, setOutputProperties, setOutputStream, setSystemId, setUnparsedEntity, setWriter, usesWriter
public void startDocument() throws TransformerException
startDocument
in class Emitter
TransformerException
public void endDocument() throws TransformerException
endDocument
in class Emitter
TransformerException
public void startElement(int name, Attributes attributes, int[] namespaces, int nscount) throws TransformerException
startElement
in class Emitter
namespaces
- Array of namespace codes identifying the namespace prefix/uri
pairs associated with this elementnscount
- Number of significant entries within namespaces arrayTransformerException
public void endElement(int name) throws TransformerException
endElement
in class Emitter
TransformerException
public void characters(char[] ch, int start, int length) throws TransformerException
characters
in class Emitter
TransformerException
public void processingInstruction(String target, String data) throws TransformerException
processingInstruction
in class Emitter
TransformerException
public void comment(char[] ch, int start, int length) throws TransformerException
comment
in class Emitter
TransformerException