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
-
Use_Ontology(SGML_Tag)
- Create a new use ontology statement from its SGML tag representation.
-
Use_Ontology(String, String, String, String)
- Create a new use ontology statment from an ontology id, version,
prefix, and a URL for locating it.
-
getId()
- Returns the Id of the used ontology.
-
getKey()
- Returns an identifier that distinguishes this Use_Ontology statement
from all others that appear in the current Ontology or Instance.
-
getOntLabel()
- Returns a label suitable for identifying the Use-Ontology to
a user.
-
getPrefix()
- Returns the prefix that is prepended to the names of elements
from the used ontology.
-
getUrl()
- Returns the recommended URL for locating the used ontology.
-
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.
-
getVersion()
- Returns the version number of the used ontology.
-
printSGML(PrintStream)
- Writes the objects and its components to the given print
stream in SGML format.
-
readSubTags(HTML_Tokenizer)
- Reads and processes the tokens from an HTML_Tokenizer until
the appropriate closing tag is encountered.
-
toString()
- Returns the string representation of the tag.
-
update(String, String, String, String)
- Change the fields of the use ontology statement.
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.
Use_Ontology
public Use_Ontology(SGML_Tag sgmltag)
- Create a new use ontology statement from its SGML tag representation.
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
getId
public String getId()
- Returns the Id of the used ontology.
getVersion
public String getVersion()
- Returns the version number of the used ontology.
getPrefix
public String getPrefix()
- Returns the prefix that is prepended to the names of elements
from the used ontology.
getUrl
public String getUrl()
- Returns the recommended URL for locating the used ontology.
getOntLabel
public String getOntLabel()
- Returns a label suitable for identifying the Use-Ontology to
a user.
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.
update
public void update(String id,
String version,
String prefix,
String url)
- Change the fields of the use ontology statement.
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
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
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