Examples of VOElement


Examples of uk.ac.starlink.votable.VOElement

        if (_fieldDesc == null) {
            // read the URL to get the query arguments
            try {
                URL url =_makeURL(_url, "FORMAT=METADATA");
                LOG.info("Reading SLAP server configuration from " + _url);
                VOElement topEl = new VOElementFactory(StoragePolicy.getDefaultPolicy())
                        .makeVOElement(new URLDataSource(url));
                _checkStatus(topEl);

                NodeList params = topEl.getElementsByTagName("PARAM");
                _fieldDesc = new FieldDescAdapter[params.getLength()];
                for (int i = 0; i < _fieldDesc.length; i++) {
                    Element param = (Element) params.item(i);
                    _fieldDesc[i] = new FieldDescAdapter(_getName(param));
                    _fieldDesc[i].setDisplayName(_getDisplayName(param));
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.