Tabnine Logo
Namespace
Code IndexAdd Tabnine to your IDE (free)

How to use
Namespace
in
org.jboss.weld.module.web.el

Best Java code snippets using org.jboss.weld.module.web.el.Namespace (Showing top 15 results out of 315)

origin: weld/core

private Namespace putIfAbsent(String key) {
  Namespace result = children.get(key);
  if (result == null) {
    result = new Namespace(key, qualifyName(key));
    children.put(key, result);
  }
  return result;
}
origin: weld/core

@Override
public boolean equals(Object other) {
  if (other instanceof Namespace) {
    Namespace that = (Namespace) other;
    return this.getQualifiedName().equals(that.getQualifiedName());
  } else {
    return false;
  }
}
origin: weld/core

/**
 * Create a new namespace hierarchy
 *
 * @param namespace
 */
public Namespace(Iterable<String> namespaces) {
  this(null, null);
  for (String namespace : namespaces) {
    String[] hierarchy = namespace.split("\\.");
    Namespace n = this;
    for (String s : hierarchy) {
      n = n.putIfAbsent(s);
    }
  }
}
origin: weld/core

Namespace namespace = null;
if (base == null) {
  if (getRootNamespace().contains(propertyString)) {
    Object value = getRootNamespace().get(propertyString);
    context.setPropertyResolved(true);
    ElLogger.LOG.propertyResolved(propertyString, value);
  if (namespace.contains(propertyString)) {
    Object value = namespace.get(propertyString);
    ElLogger.LOG.propertyResolved(propertyString, value);
    return value;
if (namespace != null) {
  name = namespace.qualifyName(propertyString);
} else {
  name = propertyString;
origin: weld/core

public WeldELResolver(BeanManagerImpl manager) {
  this.beanManager = manager;
  this.rootNamespace = LazyValueHolder.forSupplier(() -> new Namespace(manager.getDynamicAccessibleNamespaces()));
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

Namespace namespace = null;
if (base == null) {
  if (getRootNamespace().contains(propertyString)) {
    Object value = getRootNamespace().get(propertyString);
    context.setPropertyResolved(true);
    ElLogger.LOG.propertyResolved(propertyString, value);
  if (namespace.contains(propertyString)) {
    Object value = namespace.get(propertyString);
    ElLogger.LOG.propertyResolved(propertyString, value);
    return value;
if (namespace != null) {
  name = namespace.qualifyName(propertyString);
} else {
  name = propertyString;
origin: weld/core

public WeldELResolver(BeanManagerImpl manager) {
  this.beanManager = manager;
  this.rootNamespace = LazyValueHolder.forSupplier(() -> new Namespace(manager.getDynamicAccessibleNamespaces()));
}
origin: weld/core

Namespace namespace = null;
if (base == null) {
  if (getRootNamespace().contains(propertyString)) {
    Object value = getRootNamespace().get(propertyString);
    context.setPropertyResolved(true);
    ElLogger.LOG.propertyResolved(propertyString, value);
  if (namespace.contains(propertyString)) {
    Object value = namespace.get(propertyString);
    ElLogger.LOG.propertyResolved(propertyString, value);
    return value;
if (namespace != null) {
  name = namespace.qualifyName(propertyString);
} else {
  name = propertyString;
origin: weld/core

private Namespace putIfAbsent(String key) {
  Namespace result = children.get(key);
  if (result == null) {
    result = new Namespace(key, qualifyName(key));
    children.put(key, result);
  }
  return result;
}
origin: weld/core

@Override
public boolean equals(Object other) {
  if (other instanceof Namespace) {
    Namespace that = (Namespace) other;
    return this.getQualifiedName().equals(that.getQualifiedName());
  } else {
    return false;
  }
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

public WeldELResolver(BeanManagerImpl manager) {
  this.beanManager = manager;
  this.rootNamespace = LazyValueHolder.forSupplier(() -> new Namespace(manager.getDynamicAccessibleNamespaces()));
}
origin: weld/core

/**
 * Create a new namespace hierarchy
 *
 * @param namespace
 */
public Namespace(Iterable<String> namespaces) {
  this(null, null);
  for (String namespace : namespaces) {
    String[] hierarchy = namespace.split("\\.");
    Namespace n = this;
    for (String s : hierarchy) {
      n = n.putIfAbsent(s);
    }
  }
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

private Namespace putIfAbsent(String key) {
  Namespace result = children.get(key);
  if (result == null) {
    result = new Namespace(key, qualifyName(key));
    children.put(key, result);
  }
  return result;
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

@Override
public boolean equals(Object other) {
  if (other instanceof Namespace) {
    Namespace that = (Namespace) other;
    return this.getQualifiedName().equals(that.getQualifiedName());
  } else {
    return false;
  }
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

/**
 * Create a new namespace hierarchy
 *
 * @param namespace
 */
public Namespace(Iterable<String> namespaces) {
  this(null, null);
  for (String namespace : namespaces) {
    String[] hierarchy = namespace.split("\\.");
    Namespace n = this;
    for (String s : hierarchy) {
      n = n.putIfAbsent(s);
    }
  }
}
org.jboss.weld.module.web.elNamespace

Javadoc

A namespace for bean names

Most used methods

  • <init>
  • contains
  • get
  • getQualifiedName
  • putIfAbsent
  • qualifyName

Popular in Java

  • Updating database using SQL prepared statement
  • findViewById (Activity)
  • onCreateOptionsMenu (Activity)
  • getExternalFilesDir (Context)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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