|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.delivery.sax.DefaultSAXElementSerializer
public class DefaultSAXElementSerializer
Default Serializer for SAX Filtering.
| Constructor Summary | |
|---|---|
DefaultSAXElementSerializer()
|
|
| Method Summary | |
|---|---|
boolean |
isStartWritten(SAXElement element)
|
void |
onChildElement(SAXElement element,
SAXElement childElement,
ExecutionContext executionContext)
Process the onChildElement event for the targeted element. |
void |
onChildText(SAXElement element,
SAXText text,
ExecutionContext executionContext)
Process the onChildText event for the targeted element. |
void |
setWriterOwner(SAXVisitor writerOwner)
|
void |
visitAfter(SAXElement element,
ExecutionContext executionContext)
Visit the supplied element after visiting its child elements. |
void |
visitBefore(SAXElement element,
ExecutionContext executionContext)
Visit the supplied element before visiting its child elements. |
void |
writeStartElement(SAXElement element)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultSAXElementSerializer()
| Method Detail |
|---|
public void setWriterOwner(SAXVisitor writerOwner)
public void visitBefore(SAXElement element,
ExecutionContext executionContext)
throws SmooksException,
IOException
SAXVisitBefore
visitBefore in interface SAXVisitBeforeelement - The SAX element being visited.executionContext - Execution context.
SmooksException - Event processing failure.
IOException - Error writing event to output writer.
public void onChildText(SAXElement element,
SAXText text,
ExecutionContext executionContext)
throws SmooksException,
IOException
SAXVisitChildren
onChildText in interface SAXVisitChildrenelement - The element containing the text (parent). The targeted element.text - The text.executionContext - Execution context.
SmooksException - Event processing failure.
IOException - Error writing event to output writer.
public void onChildElement(SAXElement element,
SAXElement childElement,
ExecutionContext executionContext)
throws SmooksException,
IOException
SAXVisitChildren
onChildElement in interface SAXVisitChildrenelement - The element containing the child element (parent). The targeted element.childElement - The child element just added to the targeted element.executionContext - Execution context.
SmooksException - Event processing failure.
IOException - Error writing event to output writer.
public void visitAfter(SAXElement element,
ExecutionContext executionContext)
throws SmooksException,
IOException
SAXVisitAfter
visitAfter in interface SAXVisitAfterelement - The SAX element being visited.executionContext - Execution context.
SmooksException - Event processing failure.
IOException - Error writing event to output writer.
public void writeStartElement(SAXElement element)
throws IOException
IOExceptionpublic boolean isStartWritten(SAXElement element)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||