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

How to use
DynamicBeanTag
in
org.apache.commons.jelly.impl

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

origin: org.hudsonci.stapler/commons-jelly-tags-define

  public Tag createTag(String name, Attributes attributes) {
    return  new DynamicBeanTag(beanClass, beanAttributes, varAttribute, invokeMethod);
  }
};
origin: org.jenkins-ci/commons-jelly

  tag.setBody(getBody());
  tag.setContext(getContext());
  tag.setParent(getParent());
  ((Tag) bean).doTag(output);
invokeBody(output);
    methodInvocationException(bean, method, e);
    methodInvocationException(bean, method, e);
origin: commons-jelly/commons-jelly

public void beforeSetAttributes() throws JellyTagException {
  // create a new dynabean before the attributes are set
  try {
    bean = beanClass.newInstance();
    setDynaBean( new ConvertingWrapDynaBean( bean ) );
  } catch (InstantiationException e) {
    throw new JellyTagException("Could not instantiate dynabean",e);
  } catch (IllegalAccessException e) {
    throw new JellyTagException("Could not instantiate dynabean",e);
  }
  setAttributesSet.clear();
}
origin: commons-jelly/commons-jelly

  tag.setBody(getBody());
  tag.setContext(getContext());
  tag.setParent(getParent());
  ((Tag) bean).doTag(output);
invokeBody(output);
    methodInvocationException(bean, method, e);
    methodInvocationException(bean, method, e);
origin: org.jvnet.hudson/commons-jelly

public void beforeSetAttributes() throws JellyTagException {
  // create a new dynabean before the attributes are set
  try {
    bean = beanClass.newInstance();
    setDynaBean( new ConvertingWrapDynaBean( bean ) );
  } catch (InstantiationException e) {
    throw new JellyTagException("Could not instantiate dynabean",e);
  } catch (IllegalAccessException e) {
    throw new JellyTagException("Could not instantiate dynabean",e);
  }
  setAttributesSet.clear();
}
origin: org.hudsonci.stapler/commons-jelly

  tag.setBody(getBody());
  tag.setContext(getContext());
  tag.setParent(getParent());
  ((Tag) bean).doTag(output);
invokeBody(output);
    methodInvocationException(bean, method, e);
    methodInvocationException(bean, method, e);
origin: org.hudsonci.stapler/commons-jelly

public void beforeSetAttributes() throws JellyTagException {
  // create a new dynabean before the attributes are set
  try {
    bean = beanClass.newInstance();
    setDynaBean( new ConvertingWrapDynaBean( bean ) );
  } catch (InstantiationException e) {
    throw new JellyTagException("Could not instantiate dynabean",e);
  } catch (IllegalAccessException e) {
    throw new JellyTagException("Could not instantiate dynabean",e);
  }
  setAttributesSet.clear();
}
origin: org.jvnet.hudson/commons-jelly

  tag.setBody(getBody());
  tag.setContext(getContext());
  tag.setParent(getParent());
  ((Tag) bean).doTag(output);
invokeBody(output);
    methodInvocationException(bean, method, e);
    methodInvocationException(bean, method, e);
origin: org.jenkins-ci/commons-jelly

public void beforeSetAttributes() throws JellyTagException {
  // create a new dynabean before the attributes are set
  try {
    bean = beanClass.newInstance();
    setDynaBean( new ConvertingWrapDynaBean( bean ) );
  } catch (InstantiationException e) {
    throw new JellyTagException("Could not instantiate dynabean",e);
  } catch (IllegalAccessException e) {
    throw new JellyTagException("Could not instantiate dynabean",e);
  }
  setAttributesSet.clear();
}
org.apache.commons.jelly.implDynamicBeanTag

Javadoc

This tag is bound onto a Java Bean class. When the tag is invoked a bean will be created using the tags attributes. The bean may also have an invoke method called invoke(), run(), execute() or some such method which will be invoked after the bean has been configured.

Most used methods

  • getBody
  • getContext
  • getParent
  • invokeBody
  • methodInvocationException
    Report the state of the bean when method invocation fails so that the user can determine any problem
  • setDynaBean
  • <init>

Popular in Java

  • Running tasks concurrently on multiple threads
  • findViewById (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • putExtra (Intent)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JCheckBox (javax.swing)
  • JTextField (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • 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