Examples of XBELNamespace


Examples of org.openbel.bel.xbel.model.XBELNamespace

        if (source == null) return null;

        String prefix = source.getPrefix();
        String resourceLocation = source.getResourceLocation();

        XBELNamespace xn = new XBELNamespace();
        xn.setPrefix(prefix);
        xn.setResourceLocation(resourceLocation);

        return xn;
    }
View Full Code Here

Examples of org.openbel.bel.xbel.model.XBELNamespace

        List<XBELNamespace> xnss = xnsg.getNamespace();

        final List<Namespace> nss = source.getNamespaces();
        if (hasItems(nss)) {
            for (final Namespace ns : nss) {
                XBELNamespace xns = new XBELNamespace();
                xns.setPrefix(ns.getPrefix());
                xns.setResourceLocation(ns.getResourceLocation());
                xnss.add(xns);
            }
        }

        return xnsg;
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.