Codota Logo
CustomTagAndELFunctionCombiner$TemplateDirectiveModelAndTemplateMethodModelEx
Code IndexAdd Codota to your IDE (free)

How to use
CustomTagAndELFunctionCombiner$TemplateDirectiveModelAndTemplateMethodModelEx
in
freemarker.ext.jsp

Best Java code snippets using freemarker.ext.jsp.CustomTagAndELFunctionCombiner$TemplateDirectiveModelAndTemplateMethodModelEx (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: org.freemarker/freemarker

/**
 * @param customTag
 *            Either a {@link TemplateDirectiveModel} or a {@link TemplateTransformModel}.
 */
static TemplateModel combine(TemplateModel customTag, TemplateMethodModelEx elFunction) {
  if (customTag instanceof TemplateDirectiveModel) {
    return elFunction instanceof SimpleMethodModel //
        ? new TemplateDirectiveModelAndSimpleMethodModel( //
            (TemplateDirectiveModel) customTag, (SimpleMethodModel) elFunction) //
        : new TemplateDirectiveModelAndTemplateMethodModelEx( //
            (TemplateDirectiveModel) customTag, elFunction);
  } else if (customTag instanceof TemplateTransformModel) {
    return (elFunction instanceof SimpleMethodModel)
        ? new TemplateTransformModelAndSimpleMethodModel( //
            (TemplateTransformModel) customTag, (SimpleMethodModel) elFunction) //
        : new TemplateTransformModelAndTemplateMethodModelEx( //
            (TemplateTransformModel) customTag, elFunction);
  } else {
    throw new BugException(
        "Unexpected custom JSP tag class: " + ClassUtil.getShortClassNameOfObject(customTag));
  }
}
origin: org.freemarker/freemarker-gae

/**
 * @param customTag
 *            Either a {@link TemplateDirectiveModel} or a {@link TemplateTransformModel}.
 */
static TemplateModel combine(TemplateModel customTag, TemplateMethodModelEx elFunction) {
  if (customTag instanceof TemplateDirectiveModel) {
    return elFunction instanceof SimpleMethodModel //
        ? new TemplateDirectiveModelAndSimpleMethodModel( //
            (TemplateDirectiveModel) customTag, (SimpleMethodModel) elFunction) //
        : new TemplateDirectiveModelAndTemplateMethodModelEx( //
            (TemplateDirectiveModel) customTag, elFunction);
  } else if (customTag instanceof TemplateTransformModel) {
    return (elFunction instanceof SimpleMethodModel)
        ? new TemplateTransformModelAndSimpleMethodModel( //
            (TemplateTransformModel) customTag, (SimpleMethodModel) elFunction) //
        : new TemplateTransformModelAndTemplateMethodModelEx( //
            (TemplateTransformModel) customTag, elFunction);
  } else {
    throw new BugException(
        "Unexpected custom JSP tag class: " + ClassUtil.getShortClassNameOfObject(customTag));
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.freemarker

/**
 * @param customTag
 *            Either a {@link TemplateDirectiveModel} or a {@link TemplateTransformModel}.
 */
static TemplateModel combine(TemplateModel customTag, TemplateMethodModelEx elFunction) {
  if (customTag instanceof TemplateDirectiveModel) {
    return elFunction instanceof SimpleMethodModel //
        ? new TemplateDirectiveModelAndSimpleMethodModel( //
            (TemplateDirectiveModel) customTag, (SimpleMethodModel) elFunction) //
        : new TemplateDirectiveModelAndTemplateMethodModelEx( //
            (TemplateDirectiveModel) customTag, elFunction);
  } else if (customTag instanceof TemplateTransformModel) {
    return (elFunction instanceof SimpleMethodModel)
        ? new TemplateTransformModelAndSimpleMethodModel( //
            (TemplateTransformModel) customTag, (SimpleMethodModel) elFunction) //
        : new TemplateTransformModelAndTemplateMethodModelEx( //
            (TemplateTransformModel) customTag, elFunction);
  } else {
    throw new BugException(
        "Unexpected custom JSP tag class: " + ClassUtil.getShortClassNameOfObject(customTag));
  }
}
freemarker.ext.jspCustomTagAndELFunctionCombiner$TemplateDirectiveModelAndTemplateMethodModelEx

Most used methods

  • <init>

Popular in Java

  • Making http requests using okhttp
  • getApplicationContext (Context)
  • onCreateOptionsMenu (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now