Interface NodeWeaveFacility

  • All Known Implementing Classes:
    NodeWeaveSupport

    public interface NodeWeaveFacility
    Utility to perform weaving of a node. Context-aware, the only way to obtain its instance is TemplateExecutionEnvironment.prepareWeave(WeaveContext, SNodeReference). Knows parent and anchor for nodes being weaved (either one by one or by means of another template It's pretty much just an excerpt from TemplateExecutionEnvironment tailored as an intermediate between generated/interpreted weave code and generated/interpreted template. Generally, TEE is intended for use from generated code, interpreted generators generally don't need additional level of indirection TEE brings. OTOH, sometimes it's handy to use same code in both scenarios.
    Since:
    3.3