Examples of XBELNamespaceGroup


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

            }
            dest.setDefinitions(l2);
        }

        if (source.isSetNamespaceGroup()) {
            XBELNamespaceGroup namespaceGroup = source.getNamespaceGroup();
            NamespaceGroupConverter ngConverter = new NamespaceGroupConverter();
            // Defer to DocumentHeaderConverter
            dest.setNamespaceGroup(ngConverter.convert(namespaceGroup));
        }
View Full Code Here

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

    public XBELNamespaceGroup convert(NamespaceGroup source) {
        if (source == null) return null;

        String drl = source.getDefaultResourceLocation();

        XBELNamespaceGroup xnsg = new XBELNamespaceGroup();

        xnsg.setDefaultResourceLocation(drl);

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

        final List<Namespace> nss = source.getNamespaces();
        if (hasItems(nss)) {
            for (final Namespace ns : nss) {
                XBELNamespace xns = new XBELNamespace();
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.