Package org.gradle.api.internal.artifacts.ivyservice

Examples of org.gradle.api.internal.artifacts.ivyservice.NamespaceId


        super();
    }

    public void add(String namespace, String name, String value) {
        if (XmlValidation.isValidXmlName(name)) {
            extraInfo.put(new NamespaceId(namespace, name), value);
        } else {
            throw new IllegalArgumentException(String.format("Invalid ivy extra info element name: '%s'", name));
        }
    }
View Full Code Here


            } else if (state == State.DESCRIPTION && "description".equals(qName)) {
                getMd().setDescription(buffer == null ? "" : buffer.toString().trim());
                buffer = null;
                state = State.INFO;
            } else if (state == State.EXTRA_INFO) {
                getMd().getExtraInfo().put(new NamespaceId(uri, localName), buffer == null ? "" : buffer.toString());
                buffer = null;
                state = State.INFO;
            } else if (state == State.DESCRIPTION) {
                if (buffer.toString().endsWith("<" + qName + ">")) {
                    buffer.deleteCharAt(buffer.length() - 1);
View Full Code Here

TOP

Related Classes of org.gradle.api.internal.artifacts.ivyservice.NamespaceId

Copyright © 2018 www.massapicom. 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.