|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--agentland.help.helpfile.HelpFile
HelpFile
is a Java object that represents a help file.
This object is passed between agents in the Help System.
Comparable
,
Serializable
,
Help
, Serialized FormConstructor Summary | |
HelpFile(String sXMLFile)
Creates a new HelpFile instance. |
|
HelpFile(String sXMLFile,
String sBasePath)
Creates a new HelpFile instance. |
Method Summary | |
int |
compareTo(Object o)
Compares this HelpFile with another Object. |
boolean |
equals(Object oObj)
Returns whether this HelpFile is equal to another HelpFile. |
String |
get()
Returns the textual information associated with the current subtopic of the help file. |
String |
get(String sSubtopicName)
Gets the text of the given subtopic. |
String |
getID()
Returns a String ID for this HelpFile (and the current subtopic). |
ArrayList |
getKeywords()
Gets the keywords associated with this topic. |
String |
getName()
Gets the name of this. |
String |
getNext()
Gets the text of the next subtopic (the one following the current subtopic). |
String |
getRelativeHTMLFileName()
Gets the filename of the relative HTML file. |
ArrayList |
getSubtopicNames()
Gets the names of the subtopics of this topic. |
URL |
getTopURL()
Gets the main URL of the HTML equivalent of this help file. |
URL |
getURL()
Gets the URL of the current subtopic. |
String |
getXMLSourceFullFileName()
Gets the file name of the source XML help file. |
boolean |
isHTMLCurrent()
|
void |
toHTML(org.jdom.Document dXSL)
Translates the XML help file to HTML using the specified XSL style sheet. |
String |
toSpeech()
Returns a String describing this object. |
String |
toString()
Returns a String representation of this. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public HelpFile(String sXMLFile, String sBasePath) throws HelpFileException
HelpFile
instance.sXMLFile
- a String
valuesBasePath
- a String
valueHelpFileException
- if an error occurspublic HelpFile(String sXMLFile) throws HelpFileException
HelpFile
instance.sXMLFile
- a String
valueHelpFileException
- if an error occursMethod Detail |
public String toSpeech()
Speakable
toSpeech
in interface Speakable
speech.Speakable
String
valueRemoteException
- if an error occurspublic boolean isHTMLCurrent()
public void toHTML(org.jdom.Document dXSL)
dXSL
- an org.jdom.Document
valuepublic String get()
String
valuepublic String get(String sSubtopicName)
sSubtopicName
- a String
valueString
valuepublic String getNext()
String
valuepublic String getName()
String
valuepublic ArrayList getKeywords()
Vector
valuepublic ArrayList getSubtopicNames()
Vector
valuepublic URL getTopURL()
URL
valuepublic URL getURL()
URL
valuepublic String getXMLSourceFullFileName()
String
valuepublic String getRelativeHTMLFileName()
String
valuepublic int compareTo(Object o)
compareTo
in interface Comparable
o
- an Object
valueint
valuepublic String getID()
String
valuepublic String toString()
toString
in class Object
String
valuepublic boolean equals(Object oObj)
equals
in class Object
oObj
- an Object
valueboolean
value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |