|
||||||||||
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.SAXEmitter
This class implements the common interface StxEmitter
.
Is is designed for using SAXResult
.
So this class outputs a SAX2-event-stream to the output target -
saxSourceHandler
(e.g. the registered ContentHandler).
Field Summary | |
private static org.apache.commons.logging.Log |
log
|
private ContentHandler |
saxSourceHandler
A SAXResult, so SAXEmitter acts as a proxy und propagates the events to the registered ContentHandler |
Fields inherited from class net.sf.joost.emitter.StxEmitterBase |
|
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 | |
SAXEmitter(ContentHandler saxSourceHandler)
Constructor |
Method Summary | |
void |
characters(char[] ch,
int start,
int length)
SAX2-Callback - Simply propagates the Call to the registered output target - here the saxSourceHandler |
void |
comment(char[] ch,
int start,
int length)
SAX2-Callback - Is empty |
void |
endCDATA()
SAX2-Callback - Is empty |
void |
endDocument()
SAX2-Callback - Simply propagates the Call to the registered output target - here the saxSourceHandler |
void |
endDTD()
SAX2-Callback - Is empty |
void |
endElement(String uri,
String local,
String raw)
SAX2-Callback - Simply propagates the Call to the registered output target - here the saxSourceHandler |
void |
endEntity(String name)
SAX2-Callback - Is empty |
void |
endPrefixMapping(String prefix)
SAX2-Callback - Simply propagates the Call to the registered output target - here the saxSourceHandler |
void |
ignorableWhitespace(char[] p0,
int p1,
int p2)
SAX2-Callback - Simply propagates the Call to the registered output target - here the saxSourceHandler |
void |
processingInstruction(String target,
String data)
SAX2-Callback - Simply propagates the Call to the registered output target - here the saxSourceHandler |
void |
setDocumentLocator(Locator locator)
SAX2-Callback - Simply propagates the Call to the registered output target - here the saxSourceHandler |
void |
skippedEntity(String value)
SAX2-Callback - Simply propagates the Call to the registered output target - here the saxSourceHandler |
void |
startCDATA()
SAX2-Callback - Is empty |
void |
startDocument()
SAX2-Callback - Simply propagates the Call to the registered output target - here the saxSourceHandler |
void |
startDTD(String name,
String publicId,
String systemId)
SAX2-Callback - Is empty |
void |
startElement(String uri,
String local,
String raw,
Attributes attrs)
SAX2-Callback - Simply propagates the Call to the registered output target - here the saxSourceHandler |
void |
startEntity(String name)
SAX2-Callback - Is empty |
void |
startPrefixMapping(String prefix,
String uri)
SAX2-Callback - Simply propagates the Call to the registered output target - here the saxSourceHandler |
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
private ContentHandler saxSourceHandler
Constructor Detail |
public SAXEmitter(ContentHandler saxSourceHandler)
saxSourceHandler
- A ContentHandler for the SAXResultMethod Detail |
public void startDocument() throws SAXException
saxSourceHandler
SAXException
public void endDocument() throws SAXException
saxSourceHandler
SAXException
public void startElement(String uri, String local, String raw, Attributes attrs) throws SAXException
saxSourceHandler
SAXException
public void endElement(String uri, String local, String raw) throws SAXException
saxSourceHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
saxSourceHandler
SAXException
public void startPrefixMapping(String prefix, String uri) throws SAXException
saxSourceHandler
SAXException
public void endPrefixMapping(String prefix) throws SAXException
saxSourceHandler
SAXException
public void processingInstruction(String target, String data) throws SAXException
saxSourceHandler
SAXException
public void skippedEntity(String value) throws SAXException
saxSourceHandler
SAXException
public void ignorableWhitespace(char[] p0, int p1, int p2) throws SAXException
saxSourceHandler
SAXException
public void setDocumentLocator(Locator locator)
saxSourceHandler
public void startDTD(String name, String publicId, String systemId) throws SAXException
SAXException
public void endDTD() throws SAXException
SAXException
public void startEntity(String name) throws SAXException
SAXException
public void endEntity(String name) throws SAXException
SAXException
public void startCDATA() throws SAXException
SAXException
public void endCDATA() throws SAXException
SAXException
public void comment(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 |