Codota Logo
com.jwebmp.core.annotations
Code IndexAdd Codota to your IDE (free)

How to use com.jwebmp.core.annotations

Best Java code snippets using com.jwebmp.core.annotations (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: com.jwebmp.jre10/jwebmp-core

  /**
   * Returns the name or the data contained within
   *
   * @return
   */
  @Override
  public String toString()
  {
    if (data != null && !data.isEmpty())
    {
      return data;
    }
    else
    {
      return name();
    }
  }
}
origin: com.jwebmp.jre10/jwebmp-core

/**
 * Method getJsonMapper returns the jsonMapper of this JWebMPSiteBinder object.
 *
 * @return the jsonMapper (type ObjectMapper) of this JWebMPSiteBinder object.
 */
private ObjectReader getCSSReader()
{
  ObjectReader ow = GuiceContext.get(ObjectMapper.class)
                 .reader();
  ow = configureObjectMapperForCSS(ow);
  return ow;
}
origin: com.jwebmp.jre10/jwebmp-core

/**
 * Returns the url to access the data binding search
 *
 * @param component
 *
 * @return
 */
public static String getDataBindUrl(ComponentBase component)
{
  return JWebMPSiteBinder.getDataLocation()
              .replace(StaticStrings.STRING_FORWARD_SLASH, StaticStrings.STRING_EMPTY) + "?component=" + component.getID();
}
origin: com.jwebmp/jwebmp-core

@Override
public Page get()
{
  Set<IPage> pages = getPages();
  if (!pages.iterator()
       .hasNext())
  {
    PageProvider.log.log(Level.WARNING, "Returning blank page since no class was found that extends page or matches the given url");
    return new Page();
  }
  IPage outputPage = null;
  for (IPage page : pages)
  {
    outputPage = findPage(page);
    if (outputPage != null)
    {
      break;
    }
  }
  if (outputPage != null)
  {
    if (!Page.class.isAssignableFrom(outputPage.getClass()))
    {
      PageProvider.log.severe("Page Binding IPage Services must Extend Page.class");
      return new Page();
    }
    return (Page) outputPage;
  }
  return new Page();
}
origin: com.jwebmp.jre11/jwebmp-jquery-ui

/**
 * Renders the source string
 *
 * @return
 */
@JsonProperty("source")
@JsonRawValue
private String getSourceUrl()
{
  if (isAjax())
  {
    return '"' + JWebMPSiteBinder.getDataBindUrl(autoComplete) + '"';
  }
  else
  {
    AutoCompleteEntrySet set = new AutoCompleteEntrySet();
    set.getSource()
      .clear();
    set.getSource()
      .addAll(getSource());
    return set.toString();
  }
}
origin: com.jwebmp/jwebmp-core

@PageConfiguration
@RequestScoped
public class Page<J extends Page<J>>
origin: com.jwebmp.jre10/jwebmp-core

@Override
public Page get()
{
  if (!PageProvider.pages.iterator()
              .hasNext())
  {
    PageProvider.log.log(Level.WARNING, "Returning blank page since no class was found that extends page or matches the given url");
    return new Page();
  }
  IPage outputPage = null;
  for (IPage page : PageProvider.pages)
  {
    outputPage = findPage(page);
    if (outputPage != null)
    {
      break;
    }
  }
  if (outputPage != null)
  {
    if (!Page.class.isAssignableFrom(outputPage.getClass()))
    {
      PageProvider.log.severe("Page Binding IPage Services must Extend Page.class");
      return new Page();
    }
    return (Page) outputPage;
  }
  return new Page();
}
origin: com.jwebmp.jre10/jwebmp-core

private ObjectReader getJsonReader()
{
  ObjectReader ow = GuiceContext.get(ObjectMapper.class)
                 .reader();
  ow = configureObjectMapperForJSON(ow);
  return ow;
}
origin: com.jwebmp.jre11/jwebmp-core

@Override
public Page get()
{
  Set<IPage> pages = getPages();
  if (!pages.iterator()
       .hasNext())
  {
    PageProvider.log.log(Level.WARNING, "Returning blank page since no class was found that extends page or matches the given url");
    return new Page();
  }
  IPage outputPage = null;
  for (IPage page : pages)
  {
    outputPage = findPage(page);
    if (outputPage != null)
    {
      break;
    }
  }
  if (outputPage != null)
  {
    if (!Page.class.isAssignableFrom(outputPage.getClass()))
    {
      PageProvider.log.severe("Page Binding IPage Services must Extend Page.class");
      return new Page();
    }
    return (Page) outputPage;
  }
  return new Page();
}
origin: com.jwebmp/jwebmp-core

