Examples of addAttribute()


Examples of org.jboss.forge.furnace.proxy.javassist.bytecode.ClassFile.addAttribute()

    }

    public void setGenericSignature(String sig) {
        ClassFile cf = getClassFile();
        SignatureAttribute sa = new SignatureAttribute(cf.getConstPool(), sig);
        cf.addAttribute(sa);
    }

    public void replaceClassName(ClassMap classnames)
        throws RuntimeException
    {

Examples of org.jboss.identity.idm.impl.model.hibernate.HibernateIdentityObject.addAttribute()

               }
               hibernateAttribute = new HibernateIdentityObjectBinaryAttribute(hibernateObject, name, values);
            }


            hibernateObject.addAttribute(hibernateAttribute);

         }
      }
   }

Examples of org.jboss.system.metadata.ServiceMetaData.addAttribute()

            serviceAttributeMetaData.setName("PolicyConfigurationFacadeMBean");
            ServiceDependencyValueMetaData dependencyValue = new ServiceDependencyValueMetaData();
            dependencyValue.setDependency(subjaccPolicy.getObjectName().toString());
            dependencyValue.setProxyType("attribute");
            serviceAttributeMetaData.setValue(dependencyValue);
            parentServiceMetaData.addAttribute(serviceAttributeMetaData);
         }
      }
     
      /** Register XACML/ACL policies if present in the deployment */
      if(this.policyRegistration != null)

Examples of org.jboss.test.xml.multispaced.XMBeanMetaData.addAttribute()

      attribute.setGetMethod("getInterval");
      attribute.setSetMethod("setInterval");
      attribute.setDescription("The interval in milliseconds between checks of VM memory and threads");
      attribute.setName("Interval");
      attribute.setType("int");
      xmbean.addAttribute(attribute);

      XMBeanOperationMetaData operation = new XMBeanOperationMetaData();
      operation.setDescription("Access the last HistoryLength monitor reports");
      operation.setName("history");
      operation.setReturnType("java.lang.String");

Examples of org.jboss.xb.binding.AbstractMarshaller.addAttribute()

      // declare default namespace
      marshaller.declareNamespace(null, "http://example.org/ns/books/");

      // add schema location by declaring xsi namespace and adding xsi:schemaReader attribute
      marshaller.declareNamespace("xsi", "http://www.w3.org/2001/XMLSchema-instance");
      marshaller.addAttribute("xsi",
         "schemaReader",
         "string",
         "http://example.org/ns/books/ resources/book/books.xsd"
      );

Examples of org.jboss.xb.binding.XercesXsMarshaller.addAttribute()

      // declare default namespace
      marshaller.declareNamespace("wpc", PRODUCER_NAMESPACE);

      // add schema location by declaring xsi namespace and adding xsi:schemaLocation attribute
      marshaller.declareNamespace("xsi", "http://www.w3.org/2001/XMLSchema-instance");
      marshaller.addAttribute("xsi", "schemaLocation", "string",
         PRODUCER_NAMESPACE + " http://www.jboss.org/portal/xsd/" + PRODUCER_XSD);

      // create an instance of Object Model Provider
      ObjectModelProvider provider = new ProducerConfigurationProvider();

Examples of org.jdom.Element.addAttribute()

    /*
     * this method prints the XML step attribute.
     */
    private Element printXMLstep() {
        Element stepElem = new Element( "step" );
        stepElem.addAttribute( "executeIn", getThreadName() );
        stepElem.addContent( printXMLrequest() );
        stepElem.addContent( printXMLresponse() );
        return stepElem;
    }
    /*
 

Examples of org.jfree.layouting.input.swing.ConverterAttributeSet.addAttribute()

        {
          height = twipToInt(floatValue);
        }
      }

      attr.addAttribute(PAGE_RULE_TYPE, PageStyleKeys.SIZE.getName(), new PageSize(width, height));
    }
    else if(styleKey.equals(RTF_MARGINLEFT))
    {
      final float floatValue = ((Float) value).floatValue();
      attr.addAttribute(PAGE_RULE_TYPE, BoxStyleKeys.MARGIN_LEFT.getName(), CSSNumericValue.createValue(CSSNumericType.PT, floatValue));

Examples of org.jibx.runtime.IXMLWriter.addAttribute()

            writer.openNamespaces(indexes, prefs);
            for (int i = 0; i < uris.length; i++) {
                String prefix = prefs[i];
                String name = prefix.length() == 0 ?
                    "xmlns" : "xmlns:" + prefix;
                writer.addAttribute(0, name, uris[i]);
            }
           
        }
    }
   

Examples of org.jitterbit.xml.XmlStringBuilder.addAttribute()

    builder.addElement(PROPERTIES);
    Set<String> properties = jmsProperties.getPropertyNames();
    for (String name : properties) {
      DataElement de = jmsProperties.getProperty(name);
      builder.addElement(PROPERTY);
      builder.addAttribute(TYPE, de.getType().toString());
      builder.addAttribute(NAME, name);
      builder.setElementValue(de.toString());
      builder.closeElement();
    }
    builder.closeAllElements();
TOP
Copyright © 2015 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.