Tabnine Logo
MessageFunction.getNamespace
Code IndexAdd Tabnine to your IDE (free)

How to use
getNamespace
method
in
net.jhorstmann.i18n.tools.xgettext.MessageFunction

Best Java code snippets using net.jhorstmann.i18n.tools.xgettext.MessageFunction.getNamespace (Showing top 4 results out of 315)

origin: net.jhorstmann/i18n-xgettext-asm

public ConstantTrackingInterpreter( MessageBundle catalog, List<MessageFunction> functions, boolean srcRefPaths ) {
  super( 1 );
  this.srcRefPaths = srcRefPaths;
  this.bundle = catalog;
  this.functionByDesc = new HashMap<String, MessageFunction>();
  for (MessageFunction function : functions) {
    String key = function.getNamespace() + "." + function.getName() + function.getDescription();
    log.debug("Adding function {}", key);
    if (functionByDesc.containsKey(key)) {
      log.error("Multiple definitions for MessageFunction {}" + key);
    }
    functionByDesc.put(key, function);
  }
}
origin: jhorstmann/i18n

public ConstantTrackingInterpreter( MessageBundle catalog, List<MessageFunction> functions, boolean srcRefPaths ) {
  super( 1 );
  this.srcRefPaths = srcRefPaths;
  this.bundle = catalog;
  this.functionByDesc = new HashMap<String, MessageFunction>();
  for (MessageFunction function : functions) {
    String key = function.getNamespace() + "." + function.getName() + function.getDescription();
    log.debug("Adding function {}", key);
    if (functionByDesc.containsKey(key)) {
      log.error("Multiple definitions for MessageFunction {}" + key);
    }
    functionByDesc.put(key, function);
  }
}
origin: net.jhorstmann/i18n-xgettext-web

log.debug("Trying to match parameters for {} ({})", mfn.getName(), mfn.getNamespace());
if (mfn.getNamespace().equals(uri) && mfn.getName().equals(name) && count >= mfn.getParameterCount()) {
  int contextIdx = mfn.getContextIndex();
  int messageIdx = mfn.getMessageIndex();
origin: jhorstmann/i18n

log.debug("Trying to match parameters for {} ({})", mfn.getName(), mfn.getNamespace());
if (mfn.getNamespace().equals(uri) && mfn.getName().equals(name) && count >= mfn.getParameterCount()) {
  int contextIdx = mfn.getContextIndex();
  int messageIdx = mfn.getMessageIndex();
net.jhorstmann.i18n.tools.xgettextMessageFunctiongetNamespace

Popular methods of MessageFunction

  • fromEL
  • fromJava
  • getContextIndex
  • getMessageIndex
  • getName
  • getPluralIndex
  • <init>
  • appendInternalName
  • getDescription
  • getParameterCount
  • setNamespace
  • validateParamIdx
  • setNamespace,
  • validateParamIdx

Popular in Java

  • Updating database using SQL prepared statement
  • setScale (BigDecimal)
  • getExternalFilesDir (Context)
  • onCreateOptionsMenu (Activity)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • String (java.lang)
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now