Class PostProcessorImpl
java.lang.Object
ch.tocco.nice2.dbrefactoring.impl.xml.PostProcessorImpl
- All Implemented Interfaces:
PostProcessor
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyFinalizers(Document document, ChangelogType type) Applies the node processors contributed as final to the given document.voidprepareChangelog(Document doc) Applies final modifications to the provided changelog before processing its changesets.voidprocessChangesetNode(Document document, Element changesetNode, ChangesetId id, ChangelogType type, boolean applyFinalizer) Processes the given changeset element by applying allChangesetNodeProcessors contributed to the givenChangelogTypeproperty.voidprocessDocument(Document document, ChangelogType type, boolean applyFinalizer) Processes the given documents (all changeSet tags) by applying allChangesetNodeProcessors contributed to the givenChangelogType.voidprocessDocument(Document document, Collection<ChangesetNodeProcessor> customProcessors) Processes the given document (all changeSet tags) by the given collection of customChangesetNodeProcessors.voidvoidsetFinalizeProcessors(List<PostProcessorImpl.NodeProcessorContribution> finalProcessors) voidsetPostProcessors(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:PostProcessorProcesses the given changeset element by applying allChangesetNodeProcessors contributed to the givenChangelogTypeproperty.- Specified by:
processChangesetNodein interfacePostProcessor
-
prepareChangelog
Description copied from interface:PostProcessorApplies final modifications to the provided changelog before processing its changesets.- Specified by:
prepareChangelogin interfacePostProcessor
-
processDocument
Description copied from interface:PostProcessorProcesses the given documents (all changeSet tags) by applying allChangesetNodeProcessors contributed to the givenChangelogType.- Specified by:
processDocumentin interfacePostProcessor
-
applyFinalizers
Description copied from interface:PostProcessorApplies the node processors contributed as final to the given document.- Specified by:
applyFinalizersin interfacePostProcessor
-
processDocument
Description copied from interface:PostProcessorProcesses the given document (all changeSet tags) by the given collection of customChangesetNodeProcessors. The contributed processors will not be applied.- Specified by:
processDocumentin interfacePostProcessor
-
setPostProcessors
@Autowired public void setPostProcessors(List<PostProcessorImpl.NodeProcessorContribution> postProcessors) -
setFinalizeProcessors
@Autowired public void setFinalizeProcessors(List<PostProcessorImpl.NodeProcessorContribution> finalProcessors) -
setChangelogPostProcessor
-