Examples of attribute()


Examples of org.pdf4j.saxon.event.SequenceReceiver.attribute()

                err.setIsTypeError(true);
                throw err;
            }
        }
        try {
            out.attribute(nameCode, ann, value, locationId, opt);
        } catch (XPathException err) {
            throw dynamicError(this, err, context);
        }

        return null;
View Full Code Here

Examples of org.pdf4j.saxon.tinytree.TinyBuilder.attribute()

            builder.startElement(elementNameCode, StandardNames.XS_UNTYPED_ATOMIC, 0, 0);
            for (int i=0; i<namespacesSize; i++) {
                builder.namespace(namespaces[i], 0);
            }
            for (int i=0; i<len; i++) {
                builder.attribute(bufferedAttributes.getNameCode(i), StandardNames.XS_UNTYPED_ATOMIC,
                        bufferedAttributes.getValue(i), 0, 0);
            }
            builder.startContent();
            builder.endElement();
            elementNode = builder.getCurrentRoot();
View Full Code Here

Examples of org.pdf4j.saxon.tree.TreeBuilder.attribute()

            builder.startDocument(0);

            int st = StandardNames.XSL_STYLESHEET;
            builder.startElement(st, StandardNames.XS_UNTYPED, 0, 0);
            builder.namespace(NamespaceConstant.XSLT_CODE, 0);
            builder.attribute(pool.allocate("", "", "version"), StandardNames.XS_UNTYPED_ATOMIC, version, 0, 0);
            builder.startContent();

            int te = StandardNames.XSL_TEMPLATE;
            builder.startElement(te, StandardNames.XS_UNTYPED, 0, 0);
            builder.attribute(pool.allocate("", "", "match"), StandardNames.XS_UNTYPED_ATOMIC, "/", 0, 0);
View Full Code Here

Examples of org.picketlink.idm.config.LDAPMappingConfigurationBuilder.attribute()

                        if (readOnly) {
                            storeMapping.readOnlyAttribute(name, ldapName);
                        } else {
                            boolean isIdentifier = LDAPStoreAttributeResourceDefinition.IS_IDENTIFIER
                                .resolveModelAttribute(context, attribute).asBoolean();
                            storeMapping.attribute(name, ldapName, isIdentifier);
                        }
                    }
                }
            }
        } else {
View Full Code Here

Examples of org.projectforge.web.HtmlHelper.attribute()

        if (first == false) {
          buf.append(", ");
        }
        if (art.isProjektStandard() == true) {
          buf.append("<span");
          html.attribute(buf, "style", "color: green;");
          buf.append(">").append(art.getFormattedId()).append("</span>");
        } else {
          buf.append(art.getFormattedId());
        }
        suppress = false;
View Full Code Here

Examples of org.sonar.api.issue.Issue.attribute()

    assertThat(issueDoc.key()).isEqualTo(issue.getKey());
    assertThat(issueDoc.updateDate()).isEqualTo(issue.getIssueUpdateDate());
    assertThat(issueDoc.status()).isEqualTo(issue.getStatus());
    assertThat(issueDoc.severity()).isEqualTo(issue.getSeverity());
    assertThat(issueDoc.attributes()).isEqualTo(KeyValueFormat.parse(issue.getIssueAttributes()));
    assertThat(issueDoc.attribute("key")).isEqualTo("value");
  }

  @Test
  public void insert_and_find_after_date() throws Exception {
    RuleDto rule = RuleTesting.newXooX1();
View Full Code Here

Examples of org.sonar.api.issue.internal.DefaultIssue.attribute()

    assertThat(issue.severity()).isEqualTo("BLOCKER");
    assertThat(issue.message()).isEqualTo("message");
    assertThat(issue.manualSeverity()).isTrue();
    assertThat(issue.reporter()).isEqualTo("arthur");
    assertThat(issue.assignee()).isEqualTo("perceval");
    assertThat(issue.attribute("key")).isEqualTo("value");
    assertThat(issue.authorLogin()).isEqualTo("pierre");
    assertThat(issue.creationDate()).isEqualTo(DateUtils.truncate(createdAt, Calendar.SECOND));
    assertThat(issue.updateDate()).isEqualTo(DateUtils.truncate(updatedAt, Calendar.SECOND));
    assertThat(issue.closeDate()).isEqualTo(DateUtils.truncate(closedAt, Calendar.SECOND));
    assertThat(issue.isNew()).isFalse();
View Full Code Here

Examples of org.xmlpull.infoset.XmlElement.attribute()

          GpelAssignCopy copy = itr.next();
          String query = copy.getFrom().xml().attributeValue(QUERY_STR);
          XmlElement copyElmt = copy.getFrom().xml();
          //remove if attribute is found earlier
          if( null != query){
            copyElmt.removeAttribute(copyElmt.attribute(QUERY_STR));
            copyElmt.setAttributeValue(QUERY_STR, "/"+extractDataType(query));
          }
         
         
          query = copy.getTo().xml().attributeValue(QUERY_STR);
View Full Code Here

Examples of org.xmlpull.v1.XmlSerializer.attribute()

        XmlSerializer xml = XMLUtils.getXmlSerializer(true);
        xml.setOutput(out, "UTF-8");
        xml.startDocument("UTF-8", null);

        xml.startTag(null, "pdashReportArchive");
        xml.attribute(null, "version", "1.0");

        for (Map.Entry<String, String> e : contentTypeMap.entrySet()) {
            xml.startTag(null, "file");
            xml.attribute(null, "name", e.getKey());
            xml.attribute(null, "contentType", e.getValue());
View Full Code Here

Examples of org.xmlpull.v1.builder.XmlElement.attribute()

          XmlElement propertyElement2 = (XmlElement)propertyNLIterator.next();
         
          String id       = propertyElement2.getAttributeValue(infosetItem.getNamespaceName(), "type");
          String path     = propertyElement2.getAttributeValue(infosetItem.getNamespaceName(), "path");
         
          if(propertyElement2.attribute("path_" + locale.getLanguage()) != null)
            path = propertyElement2.getAttributeValue(infosetItem.getNamespaceName(), "path_" + locale.getLanguage());
         
          value = path;
         
          if(value != null)
View Full Code Here
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.