Examples of addAttribute()


Examples of com.asakusafw.compiler.operator.OperatorMethodDescriptor.Builder.addAttribute()

        if (a.hasError()) {
            return null;
        }

        Builder builder = new Builder(getTargetAnnotationType(), context);
        builder.addAttribute(a.getObservationCount());
        builder.setDocumentation(a.getExecutableDocument());
        builder.addInput(
                a.getParameterDocument(0),
                a.getParameterName(0),
                a.getParameterType(0).getType(),

Examples of com.bea.xml.stream.events.StartElementEvent.addAttribute()

                                         Iterator attributes,
                                         Iterator namespaces){
    StartElementEvent e= 
      new StartElementEvent(name);
    while(attributes != null && attributes.hasNext())
      e.addAttribute((Attribute) attributes.next());
    while(namespaces != null && namespaces.hasNext())
      e.addNamespace((Namespace) namespaces.next());
    return e;

  }

Examples of com.cardence.lawshelf.model.Code.addAttribute()

        model.setCode(code);
      }

      if (type.equals("AUTHORITIES-PUBLICATION-NAME")) {
        code.addAlias(value);
        code.addAttribute(type, value);
      } else if (type.equals("AUTHORITIES-PUBLICATION-ID")) {
        code.addAlias(value);
        code.addAttribute(type, value);
      } else if (type.equals("AUTHORITIES-PUBLICATION-YEAR")) {
        if (!isUscPrelim) {

Examples of com.cardence.lawshelf.model.Section.addAttribute()

        this.endMetaNode(value);

      } else if (type.equals("expcite")) {
        this.updateMetaNodeSectionTitle(value);
        if (section != null) {
          section.addAttribute(type, value);
        }

      } else if (type.equals("itempath")) {
        this.updateMetaNodeSectionTitle(value);
        if (section != null) {

Examples of com.cardence.lawshelf.model.UscSection.addAttribute()

    for (String str : tokenString) {
      String[] documentElements = StringUtils.split(str, ":");
      if (documentElements == null) {
        log.debug("documentElements does not contain a ':' for string: " + str);
      } else {
        newSection.addAttribute(documentElements[0], documentElements[1]);
      }
    }

    // Is the previous element my parent???

Examples of com.caucho.bytecode.JavaClass.addAttribute()

      SourceDebugExtensionAttribute attr;

      attr = new SourceDebugExtensionAttribute(smap.toString());

      javaClass.addAttribute(attr);

      WriteStream os = classPath.openWrite();
      try {
        javaClass.write(os);
      } finally {

Examples of com.caucho.bytecode.JavaMethod.addAttribute()

          JavaMethod baseMethod;
          baseMethod = findMethod(baseClass, name, method.getDescriptor());

          if (baseMethod != null)
            baseMethod.addAttribute(ann);
        }
      }
    }
  }

Examples of com.caucho.jsp.cfg.TldTag.addAttribute()

    TldTag tag = new TldTag();
   
    for (int i = 0; i < _attributes.size(); i++) {
      TldAttribute attr = _attributes.get(i);

      tag.addAttribute(attr);
    }
   
    for (int i = 0; i < _variables.size(); i++) {
      TldVariable var = _variables.get(i);

Examples of com.caucho.xsl.java.XslTemplate.addAttribute()

   
      XslNode literal = createChild(top);

      XslTemplate template = new XslTemplate();
      template.setGenerator((JavaGenerator) this);
      template.addAttribute(new QName("match"), "/");
      template.addChild(literal);

      template.generateDeclaration(getOut());
   
      template.generate(getOut());

Examples of com.dotcms.repackage.org.dom4j.Element.addAttribute()

    public void testFinished ( Description description ) throws Exception {

        long time = System.currentTimeMillis() - t1;

        Element currentTestcase = root.addElement( "testcase" );
        currentTestcase.addAttribute( "time", formatTime( time ) );
        currentTestcase.addAttribute( "classname", description.getClassName() );
        currentTestcase.addAttribute( "name", description.getMethodName() );
        if ( currentFailureNode != null ) {
            currentTestcase.add( currentFailureNode );
            currentFailureNode = null;
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.