Examples of addAttribute()


Examples of net.sf.graphiti.model.ObjectType.addAttribute()

      ObjectType type = new ObjectType(typeName);

      String isDirected = element.getAttribute("directed");
      if (isDirected != null) {
        boolean value = Boolean.parseBoolean(isDirected);
        type.addAttribute(ObjectType.ATTRIBUTE_DIRECTED, value);
      }
      types.put(typeName, type);
      parseType(type, element.getChildren());
    }

Examples of net.sf.jasperreports.engine.util.JRXmlWriteHelper.addAttribute()

        ComponentsExtensionsRegistryFactory.NAMESPACE,
        componentKey.getNamespacePrefix(),
        ComponentsExtensionsRegistryFactory.XSD_LOCATION);
   
    writer.startElement("list", namespace);
    writer.addAttribute("printOrder", list.getPrintOrderValue());
    writer.addAttribute("ignoreWidth", list.getIgnoreWidth());
    reportWriter.writeDatasetRun(list.getDatasetRun());
   
    ListContents contents = list.getContents();
    writer.startElement("listContents");

Examples of net.sf.l2j.gameserver.gameserverpackets.ServerStatus.addAttribute()

            {
              st.addAttribute(ServerStatus.SERVER_LIST_CLOCK,ServerStatus.OFF);
            }
            if(Config.SERVER_LIST_TESTSERVER)
            {
              st.addAttribute(ServerStatus.TEST_SERVER,ServerStatus.ON);
            }
            else
            {
              st.addAttribute(ServerStatus.TEST_SERVER,ServerStatus.OFF);
            }

Examples of net.sf.l2j.gameserver.serverpackets.StatusUpdate.addAttribute()

      reciever.sendPacket(update);
    }

    // weight status update both player and reciever
    StatusUpdate su = new StatusUpdate(player.getObjectId());
    su.addAttribute(StatusUpdate.CUR_LOAD, player.getCurrentLoad());
    player.sendPacket(su);

    su = new StatusUpdate(reciever.getObjectId());
    su.addAttribute(StatusUpdate.CUR_LOAD, reciever.getCurrentLoad());
    reciever.sendPacket(su);

Examples of net.sf.rej.java.attribute.Attributes.addAttribute()

        Attributes attrs = method.getAttributes();
        ExceptionsAttribute ea = new ExceptionsAttribute(exAttrNameIndex, this.cp, exceptionList);
        if (this.oldExAttr != null) {
          attrs.removeAttribute(this.oldExAttr);
        }
        attrs.addAttribute(ea);
    }

    public void undo() {
        this.method.setNameIndex(this.oldNameIndex);
        this.method.setDescriptorIndex(this.oldDescIndex);

Examples of nexj.core.meta.Metaclass.addAttribute()

      staticEv.addArgument(anytyped);
      staticEv.addArgument(inttyped);
      staticEv.addArgument(listtyped);
      staticEv.setStatic(true);
      staticEv.setVarArg(true);
      metaclass.addAttribute(attr);
      metaclass.addEvent(protectedEv);
      metaclass.addEvent(publicEv);
      metaclass.addEvent(staticEv);
      metadata.addMetaclass(metaclass);

Examples of nexj.core.persistence.Query.addAttribute()

               Attribute attribute = m_metaclass.getInstanceAttribute(i);

               if ((isLazy() || getValueDirect(attribute.getOrdinal()) == Undefined.VALUE) &&
                  !attribute.isLazy())
               {
                  query.addAttribute(Query.ASSOC_QUERY, attribute, null, false, Query.OUTPUT_EAGER);
               }
            }

            if (query.getFirstOutputField() != null &&
               (query.getFirstOutputField().getNext() != null ||

Examples of no.ugland.utransprod.model.ConstructionTypeArticle.addAttribute()

        articleAttributes = article.getAttributes();
        orgArticleAttributes = orgArticle.getAttributes();
        for (ConstructionTypeArticleAttribute attribute : articleAttributes) {
          if (!orgArticleAttributes.contains(attribute)) {
            attribute.setConstructionTypeArticleAttributeId(null);
            orgArticle.addAttribute(attribute);
          }
        }
      }
    }
  }

Examples of no.ugland.utransprod.model.OrderLine.addAttribute()

   
    constructionTypeArticleAttribute.setArticleTypeAttribute(articleTypeAttribute);
   
    OrderLineAttribute orderLineAttribute = new OrderLineAttribute();
    orderLineAttribute.setConstructionTypeArticleAttribute(constructionTypeArticleAttribute);
    orderLine.addAttribute(orderLineAttribute);
   
    constructionTypeArticleAttribute=new ConstructionTypeArticleAttribute();
    articleTypeAttribute=new ArticleTypeAttribute();
    attribute=new Attribute();
    attribute.setName("Murh�yde");

Examples of nu.validator.htmlparser.impl.HtmlAttributes.addAttribute()

            Nodes.setFilePositionForValue(attrNode, as.valueTok.pos);
            Nodes.setRawValue(attrNode, as.valueTok.text);
          }
          attrs.add(attrNode);
          try {
            htmlAttrs.addAttribute(
                AttributeName.nameByString(name),
                as.value, XmlViolationPolicy.ALLOW);
          } catch (SAXException ex) {
            if (CajaTreeBuilder.DEBUG) { ex.printStackTrace(); }
          }
TOP
Copyright © 2018 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.