|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.treebind.DefaultPipeImplementation
org.treebind.JavaObject2XmlSaxPipe
Pipe designed to convert Java XML objects into XML Sax events. This pipe
embeds and chains a JavaObjectSource, a
JavaObject2XmlSaxFilter and a
XmlSaxSink.
Pipe,
DefaultPipeImplementation,
JavaObjectSource,
JavaObject2XmlSaxFilter,
XmlSaxSink| Constructor Summary | |
JavaObject2XmlSaxPipe()
Creates a new JavaObject2XmlSaxPipe. |
|
| Method Summary | |
void |
pourObject(java.lang.Object object)
Pours a Java object in the pipe. |
void |
setContentHandler(org.xml.sax.ContentHandler handler)
Sets the content handler that will receive the SAX events. |
| Methods inherited from class org.treebind.DefaultPipeImplementation |
addFilter, addFilterAfterSource, addFilterBeforeSink, getParameter, getParameter, getParameterWithDefault, getParameterWithDefault, getSink, getSource, setParameter, setParameter, setSink, setSource |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.treebind.Pipe |
addFilter, addFilterAfterSource, addFilterBeforeSink, getParameter, getParameter, getParameterWithDefault, getParameterWithDefault, setParameter, setParameter, setSink, setSource |
| Constructor Detail |
public JavaObject2XmlSaxPipe()
| Method Detail |
public void pourObject(java.lang.Object object)
throws java.lang.Exception
JavaObjectSource.pourObject(Object) method.
object - the Java object to pour.
java.lang.Exception - any exception that can happen when the object is poured.public void setContentHandler(org.xml.sax.ContentHandler handler)
XmlSaxSink.setContentHandler(ContentHandler) method.
handler - the content handler.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||