All Packages Class Hierarchy This Package Previous Next Index
Class SHOE.Def_Type
java.lang.Object
|
+----SHOE.SHOE_Obj
|
+----SHOE.Def_Type
- public class Def_Type
- extends SHOE_Obj
A class for representing a SHOE type definition. Note that SHOE
does not provide the expressivity to define complex types, the
type mechanism is merely a place holder so that the custom applications
can know when special typing mechanisms might apply.
-
Def_Type(SGML_Tag)
- Create a new type given its SGML tag representation.
-
Def_Type(String, String, String)
- Create a new type given its name, description, and a short phrase.
-
getDescription()
- Return a description of the type.
-
getKey()
- Return a string that identifies the type within the context
of the ontology.
-
getName()
- Return the name of the type.
-
getPhrase()
- Returns a short phrase that describes the type.
-
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.
Def_Type
public Def_Type(String name,
String description,
String short_para)
- Create a new type given its name, description, and a short phrase.
Def_Type
public Def_Type(SGML_Tag sgmltag)
- Create a new type given its SGML tag representation.
getDescription
public String getDescription()
- Return a description of the type.
getKey
public String getKey()
- Return a string that identifies the type within the context
of the ontology.
- Overrides:
- getKey in class SHOE_Obj
getName
public String getName()
- Return the name of the type.
getPhrase
public String getPhrase()
- Returns a short phrase that describes the type. This is
the SHORT field in the DEF-TYPE tag.
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