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

How to use
MethodExpressionMethodBindingAdapter
in
javax.faces.component

Best Java code snippets using javax.faces.component.MethodExpressionMethodBindingAdapter (Showing top 20 results out of 315)

origin: com.sun.faces/jsf-api

/**
 * {@inheritDoc}
 *
 * @deprecated This has been replaced by {@link #setActionExpression(javax.el.MethodExpression)}.
 */
public void setAction(MethodBinding action) {
  MethodExpressionMethodBindingAdapter adapter;
  if (null != action) {
    adapter = new MethodExpressionMethodBindingAdapter(action);
    setActionExpression(adapter);
  } else {
    setActionExpression(null);
  }
}

origin: org.jboss.spec.javax.faces/jboss-jsf-api_2.0_spec

/**
 * {@inheritDoc}
 *
 * @deprecated This has been replaced by {@link #getActionExpression}.
 */
public MethodBinding getAction() {
  MethodBinding result = null;
  MethodExpression me;
  if (null != (me = getActionExpression())) {
    // if the MethodExpression is an instance of our private
    // wrapper class.
    if (me.getClass().equals(MethodExpressionMethodBindingAdapter.class)) {
      result = ((MethodExpressionMethodBindingAdapter) me).getWrapped();
    } else {
      // otherwise, this is a real MethodExpression.  Wrap it
      // in a MethodBinding.
      result = new MethodBindingMethodExpressionAdapter(me);
    }
  }
  return result;
}
origin: com.sun.faces/jsf-api

