public static void appendCatalogNode(MutableTreeNode parentNode, DefaultTreeModel treeModel, InvCatalogRef catalogRef) { final DefaultMutableTreeNode catalogNode = new DefaultMutableTreeNode(catalogRef.getName()); final String catalogPath = catalogRef.getURI().toASCIIString(); final CatalogNode opendapNode = new CatalogNode(catalogPath, catalogRef); opendapNode.setCatalogUri(catalogPath); catalogNode.add(new DefaultMutableTreeNode(opendapNode)); treeModel.insertNodeInto(catalogNode, parentNode, parentNode.getChildCount()); }
String name = catRef.getName(); String href = catRef.getXlinkHref(); URI uri;
String name = catRef.getName(); String href = catRef.getXlinkHref(); URI uri;
String name = catRef.getName(); String href = catRef.getXlinkHref(); URI uri;
private Element writeCatalogRef(InvCatalogRef catRef) { Element catrefElem = new Element("catalogRef", defNS); catrefElem.setAttribute("href", catRef.getXlinkHref(), xlinkNS); String name = catRef.getName() == null ? "" : catRef.getName(); catrefElem.setAttribute("title", name, xlinkNS); if (catRef.getID() != null) catrefElem.setAttribute("ID", catRef.getID()); if (catRef.getRestrictAccess() != null) catrefElem.setAttribute("restrictAccess", catRef.getRestrictAccess()); catrefElem.setAttribute("name", ""); /* List list = catRef.getDocumentation(); for (int j=0; j< list.size(); j++) { InvDocumentation doc = (InvDocumentation) list.get(j); catrefElem.addContent( writeDocumentation(doc, "documentation")); } */ return catrefElem; }
private Element writeCatalogRef( InvCatalogRef catRef) { Element catrefElem = new Element("catalogRef", defNS); catrefElem.setAttribute("href", catRef.getXlinkHref(), xlinkNS); String name = catRef.getName() == null ? "" : catRef.getName(); catrefElem.setAttribute("title", name, xlinkNS); if ( catRef.getID() != null ) catrefElem.setAttribute("ID", catRef.getID() ); if (catRef.getRestrictAccess() != null) catrefElem.setAttribute("restrictAccess", catRef.getRestrictAccess()); catrefElem.setAttribute("name", ""); /* List list = catRef.getDocumentation(); for (int j=0; j< list.size(); j++) { InvDocumentation doc = (InvDocumentation) list.get(j); catrefElem.addContent( writeDocumentation(doc, "documentation")); } */ return catrefElem; }
private Element writeCatalogRef(InvCatalogRef catRef) { Element catrefElem = new Element("catalogRef", defNS); catrefElem.setAttribute("href", catRef.getXlinkHref(), xlinkNS); String name = catRef.getName() == null ? "" : catRef.getName(); catrefElem.setAttribute("title", name, xlinkNS); if (catRef.getID() != null) catrefElem.setAttribute("ID", catRef.getID()); if (catRef.getRestrictAccess() != null) catrefElem.setAttribute("restrictAccess", catRef.getRestrictAccess()); catrefElem.setAttribute("name", ""); /* List list = catRef.getDocumentation(); for (int j=0; j< list.size(); j++) { InvDocumentation doc = (InvDocumentation) list.get(j); catrefElem.addContent( writeDocumentation(doc, "documentation")); } */ return catrefElem; }
String name = getName().trim(); String proxyName = proxy.getName().trim();
String name = getName().trim(); String proxyName = proxy.getName().trim();
String name = getName().trim(); String proxyName = proxy.getName().trim();
resultDs = new InvCatalogRef( null, catRef.getName(), catRef.getXlinkHref()); } else { resultDs = new InvDatasetImpl( null, dataset.getName() );
resultDs = new InvCatalogRef( null, catRef.getName(), catRef.getXlinkHref()); } else { resultDs = new InvDatasetImpl( null, dataset.getName() );
resultDs = new InvCatalogRef( null, catRef.getName(), catRef.getXlinkHref()); } else { resultDs = new InvDatasetImpl( null, dataset.getName() );