code: public void parseStandalone(
              final IEngineConfiguration configuration,
              final String ownerTemplate,
              final String template,
              final Set<String> templateSelectors,
              final ITemplateResource resource,
              final TemplateMode templateMode,
              final boolean useDecoupledLogic,
              final ITemplateHandler handler) {
  
          Validate.notNull(configuration, "Engine Configuration cannot be null");
          // ownerTemplate CAN be null if this is a first-level template
          Validate.notNull(template, "Template cannot be null");
          Validate.notNull(resource, "Template Resource cannot be null");
          Validate.isTrue(templateSelectors == null || templateSelectors.isEmpty(),
                          "Template selectors cannot be specified for a template using RAW template mode: template " +
                          "insertion operations must be always performed on whole template files, not fragments");
          Validate.notNull(templateMode, "Template Mode cannot be null");
          Validate.isTrue(templateMode == TemplateMode.RAW, "Template Mode has to be RAW");
          Validate.isTrue(!useDecoupledLogic, "Cannot use decoupled logic in template mode " + templateMode);
          Validate.notNull(handler, "Template Handler cannot be null");
  
          parse(configuration, ownerTemplate, template, templateSelectors, resource, 0, 0, templateMode, handler);
  
      }
docs: /*
  -------------------
  PARSE METHODS
  -------------------