if (null != className) {
try {
  toRestoreClass = loadClass(className, this);
origin: com.sun.faces/jsf-api

/**
 * {@inheritDoc}
 *
 * @deprecated This has been replaced by {@link #getActionExpression}.
 */
public MethodBinding getAction() {
  MethodBinding result = null;
  MethodExpression me;
  if (null != (me = getActionExpression())) {
    // if the MethodExpression is an instance of our private
    // wrapper class.
    if (me.getClass().equals(MethodExpressionMethodBindingAdapter.class)) {
      result = ((MethodExpressionMethodBindingAdapter) me).getWrapped();
    } else {
      // otherwise, this is a real MethodExpression.  Wrap it
      // in a MethodBinding.
      result = new MethodBindingMethodExpressionAdapter(me);
    }
  }
  return result;
}
origin: javax/javaee-web-api

/**
 * {@inheritDoc}
 *
 * @deprecated This has been replaced by {@link #setActionExpression(javax.el.MethodExpression)}.
 */
@Override
public void setAction(MethodBinding action) {
  MethodExpressionMethodBindingAdapter adapter;
  if (null != action) {
    adapter = new MethodExpressionMethodBindingAdapter(action);
    setActionExpression(adapter);
  } else {
    setActionExpression(null);
  }
}

origin: javax.faces/javax.faces-api

if (null != className) {
try {
  toRestoreClass = loadClass(className, this);
origin: javax/javaee-web-api

/**
 * {@inheritDoc}
 *
 * @deprecated This has been replaced by {@link #getActionExpression}.
 */
@Override
public MethodBinding getAction() {
  MethodBinding result = null;
  MethodExpression me;
  if (null != (me = getActionExpression())) {
    // if the MethodExpression is an instance of our private
    // wrapper class.
    if (me.getClass().equals(MethodExpressionMethodBindingAdapter.class)) {
      result = ((MethodExpressionMethodBindingAdapter) me).getWrapped();
    } else {
      // otherwise, this is a real MethodExpression.  Wrap it
      // in a MethodBinding.
      result = new MethodBindingMethodExpressionAdapter(me);
    }
  }
  return result;
}
origin: javax.faces/com.springsource.javax.faces

/**
 * {@inheritDoc}
 * @deprecated This has been replaced by {@link #setActionExpression(javax.el.MethodExpression)}.
 */
public void setAction(MethodBinding action) {
MethodExpressionMethodBindingAdapter adapter;
if (null != action) {
  adapter = new MethodExpressionMethodBindingAdapter(action);
  setActionExpression(adapter);
}
else {
  setActionExpression(null);
}
}

origin: org.jboss.spec.javax.faces/jboss-jsf-api_2.0_spec

if (null != className) {
try {
  toRestoreClass = loadClass(className, this);
origin: javax.faces/com.springsource.javax.faces

/**
 * {@inheritDoc}
 * @deprecated This has been replaced by {@link #getActionExpression}.
 */
public MethodBinding getAction() {
MethodBinding result = null;
MethodExpression me;
if (null != (me = getActionExpression())) {
  // if the MethodExpression is an instance of our private
  // wrapper class.
  if (me.getClass().equals(MethodExpressionMethodBindingAdapter.class)) {
  result = ((MethodExpressionMethodBindingAdapter)me).getWrapped();
  }
  else {
  // otherwise, this is a real MethodExpression.  Wrap it
  // in a MethodBinding.
  result = new MethodBindingMethodExpressionAdapter(me);
  }
}
return result;
  
}
origin: javax.faces/javax.faces-api

/**
 * {@inheritDoc}
 *
 * @deprecated This has been replaced by {@link #setActionExpression(javax.el.MethodExpression)}.
 */
@Override
public void setAction(MethodBinding action) {
  MethodExpressionMethodBindingAdapter adapter;
  if (null != action) {
    adapter = new MethodExpressionMethodBindingAdapter(action);
    setActionExpression(adapter);
  } else {
    setActionExpression(null);
  }
}

origin: jboss/jboss-javaee-specs

if (null != className) {
try {
  toRestoreClass = loadClass(className, this);
origin: javax.faces/javax.faces-api

/**
 * {@inheritDoc}
 *
 * @deprecated This has been replaced by {@link #getActionExpression}.
 */
@Override
public MethodBinding getAction() {
  MethodBinding result = null;
  MethodExpression me;
  if (null != (me = getActionExpression())) {
    // if the MethodExpression is an instance of our private
    // wrapper class.
    if (me.getClass().equals(MethodExpressionMethodBindingAdapter.class)) {
      result = ((MethodExpressionMethodBindingAdapter) me).getWrapped();
    } else {
      // otherwise, this is a real MethodExpression.  Wrap it
      // in a MethodBinding.
      result = new MethodBindingMethodExpressionAdapter(me);
    }
  }
  return result;
}
origin: org.jboss.spec.javax.faces/jboss-jsf-api_2.0_spec

/**
 * {@inheritDoc}
 *
 * @deprecated This has been replaced by {@link #setActionExpression(javax.el.MethodExpression)}.
 */
public void setAction(MethodBinding action) {
  MethodExpressionMethodBindingAdapter adapter;
  if (null != action) {
    adapter = new MethodExpressionMethodBindingAdapter(action);
    setActionExpression(adapter);
  } else {
    setActionExpression(null);
  }
}

origin: javax/javaee-web-api

if (null != className) {
try {
  toRestoreClass = loadClass(className, this);
origin: jboss/jboss-javaee-specs

/**
 * {@inheritDoc}
 *
 * @deprecated This has been replaced by {@link #getActionExpression}.
 */
@Override
public MethodBinding getAction() {
  MethodBinding result = null;
  MethodExpression me;
  if (null != (me = getActionExpression())) {
    // if the MethodExpression is an instance of our private
    // wrapper class.
    if (me.getClass().equals(MethodExpressionMethodBindingAdapter.class)) {
      result = ((MethodExpressionMethodBindingAdapter) me).getWrapped();
    } else {
      // otherwise, this is a real MethodExpression.  Wrap it
      // in a MethodBinding.
      result = new MethodBindingMethodExpressionAdapter(me);
    }
  }
  return result;
}
origin: jboss/jboss-javaee-specs

/**
 * {@inheritDoc}
 *
 * @deprecated This has been replaced by {@link #setActionExpression(javax.el.MethodExpression)}.
 */
@Override
public void setAction(MethodBinding action) {
  MethodExpressionMethodBindingAdapter adapter;
  if (null != action) {
    adapter = new MethodExpressionMethodBindingAdapter(action);
    setActionExpression(adapter);
  } else {
    setActionExpression(null);
  }
}

origin: javax.faces/javax.faces-api

  MethodBinding ob = ((MethodExpressionMethodBindingAdapter) other).getWrapped();
  return (binding.equals(ob));
} else if (other instanceof MethodExpression) {
origin: org.jboss.spec.javax.faces/jboss-jsf-api_2.0_spec

  MethodBinding ob = ((MethodExpressionMethodBindingAdapter) other).getWrapped();
  return (binding.equals(ob));
} else if (other instanceof MethodExpression) {
origin: javax/javaee-web-api

  MethodBinding ob = ((MethodExpressionMethodBindingAdapter) other).getWrapped();
  return (binding.equals(ob));
} else if (other instanceof MethodExpression) {
javax.faces.componentMethodExpressionMethodBindingAdapter

Javadoc

Wrap a MethodBinding instance and expose it as a MethodExpression.

Most used methods

  • <init>
  • getWrapped
  • loadClass

Popular in Java

  • Making http requests using okhttp
  • setScale (BigDecimal)
  • getContentResolver (Context)
  • setRequestProperty (URLConnection)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Reference (javax.naming)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • 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