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
-
Def_Rename(SGML_Tag)
- Create a new rename object given its SGML tag representation.
-
Def_Rename(String, String)
- Create a new rename object given the prefixed name of the object
to be renamed and the new local name.
-
getFrom()
- Returns the prefixed name of the source object (the object that is
renamed.
-
getFromId()
- Returns an ontology independent unique identifier for the
source object.
-
getKey()
- Returns a unique identifier for the rename.
-
getTo()
- Returns the new local alias of the renamed object.
-
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.
-
validate(SHOE_Obj, OntManager)
- Check the Def_Rename for errors and update internal structures.
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.
Def_Rename
public Def_Rename(SGML_Tag sgmltag)
- Create a new rename object given its SGML tag representation.
getFrom
public String getFrom()
- Returns the prefixed name of the source object (the object that is
renamed.
getTo
public String getTo()
- Returns the new local alias of the renamed object.
getKey
public String getKey()
- Returns a unique identifier for the rename.
- Overrides:
- getKey in class SHOE_Obj
getFromId
public Unique_Elt getFromId()
- Returns an ontology independent unique identifier for the
source object.
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
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.
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