Tabnine Logo
DynaTag.setAttribute
Code IndexAdd Tabnine to your IDE (free)

How to use
setAttribute
method
in
org.apache.commons.jelly.DynaTag

Best Java code snippets using org.apache.commons.jelly.DynaTag.setAttribute (Showing top 9 results out of 315)

origin: stapler/stapler

private void configureTag(Tag tag, Map attributes) throws JellyException {
  if ( tag instanceof DynaTag ) {
    DynaTag dynaTag = (DynaTag) tag;
    for (Object o : attributes.entrySet()) {
      Entry entry = (Entry) o;
      String name = (String) entry.getKey();
      if(name.equals("xmlns"))    continue;   // we'll process this by ourselves
      Object value = getValue(entry, dynaTag.getAttributeType(name));
      dynaTag.setAttribute(name, value);
    }
  } else {
    // treat the tag as a bean
    DynaBean dynaBean = new ConvertingWrapDynaBean( tag );
    for (Object o : attributes.entrySet()) {
      Entry entry = (Entry) o;
      String name = (String) entry.getKey();
      if(name.equals("xmlns"))    continue;   // we'll process this by ourselves
      DynaProperty property = dynaBean.getDynaClass().getDynaProperty(name);
      if (property == null) {
        throw new JellyException("This tag does not understand the '" + name + "' attribute");
      }
      dynaBean.set(name, getValue(entry,property.getType()));
    }
  }
}
origin: org.jenkins-ci/commons-jelly

  value = expression.evaluateRecurse(context);
dynaTag.setAttribute(name, value);
origin: org.jvnet.hudson/commons-jelly

dynaTag.setAttribute(name, value);
origin: commons-jelly/commons-jelly

  value = expression.evaluateRecurse(context);
dynaTag.setAttribute(name, value);
origin: org.jvnet.hudson/commons-jelly

  value = expression.evaluateRecurse(context);
dynaTag.setAttribute(name, value);
origin: org.jenkins-ci/commons-jelly

dynaTag.setAttribute(name, value);
origin: org.hudsonci.stapler/commons-jelly

  value = expression.evaluateRecurse(context);
dynaTag.setAttribute(name, value);
origin: org.hudsonci.stapler/commons-jelly

dynaTag.setAttribute(name, value);
origin: commons-jelly/commons-jelly

dynaTag.setAttribute(name, value);
org.apache.commons.jellyDynaTagsetAttribute

Javadoc

Sets an attribute value of this tag before the tag is invoked

Popular methods of DynaTag

  • getAttributeType

Popular in Java

  • Running tasks concurrently on multiple threads
  • requestLocationUpdates (LocationManager)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getApplicationContext (Context)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Top Sublime Text plugins
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