|
||||||||||
| 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 | |
|---|---|
void |
executeVisitLifecycleCleanup(Fragment fragment,
ExecutionContext executionContext)
|
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. |
FragmentSerializer |
setRetain(boolean retain)
Retain the fragment bean in the BeanContext after it's creating fragment
has been processed. |
void |
visitAfter(Element element,
ExecutionContext executionContext)
|
void |
visitAfter(SAXElement saxElement,
ExecutionContext executionContext)
|
void |
visitBefore(Element element,
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.
@ConfigParam(defaultVal="false") public FragmentSerializer setRetain(boolean retain)
BeanContext after it's creating fragment
has been processed.
retain - True if the fragment bean is to be retained in the BeanContext,
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 visitBefore(Element element,
ExecutionContext executionContext)
throws SmooksException
visitBefore in interface DOMVisitBeforeSmooksException
public void visitAfter(Element element,
ExecutionContext executionContext)
throws SmooksException
visitAfter in interface DOMVisitAfterSmooksException
public void executeVisitLifecycleCleanup(Fragment fragment,
ExecutionContext executionContext)
executeVisitLifecycleCleanup in interface VisitLifecycleCleanable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||