congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
UseBeanTag.setBeanProperties
Code IndexAdd Tabnine to your IDE (free)

How to use
setBeanProperties
method
in
org.apache.commons.jelly.tags.core.UseBeanTag

Best Java code snippets using org.apache.commons.jelly.tags.core.UseBeanTag.setBeanProperties (Showing top 8 results out of 315)

origin: org.jvnet.hudson/commons-jelly

protected void setBeanProperties(Object bean, Map attributes) throws JellyTagException {
  items = (Expression) attributes.remove("items");
  super.setBeanProperties(bean, attributes);
}
origin: commons-jelly/commons-jelly

protected void setBeanProperties(Object bean, Map attributes) throws JellyTagException {
  items = (Expression) attributes.remove("items");
  super.setBeanProperties(bean, attributes);
}
origin: org.hudsonci.stapler/commons-jelly

protected void setBeanProperties(Object bean, Map attributes) throws JellyTagException {
  items = (Expression) attributes.remove("items");
  super.setBeanProperties(bean, attributes);
}
origin: org.jenkins-ci/commons-jelly

protected void setBeanProperties(Object bean, Map attributes) throws JellyTagException {
  items = (Expression) attributes.remove("items");
  super.setBeanProperties(bean, attributes);
}
origin: org.hudsonci.stapler/commons-jelly

public void doTag(XMLOutput output) throws JellyTagException {
  Map attributes = getAttributes();
  String var = (String) attributes.get( "var" );
  Object classObject = attributes.get( "class" );
  addIgnoreProperty("class");
  addIgnoreProperty("var");
  try {
    // this method could return null in derived classes
    Class theClass = convertToClass(classObject);
    bean = newInstance(theClass, attributes, output);
    setBeanProperties(bean, attributes);
    // invoke body which could result in other properties being set
    invokeBody(output);
    processBean(var, bean);
  }
  catch (ClassNotFoundException e) {
    throw new JellyTagException(e);
  }
}
origin: org.jenkins-ci/commons-jelly

public void doTag(XMLOutput output) throws JellyTagException {
  Map attributes = getAttributes();
  String var = (String) attributes.get( "var" );
  Object classObject = attributes.get( "class" );
  addIgnoreProperty("class");
  addIgnoreProperty("var");
  try {
    // this method could return null in derived classes
    Class theClass = convertToClass(classObject);
    bean = newInstance(theClass, attributes, output);
    setBeanProperties(bean, attributes);
    // invoke body which could result in other properties being set
    invokeBody(output);
    processBean(var, bean);
  }
  catch (ClassNotFoundException e) {
    throw new JellyTagException(e);
  }
}
origin: org.jvnet.hudson/commons-jelly

public void doTag(XMLOutput output) throws JellyTagException {
  Map attributes = getAttributes();
  String var = (String) attributes.get( "var" );
  Object classObject = attributes.get( "class" );
  addIgnoreProperty("class");
  addIgnoreProperty("var");
  try {
    // this method could return null in derived classes
    Class theClass = convertToClass(classObject);
    bean = newInstance(theClass, attributes, output);
    setBeanProperties(bean, attributes);
    // invoke body which could result in other properties being set
    invokeBody(output);
    processBean(var, bean);
  }
  catch (ClassNotFoundException e) {
    throw new JellyTagException(e);
  }
}
origin: commons-jelly/commons-jelly

public void doTag(XMLOutput output) throws JellyTagException {
  Map attributes = getAttributes();
  String var = (String) attributes.get( "var" );
  Object classObject = attributes.get( "class" );
  addIgnoreProperty("class");
  addIgnoreProperty("var");
  try {
    // this method could return null in derived classes
    Class theClass = convertToClass(classObject);
    bean = newInstance(theClass, attributes, output);
    setBeanProperties(bean, attributes);
    // invoke body which could result in other properties being set
    invokeBody(output);
    processBean(var, bean);
  }
  catch (ClassNotFoundException e) {
    throw new JellyTagException(e);
  }
}
org.apache.commons.jelly.tags.coreUseBeanTagsetBeanProperties

Javadoc

Sets the properties on the bean. Derived tags could implement some custom type conversion etc.

This method ignores all property names in the Set returned by #getIgnorePropertySet().

Popular methods of UseBeanTag

  • processBean
    By default this will export the bean using the given variable if it is defined. This Strategy method
  • addIgnoreProperty
    Adds a name to the Set of property names that will be skipped when setting bean properties. In other
  • convertToClass
    Attempts to convert the given object to a Class instance. If the classObject is already a Class it w
  • findAncestorWithClass
  • getAttributeType
  • getAttributes
  • getDefaultClass
    Allows derived classes to provide a default bean implementation class
  • getIgnorePropertySet
  • invokeBody
  • isIgnoreUnknownProperties
  • loadClass
    Loads the given class using the default class loading mechanism which is to try use the current Thre
  • newInstance
    Creates a new instance of the given class, which by default will invoke the default constructor. Der
  • loadClass,
  • newInstance,
  • validateBeanProperties,
  • doTag

Popular in Java

  • Making http requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • runOnUiThread (Activity)
  • onCreateOptionsMenu (Activity)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • JLabel (javax.swing)
  • JList (javax.swing)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top 17 PhpStorm Plugins
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