|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.joost.emitter.StxEmitterBase
net.sf.joost.emitter.StreamEmitter
net.sf.joost.emitter.TextEmitter
public class TextEmitter
This class implements an emitter that uses the text
output
method for byte or character streams.
Field Summary | |
---|---|
private static org.apache.commons.logging.Log |
log
|
Fields inherited from class net.sf.joost.emitter.StreamEmitter |
---|
charsetEncoder, encoding, writer |
Fields inherited from interface net.sf.joost.Constants |
---|
DEBUG, DEFAULT_ENCODING, FEAT_NS, FEAT_NSPREFIX, FEATURE_URI_PREFIX, FUNC_NS, JOOST_EXT_NS, PR_ATTRIBUTES, PR_BUFFER, PR_CHILDREN, PR_CONTINUE, PR_ERROR, PR_SELF, PR_SIBLINGS, STX_NS |
Constructor Summary | |
---|---|
TextEmitter(Writer writer,
String encoding)
Constructor |
Method Summary | |
---|---|
void |
characters(char[] ch,
int start,
int length)
Outputs characters. |
void |
endDocument()
Flushes the output writer |
void |
endElement(String uri,
String lName,
String qName)
Does nothing |
void |
startDocument()
Does nothing |
void |
startElement(String uri,
String lName,
String qName,
Attributes attrs)
Does nothing |
Methods inherited from class net.sf.joost.emitter.StreamEmitter |
---|
comment, encodeCharacters, endCDATA, endDTD, endEntity, endPrefixMapping, ignorableWhitespace, newEmitter, newEmitter, newEmitter, newXMLEmitter, processingInstruction, setDocumentLocator, setOmitXmlDeclaration, setSupportDisableOutputEscaping, skippedEntity, startCDATA, startDTD, startEntity, startPrefixMapping |
Methods inherited from class net.sf.joost.emitter.StxEmitterBase |
---|
getSystemId, setSystemId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static org.apache.commons.logging.Log log
Constructor Detail |
---|
public TextEmitter(Writer writer, String encoding)
Method Detail |
---|
public void startDocument()
public void endDocument() throws SAXException
SAXException
public void startElement(String uri, String lName, String qName, Attributes attrs)
public void endElement(String uri, String lName, String qName)
public void characters(char[] ch, int start, int length) throws SAXException
SAXException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |