Class PostProcessorImpl
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.xml.PostProcessorImpl
- All Implemented Interfaces:
PostProcessor
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyFinalizers
(Document document, ChangelogType type) Applies the node processors contributed as final to the given document.void
prepareChangelog
(Document doc) Applies final modifications to the provided changelog before processing its changesets.void
processChangesetNode
(Document document, Element changesetNode, ChangesetId id, ChangelogType type, boolean applyFinalizer) Processes the given changeset element by applying allChangesetNodeProcessor
s contributed to the givenChangelogType
property.void
processDocument
(Document document, ChangelogType type, boolean applyFinalizer) Processes the given documents (all changeSet tags) by applying allChangesetNodeProcessor
s contributed to the givenChangelogType
.void
processDocument
(Document document, Collection<ChangesetNodeProcessor> customProcessors) Processes the given document (all changeSet tags) by the given collection of customChangesetNodeProcessor
s.void
void
setFinalizeProcessors
(List<PostProcessorImpl.NodeProcessorContribution> finalProcessors) void
setPostProcessors
(List<PostProcessorImpl.NodeProcessorContribution> postProcessors)
-
Constructor Details
-
PostProcessorImpl
public PostProcessorImpl()
-
-
Method Details
-
processChangesetNode
public void processChangesetNode(Document document, Element changesetNode, ChangesetId id, ChangelogType type, boolean applyFinalizer) Description copied from interface:PostProcessor
Processes the given changeset element by applying allChangesetNodeProcessor
s contributed to the givenChangelogType
property.- Specified by:
processChangesetNode
in interfacePostProcessor
-
prepareChangelog
Description copied from interface:PostProcessor
Applies final modifications to the provided changelog before processing its changesets.- Specified by:
prepareChangelog
in interfacePostProcessor
-
processDocument
Description copied from interface:PostProcessor
Processes the given documents (all changeSet tags) by applying allChangesetNodeProcessor
s contributed to the givenChangelogType
.- Specified by:
processDocument
in interfacePostProcessor
-
applyFinalizers
Description copied from interface:PostProcessor
Applies the node processors contributed as final to the given document.- Specified by:
applyFinalizers
in interfacePostProcessor
-
processDocument
Description copied from interface:PostProcessor
Processes the given document (all changeSet tags) by the given collection of customChangesetNodeProcessor
s. The contributed processors will not be applied.- Specified by:
processDocument
in interfacePostProcessor
-
setPostProcessors
@Autowired public void setPostProcessors(List<PostProcessorImpl.NodeProcessorContribution> postProcessors) -
setFinalizeProcessors
@Autowired public void setFinalizeProcessors(List<PostProcessorImpl.NodeProcessorContribution> finalProcessors) -
setChangelogPostProcessor
-