/**
 * Returns the url to access the data binding search
 *
 * @param component
 *
 * @return
 */
public static String getDataBindUrl(ComponentBase component)
{
  return JWebMPSiteBinder.getDataLocation()
              .replace(StaticStrings.STRING_FORWARD_SLASH, StaticStrings.STRING_EMPTY) + "?component=" + component.getID();
}
origin: com.jwebmp.jre11/jwebmp-core

  /**
   * Returns the name or the data contained within
   *
   * @return
   */
  @Override
  public String toString()
  {
    if (data != null && !data.isEmpty())
    {
      return data;
    }
    else
    {
      return name();
    }
  }
}
origin: com.jwebmp.jre10/jwebmp-jquery-ui

/**
 * Renders the source string
 *
 * @return
 */
@JsonProperty("source")
@JsonRawValue
private String getSourceUrl()
{
  if (isAjax())
  {
    return '"' + JWebMPSiteBinder.getDataBindUrl(autoComplete) + '"';
  }
  else
  {
    AutoCompleteEntrySet set = new AutoCompleteEntrySet();
    set.getSource()
      .clear();
    set.getSource()
      .addAll(getSource());
    return set.toString();
  }
}
origin: com.jwebmp.jre10/jwebmp-core

@PageConfiguration
@RequestScoped
public class Page<J extends Page<J>>
origin: com.jwebmp.jre10/jwebmp-core

/**
 * Method getJsonMapper returns the jsonMapper of this JWebMPSiteBinder object.
 *
 * @return the jsonMapper (type ObjectMapper) of this JWebMPSiteBinder object.
 */
private ObjectWriter getJsonMapperTiny()
{
  ObjectWriter ow = GuiceContext.get(ObjectMapper.class)
                 .writer();
  ow = configureObjectMapperForJSON(ow);
  return ow;
}
origin: com.jwebmp.jre10/jwebmp-core

/**
 * Method getJsonMapper returns the jsonMapper of this JWebMPSiteBinder object.
 *
 * @return the jsonMapper (type ObjectMapper) of this JWebMPSiteBinder object.
 */
private ObjectWriter getCSSMapper()
{
  ObjectWriter ow = GuiceContext.get(ObjectMapper.class)
                 .writer();
  ow = configureObjectMapperForCSS(ow);
  return ow;
}
origin: com.jwebmp.jre11/jwebmp-core

/**
 * Returns the url to access the data binding search
 *
 * @param component
 *
 * @return
 */
public static String getDataBindUrl(ComponentBase component)
{
  return JWebMPSiteBinder.getDataLocation()
              .replace(StaticStrings.STRING_FORWARD_SLASH, StaticStrings.STRING_EMPTY) + "?component=" + component.getID();
}
origin: com.jwebmp/jwebmp-core

  /**
   * Returns the name or the data contained within
   *
   * @return
   */
  @Override
  public String toString()
  {
    if (data != null && !data.isEmpty())
    {
      return data;
    }
    else
    {
      return name();
    }
  }
}
origin: com.jwebmp/jwebmp-jquery-ui

/**
 * Renders the source string
 *
 * @return
 */
@JsonProperty("source")
@JsonRawValue
private String getSourceUrl()
{
  if (isAjax())
  {
    return '"' + JWebMPSiteBinder.getDataBindUrl(autoComplete) + '"';
  }
  else
  {
    AutoCompleteEntrySet set = new AutoCompleteEntrySet();
    set.getSource()
      .clear();
    set.getSource()
      .addAll(getSource());
    return set.toString();
  }
}
origin: com.jwebmp.jre11/jwebmp-core

@PageConfiguration
@RequestScoped
public class Page<J extends Page<J>>
origin: com.jwebmp.jre10/jwebmp-core

/**
 * Method getJsonMapper returns the jsonMapper of this JWebMPSiteBinder object.
 *
 * @return the jsonMapper (type ObjectMapper) of this JWebMPSiteBinder object.
 */
private ObjectWriter getJsonMapper()
{
  ObjectWriter ow = GuiceContext.get(ObjectMapper.class)
                 .writerWithDefaultPrettyPrinter();
  ow = configureObjectMapperForJSON(ow);
  return ow;
}
com.jwebmp.core.annotations

Most used classes

  • JWebMPSiteBinder
  • PageConfiguration
  • PageProvider
  • PageTypes
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