001package io.jstach.jstachio.context;
002
003/**
004 * A marker interface to signify something is context aware. If JStachio finds either the
005 * model or output to implement this interface it will be bound to the context with the
006 * name {@value ContextNode#CONTEXT_BINDING_NAME}.
007 *
008 * @author agentgt
009 */
010public interface ContextSupplier {
011
012        /**
013         * A context node never null but maybe {@linkplain ContextNode#empty() empty}.
014         * @return context node.
015         */
016        public ContextNode context();
017
018}