Class SystemConsumeSerializerVisitor
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.SimpleSerializerVisitor
-
- org.smooks.engine.delivery.sax.ng.ConsumeSerializerVisitor
-
- org.smooks.engine.delivery.sax.ng.SystemConsumeSerializerVisitor
-
- All Implemented Interfaces:
ContentHandler
,DOMElementVisitor
,DOMVisitAfter
,DOMVisitBefore
,DOMVisitor
,AfterVisitor
,BeforeVisitor
,ChildrenVisitor
,ElementVisitor
,SaxNgVisitor
,SerializerVisitor
,Visitor
public class SystemConsumeSerializerVisitor extends ConsumeSerializerVisitor
SystemConsumeSerializerVisitor
consumes and serializes a node iffContentDeliveryConfig.isDefaultSerializationOn()
in this execution context returns true.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.smooks.engine.delivery.sax.ng.ConsumeSerializerVisitor
ConsumeSerializerVisitor.ElementMemento
-
-
Field Summary
-
Fields inherited from class org.smooks.engine.delivery.sax.ng.ConsumeSerializerVisitor
closeEmptyElements
-
Fields inherited from class org.smooks.engine.delivery.sax.ng.SimpleSerializerVisitor
domSerializer, rewriteEntities
-
-
Constructor Summary
Constructors Constructor Description SystemConsumeSerializerVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
onWrite(Consumer<Writer> writerConsumer, ExecutionContext executionContext, Node node)
-
Methods inherited from class org.smooks.engine.delivery.sax.ng.ConsumeSerializerVisitor
closeElement, setCloseEmptyElements, visitAfter, visitBefore, visitChildElement, visitChildText, writeStartElement
-
Methods inherited from class org.smooks.engine.delivery.sax.ng.SimpleSerializerVisitor
postConstruct, setRewriteEntities, writeCharacterData, writeChildElements, writeElementCDATA, writeElementComment, writeElementEntityRef, writeElementNode, writeEndElement, writeStartElement
-
-
-
-
Method Detail
-
onWrite
protected void onWrite(Consumer<Writer> writerConsumer, ExecutionContext executionContext, Node node)
- Overrides:
onWrite
in classConsumeSerializerVisitor
-
-