/** * * Copyright (c) 2003 University of Mancester. * @author Kevin Garwood (garwood@cs.man.ac.uk) * @version 1.0 * */ package pedro.ontology; import java.net.URL; /* Code RoadMap: Section Constants Section Properties Section Construction Section Accessors Section Mutators Section Validation Section Errors Section Interfaces Section Overload */ public class URLProvenanceTreeOntologySource implements TreeOntologySource, URLProvenance { // ========================================== // Section Constants // ========================================== // ========================================== // Section Properties // ========================================== private TreeOntologySource treeOntologySource; // ========================================== // Section Construction // ========================================== public URLProvenanceTreeOntologySource(TreeOntologySource treeOntologySource) { this.treeOntologySource = treeOntologySource; System.out.println("URLProvTreeOntology"); } // ========================================== // Section Accessors // ========================================== // ========================================== // Section Mutators // ========================================== // ========================================== // Section Validation // ========================================== // ========================================== // Section Errors // ========================================== // ========================================== // Section Interfaces // ========================================== // ========================================== // Section Overload // ========================================== // ========================================== // Section Mutators // ========================================== // ========================================== // Section Validation // ========================================== // ========================================== // Section Errors // ========================================== // ========================================== // Section Interfaces // ========================================== //TreeOntologySource public OntologyTermNode getTreeRoot() { return treeOntologySource.getTreeRoot(); } public String getDescription() { return treeOntologySource.getDescription(); } public String getName() { return treeOntologySource.getName(); } public OntologyTerm[] getTerms() { return treeOntologySource.getTerms(); } public OntologyTerm[] getRelatedTerms(OntologyTerm term) { return treeOntologySource.getRelatedTerms(term); } public boolean isWorking() { return treeOntologySource.isWorking(); } public boolean containsTerm(OntologyTerm term) { return treeOntologySource.containsTerm(term); } public String test() { return treeOntologySource.test(); } public void setFileNames(URL[] urls) { } public OntologySource getView(String parameters) { return this; } // ========================================== // Section Overload // ========================================== }