Examples of attribute()


Examples of client.net.sf.saxon.ce.event.SequenceReceiver.attribute()

        if ((nameCode & NamePool.FP_MASK) == StandardNames.XML_ID) {
            value = Whitespace.collapseWhitespace(value);
        }
        try {
            out.attribute(nameCode, value);
        } catch (XPathException err) {
            throw dynamicError(getSourceLocator(), err, context);
        }

        //return null;
View Full Code Here

Examples of client.net.sf.saxon.ce.tree.linked.LinkedTreeBuilder.attribute()

            builder.startDocument();

            int st = StandardNames.XSL_STYLESHEET;
            builder.startElement(st, 0);
            builder.namespace(new NamespaceBinding("xsl", NamespaceConstant.XSLT), 0);
            builder.attribute(pool.allocate("", "", "version"), version);
            builder.startContent();

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

Examples of com.alibaba.dubbo.config.support.Parameter.attribute()

                        && ! "getClass".equals(name)
                        && Modifier.isPublic(method.getModifiers())
                        && method.getParameterTypes().length == 0
                        && isPrimitive(method.getReturnType())) {
                    Parameter parameter = method.getAnnotation(Parameter.class);
                    if (parameter == null || !parameter.attribute())
                        continue;
                    String key;
                    if (parameter != null && parameter.key() != null && parameter.key().length() > 0) {
                        key = parameter.key();
                    } else {
View Full Code Here

Examples of com.aphyr.riemann.client.EventDSL.attribute()

                    sb.append(part);
                }

                event.service(sb.toString());
                event.time(timestamp);
                event.attribute("metric-type", metricType);
                return event;
            }
        };
    }
View Full Code Here

Examples of com.caucho.env.repository.CommitBuilder.attribute()

    if (message == null)
      message = L.l("copy '{0}' to '{1}'", source.getTagKey(), target.getTagKey());

    target.message(message);

    target.attribute("user", System.getProperty("user.name"));

    String targetVersion = args.getArg("-target-version");
    if (targetVersion != null)
      fillInVersion(target, targetVersion);
View Full Code Here

Examples of com.foundationdb.server.types.TInstance.attribute()

        {
            @Override
            public TInstance resultInstance(List<TPreptimeValue> inputs, TPreptimeContext context)
            {
                TInstance source = inputs.get(0).type();
                return inputTypeString.instance(source.attribute(StringAttribute.MAX_LENGTH) + 2,
                        source.attribute(StringAttribute.CHARSET),
                        source.attribute(StringAttribute.COLLATION),
                        anyContaminatingNulls(inputs));
            }
        });
View Full Code Here

Examples of com.liferay.portal.kernel.xml.Element.attribute()

        Element orderElement = entityElement.element("order");

        if (orderElement != null) {
            boolean asc = true;

            if ((orderElement.attribute("by") != null) &&
                    orderElement.attributeValue("by").equals("desc")) {

                asc = false;
            }
View Full Code Here

Examples of com.sun.tools.internal.xjc.reader.dtd.bindinfo.BIElement.attribute()

        boolean required = attributeUse==USE_REQUIRED;

        // get the attribute-property declaration
        BIElement edecl = bindInfo.element(elementName);
        BIAttribute decl=null;
        if(edecl!=null)     decl=edecl.attribute(attributeName);

        String propName;
        if(decl==nullpropName = model.getNameConverter().toPropertyName(attributeName);
        else            propName = decl.getPropertyName();
View Full Code Here

Examples of com.sun.tools.javac.code.Symbol.attribute()

    if ((symbol.flags() & DEPRECATED) == 0) {
      return Description.NO_MATCH;
    }

    // (2)
    if (symbol.attribute(state.getSymtab().deprecatedType.tsym) != null) {
      return Description.NO_MATCH;
    }

    return describeMatch(tree, SuggestedFix.prefixWith(tree, "@Deprecated\n"));
  }
View Full Code Here

Examples of com.sun.tools.xjc.reader.dtd.bindinfo.BIElement.attribute()

        boolean required = attributeUse==USE_REQUIRED;

        // get the attribute-property declaration
        BIElement edecl = bindInfo.element(elementName);
        BIAttribute decl=null;
        if(edecl!=null)     decl=edecl.attribute(attributeName);

        String propName;
        if(decl==nullpropName = model.getNameConverter().toPropertyName(attributeName);
        else            propName = decl.getPropertyName();
View Full Code Here
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.