public interface SerializationUnit extends Visitor
SmooksResourceConfigurationSortComparator
.
See Delivery Overview.Modifier and Type | Method and Description |
---|---|
boolean |
writeChildElements()
Write the child elements of the element this SerializationUnit is being applied to.
|
void |
writeElementCDATA(CDATASection cdata,
Writer writer,
ExecutionContext executionContext)
Write element CDATA section.
|
void |
writeElementComment(Comment comment,
Writer writer,
ExecutionContext executionContext)
Write element comment.
|
void |
writeElementEnd(Element element,
Writer writer,
ExecutionContext executionContext)
Write the element end portion; close the element.
|
void |
writeElementEntityRef(EntityReference entityRef,
Writer writer,
ExecutionContext executionContext)
Write element entity reference object.
|
void |
writeElementNode(Node node,
Writer writer,
ExecutionContext executionContext)
Write element Node object.
|
void |
writeElementStart(Element element,
Writer writer,
ExecutionContext executionContext)
Write the element start portion; the element name and it's
attributes.
|
void |
writeElementText(Text text,
Writer writer,
ExecutionContext executionContext)
Write element text.
|
void writeElementStart(Element element, Writer writer, ExecutionContext executionContext) throws IOException
element
- The element start to write.writer
- The writer to be written to.executionContext
- ExecutionContext instance for the delivery context.IOException
- Exception writing output.void writeElementEnd(Element element, Writer writer, ExecutionContext executionContext) throws IOException
element
- The element end to write.writer
- The writer to be written to.executionContext
- ExecutionContext instance for the delivery context.IOException
- Exception writing output.void writeElementText(Text text, Writer writer, ExecutionContext executionContext) throws IOException
text
- The Text object to write.writer
- The writer to be written to.executionContext
- ExecutionContext instance for the delivery context.IOException
- Exception writing output.void writeElementComment(Comment comment, Writer writer, ExecutionContext executionContext) throws IOException
comment
- The comment o write.writer
- The writer to be written to.executionContext
- ExecutionContext instance for the delivery context.IOException
- Exception writing output.void writeElementEntityRef(EntityReference entityRef, Writer writer, ExecutionContext executionContext) throws IOException
entityRef
- The entity reference to write.writer
- The writer to be written to.executionContext
- ExecutionContext instance for the delivery context.IOException
- Exception writing output.void writeElementCDATA(CDATASection cdata, Writer writer, ExecutionContext executionContext) throws IOException
cdata
- The CDATA section to write.writer
- The writer to be written to.executionContext
- ExecutionContext instance for the delivery context.IOException
- Exception writing output.void writeElementNode(Node node, Writer writer, ExecutionContext executionContext) throws IOException
node
- The node to write.writer
- The writer to be written to.executionContext
- ExecutionContext instance for the delivery context.IOException
- Exception writing output.boolean writeChildElements()
Copyright © 2020. All rights reserved.