All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class SHOE.Def_Rename

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

public class Def_Rename
extends SHOE_Obj

Constructor Index

 o Def_Rename(SGML_Tag)
Create a new rename object given its SGML tag representation.
 o Def_Rename(String, String)
Create a new rename object given the prefixed name of the object to be renamed and the new local name.

Method Index

 o getFrom()
Returns the prefixed name of the source object (the object that is renamed.
 o getFromId()
Returns an ontology independent unique identifier for the source object.
 o getKey()
Returns a unique identifier for the rename.
 o getTo()
Returns the new local alias of the renamed object.
 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 validate(SHOE_Obj, OntManager)
Check the Def_Rename for errors and update internal structures.

Constructors

 o Def_Rename
 public Def_Rename(String from,
                   String to)
Create a new rename object given the prefixed name of the object to be renamed and the new local name.

 o Def_Rename
 public Def_Rename(SGML_Tag sgmltag)
Create a new rename object given its SGML tag representation.

Methods

 o getFrom
 public String getFrom()
Returns the prefixed name of the source object (the object that is renamed.

 o getTo
 public String getTo()
Returns the new local alias of the renamed object.

 o getKey
 public String getKey()
Returns a unique identifier for the rename.

Overrides:
getKey in class SHOE_Obj
 o getFromId
 public Unique_Elt getFromId()
Returns an ontology independent unique identifier for the source object.

 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 validate
 public Vector validate(SHOE_Obj parent,
                        OntManager ontman)
Check the Def_Rename for errors and update internal structures. Stores a pointer to the objects referenced by the source name.

 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