All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class SHOE.Use_Ontology

java.lang.Object
   |
   +----SHOE.SHOE_Obj
           |
           +----SHOE.Use_Ontology

public class Use_Ontology
extends SHOE_Obj

Constructor Index

 o Use_Ontology(SGML_Tag)
Create a new use ontology statement from its SGML tag representation.
 o Use_Ontology(String, String, String, String)
Create a new use ontology statment from an ontology id, version, prefix, and a URL for locating it.

Method Index

 o getId()
Returns the Id of the used ontology.
 o getKey()
Returns an identifier that distinguishes this Use_Ontology statement from all others that appear in the current Ontology or Instance.
 o getOntLabel()
Returns a label suitable for identifying the Use-Ontology to a user.
 o getPrefix()
Returns the prefix that is prepended to the names of elements from the used ontology.
 o getUrl()
Returns the recommended URL for locating the used ontology.
 o getUseOntNode(OntManager)
Creates a tree node for the Use-Ontology in which the children of the node are nodes containing the Use-Ontologies which are used by its ontology.
 o getVersion()
Returns the version number of the used ontology.
 o printSGML(PrintStream)
Writes the objects and its components to the given print stream in SGML format.
 o readSubTags(HTML_Tokenizer)
Reads and processes the tokens from an HTML_Tokenizer until the appropriate closing tag is encountered.
 o toString()
Returns the string representation of the tag.
 o update(String, String, String, String)
Change the fields of the use ontology statement.

Constructors

 o Use_Ontology
 public Use_Ontology(String id,
                     String version,
                     String prefix,
                     String url)
Create a new use ontology statment from an ontology id, version, prefix, and a URL for locating it.

 o Use_Ontology
 public Use_Ontology(SGML_Tag sgmltag)
Create a new use ontology statement from its SGML tag representation.

Methods

 o getKey
 public String getKey()
Returns an identifier that distinguishes this Use_Ontology statement from all others that appear in the current Ontology or Instance.

Overrides:
getKey in class SHOE_Obj
 o getId
 public String getId()
Returns the Id of the used ontology.

 o getVersion
 public String getVersion()
Returns the version number of the used ontology.

 o getPrefix
 public String getPrefix()
Returns the prefix that is prepended to the names of elements from the used ontology.

 o getUrl
 public String getUrl()
Returns the recommended URL for locating the used ontology.

 o getOntLabel
 public String getOntLabel()
Returns a label suitable for identifying the Use-Ontology to a user.

 o getUseOntNode
 public LabeledTreeNode getUseOntNode(OntManager ontman)
Creates a tree node for the Use-Ontology in which the children of the node are nodes containing the Use-Ontologies which are used by its ontology. This method is to be use in creating tree lists from which a Use-Ontology can be selected.

 o update
 public void update(String id,
                    String version,
                    String prefix,
                    String url)
Change the fields of the use ontology statement.

 o readSubTags
 public Vector readSubTags(HTML_Tokenizer intokens)
Reads and processes the tokens from an HTML_Tokenizer until the appropriate closing tag is encountered.

Overrides:
readSubTags in class SHOE_Obj
 o printSGML
 public void printSGML(PrintStream out)
Writes the objects and its components to the given print stream in SGML format.

Overrides:
printSGML in class SHOE_Obj
 o toString
 public String toString()
Returns the string representation of the tag. Any contents or end tags are not included.

Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index