Tabnine Logo
TagDecorator.decorate
Code IndexAdd Tabnine to your IDE (free)

How to use
decorate
method
in
javax.faces.view.facelets.TagDecorator

Best Java code snippets using javax.faces.view.facelets.TagDecorator.decorate (Showing top 16 results out of 315)

origin: org.apache.myfaces.core/myfaces-impl

  public Tag decorate(Tag tag)
  {
    Tag processedTag = defaultTagDecorator.decorate(tag);
    return processedTag != null ? processedTag : tag;
  }
}
origin: org.apache.myfaces.core/myfaces-impl

  public Tag decorate(Tag tag)
  {
    // The default tag decorator is special, because a non null return value does not
    // stop processing.
    Tag processedTag = this.defaultTagDecorator.decorate(tag);
    // If a not null value is returned, pass the processedTag, otherwise pass the default one.
    return compositeTagDecorator.decorate(processedTag != null ? processedTag : tag);
  }
}
origin: org.apache.myfaces.core/myfaces-impl

/**
 * Uses the chain of responsibility pattern to stop processing if any of the TagDecorators return a value other than
 * null.
 * 
 * @see javax.faces.view.facelets.TagDecorator#decorate(javax.faces.view.facelets.Tag)
 */
public Tag decorate(Tag tag)
{
  Tag t = null;
  for (int i = 0; i < this.decorators.length; i++)
  {
    t = this.decorators[i].decorate(tag);
    if (t != null)
    {
      return t;
    }
  }
  return tag;
}
origin: org.apache.myfaces.core/myfaces-shaded-impl

/**
 * Uses the chain of responsibility pattern to stop processing if any of the TagDecorators return a value other than
 * null.
 * 
 * @see org.apache.myfaces.view.facelets.tag.TagDecorator#decorate(org.apache.myfaces.view.facelets.tag.Tag)
 */
public Tag decorate(Tag tag)
{
  Tag t = null;
  for (int i = 0; i < this.decorators.length; i++)
  {
    t = this.decorators[i].decorate(tag);
    if (t != null)
    {
      return t;
    }
  }
  return tag;
}
origin: org.apache.myfaces.core.internal/myfaces-shaded-impl

/**
 * Uses the chain of responsibility pattern to stop processing if any of the TagDecorators return a value other than
 * null.
 * 
 * @see org.apache.myfaces.view.facelets.tag.TagDecorator#decorate(org.apache.myfaces.view.facelets.tag.Tag)
 */
public Tag decorate(Tag tag)
{
  Tag t = null;
  for (int i = 0; i < this.decorators.length; i++)
  {
    t = this.decorators[i].decorate(tag);
    if (t != null)
    {
      return t;
    }
  }
  return tag;
}
origin: org.glassfish/javax.faces

/**
 * Uses the chain of responsibility pattern to stop processing if any of
 * the TagDecorators return a value other than null.
 */
@Override
public Tag decorate(Tag tag) {
  // eliminate the jsf: attributes
  Tag noJsfAttributes = defaultTagDecorator.decorate(tag);
  if(noJsfAttributes != null) {
    // pass the converted tag to the other decorators
    tag = noJsfAttributes;
  }
  Tag t = null;
  for (int i = 0; i < this.decorators.length; i++) {
    t = this.decorators[i].decorate(tag);
    if (t != null) {
      return t;
    }
  }
  return tag;
}
origin: com.sun.faces/jsf-impl

/**
 * Uses the chain of responsibility pattern to stop processing if any of
 * the TagDecorators return a value other than null.
 */
public Tag decorate(Tag tag) {
  // eliminate the jsf: attributes
  Tag noJsfAttributes = defaultTagDecorator.decorate(tag);
  if(noJsfAttributes != null) {
    // pass the converted tag to the other decorators
    tag = noJsfAttributes;
  }
  Tag t = null;
  for (int i = 0; i < this.decorators.length; i++) {
    t = this.decorators[i].decorate(tag);
    if (t != null) {
      return t;
    }
  }
  return tag;
}
origin: eclipse-ee4j/mojarra

/**
 * Uses the chain of responsibility pattern to stop processing if any of
 * the TagDecorators return a value other than null.
 */
@Override
public Tag decorate(Tag tag) {
  // eliminate the jsf: attributes
  Tag noJsfAttributes = defaultTagDecorator.decorate(tag);
  if(noJsfAttributes != null) {
    // pass the converted tag to the other decorators
    tag = noJsfAttributes;
  }
  Tag t = null;
  for (int i = 0; i < this.decorators.length; i++) {
    t = this.decorators[i].decorate(tag);
    if (t != null) {
      return t;
    }
  }
  return tag;
}
origin: org.glassfish/jakarta.faces

/**
 * Uses the chain of responsibility pattern to stop processing if any of
 * the TagDecorators return a value other than null.
 */
@Override
public Tag decorate(Tag tag) {
  // eliminate the jsf: attributes
  Tag noJsfAttributes = defaultTagDecorator.decorate(tag);
  if(noJsfAttributes != null) {
    // pass the converted tag to the other decorators
    tag = noJsfAttributes;
  }
  Tag t = null;
  for (int i = 0; i < this.decorators.length; i++) {
    t = this.decorators[i].decorate(tag);
    if (t != null) {
      return t;
    }
  }
  return tag;
}
origin: com.sun.faces/jsf-impl

Tag t = this.tagDecorator.decorate(orig);
String[] qname = this.determineQName(t);
t = this.trimAttributes(t);
origin: org.glassfish/javax.faces

Tag t = this.tagDecorator.decorate(orig);
String[] qname = this.determineQName(t);
t = this.trimAttributes(t);
origin: eclipse-ee4j/mojarra

Tag t = this.tagDecorator.decorate(orig);
String[] qname = this.determineQName(t);
t = this.trimAttributes(t);
origin: org.glassfish/jakarta.faces

Tag t = this.tagDecorator.decorate(orig);
String[] qname = this.determineQName(t);
t = this.trimAttributes(t);
origin: org.apache.myfaces.core/myfaces-shaded-impl

Tag t = this.tagDecorator.decorate(orig);
String[] qname = this.determineQName(t);
t = this.trimAttributes(t);
origin: org.apache.myfaces.core.internal/myfaces-shaded-impl

Tag t = this.tagDecorator.decorate(orig);
String[] qname = this.determineQName(t);
t = this.trimAttributes(t);
origin: org.apache.myfaces.core/myfaces-impl

Tag t = this.tagDecorator.decorate(orig);
String[] qname = this.determineQName(t);
t = this.trimAttributes(t);
javax.faces.view.faceletsTagDecoratordecorate

Javadoc

If handled, return a new Tag instance, otherwise return null

Popular methods of TagDecorator

    Popular in Java

    • Finding current android device location
    • notifyDataSetChanged (ArrayAdapter)
    • requestLocationUpdates (LocationManager)
    • startActivity (Activity)
    • BigDecimal (java.math)
      An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
    • Comparator (java.util)
      A Comparator is used to compare two objects to determine their ordering with respect to each other.
    • Stack (java.util)
      Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
    • Executor (java.util.concurrent)
      An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
    • JFileChooser (javax.swing)
    • Project (org.apache.tools.ant)
      Central representation of an Ant project. This class defines an Ant project with all of its targets,
    • Top plugins for Android Studio
    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