|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.routing.basic.FragmentSerializer
public class FragmentSerializer
Basic message fragment serializer.
| Constructor Summary | |
|---|---|
FragmentSerializer()
|
|
| Method Summary | |
|---|---|
Set<? extends Object> |
getProducts()
|
FragmentSerializer |
setBindTo(String bindTo)
Set the bind-to beanId for the serialized fragment. |
FragmentSerializer |
setChildContentOnly(boolean childContentOnly)
Set whether or not the child content only should be serialized. |
FragmentSerializer |
setOmitXMLDeclaration(boolean omitXMLDeclaration)
Omit the XML Declaration from the serialized fragments. |
void |
visitAfter(Element element,
ExecutionContext executionContext)
|
void |
visitAfter(SAXElement saxElement,
ExecutionContext executionContext)
|
void |
visitBefore(SAXElement saxElement,
ExecutionContext executionContext)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FragmentSerializer()
| Method Detail |
|---|
@ConfigParam public FragmentSerializer setBindTo(String bindTo)
bindTo - The bind-to beanId for the serialized fragment.
@ConfigParam(defaultVal="false") public FragmentSerializer setOmitXMLDeclaration(boolean omitXMLDeclaration)
omitXMLDeclaration - True if the XML declaration is to be omitted, otherwise false.
@ConfigParam(defaultVal="false") public FragmentSerializer setChildContentOnly(boolean childContentOnly)
childContentOnly - True if the child content only (exclude
the targeted element itself), otherwise false.
public Set<? extends Object> getProducts()
getProducts in interface Producer
public void visitBefore(SAXElement saxElement,
ExecutionContext executionContext)
throws SmooksException,
IOException
visitBefore in interface SAXVisitBeforeSmooksException
IOException
public void visitAfter(SAXElement saxElement,
ExecutionContext executionContext)
throws SmooksException,
IOException
visitAfter in interface SAXVisitAfterSmooksException
IOException
public void visitAfter(Element element,
ExecutionContext executionContext)
throws SmooksException
visitAfter in interface DOMVisitAfterSmooksException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||