A B C D E F G H I K L M O P Q R S T U V W X

A

addAHAInformation(HttpServletRequest, HttpServletResponse) - Method in class AHA.Entree
 
addBadAnswer(String) - Method in class AHA.Question
Add an incorrect answer to the list of incorrect answers.
addFeedback(String) - Method in class AHA.Question
Add feedback to the question that was last added (correct or incorrect).
addFooter() - Method in class AHA.GenHTMLQuestions
 
addGoodAnswer(String) - Method in class AHA.Question
Add a correct answer to the list of correct answers.
addHeader(String, String, int, int, boolean, int) - Method in class AHA.GenHTMLQuestions
 
addHTMLBuffer(String) - Method in class AHA.GenHTMLQuestions
 
addQuestions(int, int) - Method in class AHA.GenHTMLQuestions
 
addSessionInformation(HttpServletRequest, HttpServletResponse) - Method in class AHA.Entree
 
addXMLBuffer(String) - Method in class AHA.HTMLTest
 
AHA - class AHA.AHA.
A class which is used to store and retrieve references to objects used throughout the processing of a request.
AHA - Variable in class AHA.AhaServlet
 
AHA - Variable in class AHA.XmlFilter
 
AHA() - Constructor for class AHA.AHA
 
AHA(String, String, String, String, String, String) - Constructor for class AHA.AHA
The only constructor registers the pre-initialized attributes.
AhaException - exception AHA.AhaException.
AhaException is thrown by routines in the course package.
AhaException(String) - Constructor for class AHA.AhaException
This constructor just creates an exception with a given String as error message.
AhaProperties - class AHA.AhaProperties.
AhaProperties contains the properties from the Course's properties file.
AhaProperties(AHA) - Constructor for class AHA.AhaProperties
 
AhaServlet - class AHA.AhaServlet.
The parent for (almost) every servlet in this package.
AhaServlet() - Constructor for class AHA.AhaServlet
 
AHASession - class AHA.AHASession.
The class AHASession is used for identification of the user. Session + loginid + Course --> AHA
AHASession(AHA, HttpSession) - Constructor for class AHA.AHASession
 
Antwoord - class AHA.Antwoord.
The class Antwoord represents an answer to a question (Vraag)
Antwoord() - Constructor for class AHA.Antwoord
 

B

Background - Variable in class AHA.AhaServlet
 
buildAHA(HttpServletRequest, HttpServletResponse) - Method in class AHA.Entree
The method buildAHA builds a new AHA object with given parameters
BuildAnswers(Question) - Method in class AHA.FilterTest
This method creates a random list of answers to a question.

C

CgiUtil - class AHA.CgiUtil.
CgiUtil is used to read Forms input (from a POST request) and to store that input in a HashTable.
CgiUtil(InputStream, int) - Constructor for class AHA.CgiUtil
This constructor reads the input from the POST request and stores it in a HashTable.
changeConfig(CgiUtil) - Method in class AHA.PasswordConfig
This method reads input from a POST request and replaces the user model by the values contained in the request.
changeConfig(PrintWriter, CgiUtil) - Method in class AHA.ColorChange
This method reads input from a POST request and replaces the user model by the values contained in the request.
changeKnowledge(PrintWriter, CgiUtil) - Method in class AHA.KnowledgeChange
This method reads input from a POST request and replaces the user model by the values contained in the request.
CheckAndUpdateKnowledge() - Method in class AHA.PageRequestHandler
 
CheckOtherSessions(ServletContext) - Method in class AHA.Entree
 
ColorChange - class AHA.ColorChange.
The ColorChange servlet processes the input parameters from the Color Configuration form.
ColorChange() - Constructor for class AHA.ColorChange
 
ColorConfig - class AHA.ColorConfig.
The class ColorConfig is a servlet that lets the user change the color for specific links.
ColorConfig() - Constructor for class AHA.ColorConfig
 
concatBadAnswer(String) - Method in class AHA.Question
Add text to the last incorrect answer.
concatFeedback(String) - Method in class AHA.Question
Add text to the last feedback.
concatGoodAnswer(String) - Method in class AHA.Question
Add text to the last correct answer.
concatQuestion(String) - Method in class AHA.Question
Add text to a question.
Course - Variable in class AHA.AhaServlet
 

D

Derive - class AHA.Derive.
Derive is a utility class, used for deriving information from an URL If the requested information is not available then a AhaException is thrown.
Derive(String) - Constructor for class AHA.Derive
The normal constructor.
deriveServletName(String) - Method in class AHA.HeaderFooterFilter
 
deriveVariable(String) - Method in class AHA.HeaderFooterFilter
 
Diff - class AHA.Diff.
 
Diff(Timer, Timer) - Constructor for class AHA.Diff
 
DocName - Variable in class AHA.XmlFilter
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class AHA.Stop
 
doHeaderFooter(Node) - Method in class AHA.XmlFilter
This method takes care of writing headers and footers, which consists of calling to the Messages object
doIndent() - Method in class AHA.HTMLTest
 
Done - class AHA.Done.
The class Done generates a page with a list of pages that the user has read.
Done() - Constructor for class AHA.Done
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class AHA.Registration
 
DoTest - class AHA.DoTest.
This class activates a filter which generates a HTML-form with a test that a user can do.
DoTest() - Constructor for class AHA.DoTest
 
dumpFatal(PrintWriter, String) - Static method in class AHA.Messages
 
dumpList(Vector) - Method in class AHA.LinkList
dumpList first sorts the list of pages, and then makes the links and dumps them to out.
Dutch - Static variable in class AHA.AHA
 

E

English - Static variable in class AHA.AHA
 
Entree - class AHA.Entree.
The class Entree contains several actions which have to be performed when the user logs in.
Entree() - Constructor for class AHA.Entree
 
Error(String) - Method in class AHA.Messages
This method prints out an error message (after a minimal header).
EvalQuestions(CgiUtil) - Method in class AHA.FilterTest
This method reads a user's answers to a multiple-choice quiz and evaluates the answers.
EvaluateTest - class AHA.EvaluateTest.
The class EvaluateTest evaluates the multiple choice test answers which the user filled in in a test.
EvaluateTest() - Constructor for class AHA.EvaluateTest
 
exists(String) - Method in class AHA.Entree
This method checks if a file with name dirname exists.

F

Fatal(String) - Method in class AHA.Messages
This method prints out a fatal error message, after a minimal header.
FileName - class AHA.FileName.
FileName is a small utility, used for building good filename paths with respect to the File.Separator used by de operating system. The arguments for the constructors will be glued together by File separators. String docfilename = new FileName(a, b, c).toString(); will result in : docfilename == a/b/c on a unix filesystem.
FileName(String, String) - Constructor for class AHA.FileName
 
FileName(String, String, String) - Constructor for class AHA.FileName
 
FileName(String, String, String, String) - Constructor for class AHA.FileName
 
FileName(String, String, String, String, String) - Constructor for class AHA.FileName
 
fillArrays(Element) - Method in class AHA.FilterTest
 
filterAnchorNode(Node) - Method in class AHA.XmlFilter
This returns a string containing an anchor
FilterLink(Node) - Method in class AHA.Link
given an anchorNode change the 'class' attribute according to the user's knowledge
FilterLinks(String) - Method in class AHA.FilterTest
 
FilterTest - class AHA.FilterTest.
FilterTest is an extension of Filter, to generate multiple-choice tests.
FilterTest(AHA, String) - Constructor for class AHA.FilterTest
This constructor filters a test according to a user model and page list.
FirstStepTestDevelopment - class AHA.FirstStepTestDevelopment.
 
FirstStepTestDevelopment() - Constructor for class AHA.FirstStepTestDevelopment
 
FulfillRequirements(String) - Method in class AHA.PageRequestHandler
 
FullDocName - Variable in class AHA.XmlFilter
 

G

genConfig(PrintWriter, String) - Method in class AHA.ColorConfig
This method writes out the user model as an HTML form that can be used for updating the model.
genConfig(String) - Method in class AHA.PasswordConfig
This method writes out the password as an HTML form that can be used for changing the password.
Generate - class AHA.Generate.
The class Generate is used for generating knowledge for a user.
Generate(AHA, String, int, boolean) - Constructor for class AHA.Generate
 
GenerateList - class AHA.GenerateList.
Container for all generate clauses
GenerateList(AHA) - Constructor for class AHA.GenerateList
 
GenerateList(AHA, String) - Constructor for class AHA.GenerateList
Constructor initializes this with a file
GenerateQuestions() - Method in class AHA.FilterTest
This method creates a random list of question numbers.
GenHTMLQuestions - class AHA.GenHTMLQuestions.
 
GenHTMLQuestions(String, String, int, int, boolean, int) - Constructor for class AHA.GenHTMLQuestions
 
genKnowledgeList(PrintWriter, String) - Method in class AHA.KnowledgeConfig
The actual generation of the HTML form code.
GenTest(CgiUtil, PrintWriter) - Method in class AHA.SecondStepTestDevelopment
 
genXML() - Method in class AHA.HTMLTest
 
Get - class AHA.Get.
A servlet for processing normal page requests for the AHA adaptive hypermedia engine.
Get() - Constructor for class AHA.Get
 
getActiveLinkColor() - Method in class AHA.UserModel
Return the color for active links (being clicked on).
getAHA() - Method in class AHA.AHASession
 
getAhaProperties() - Method in class AHA.AHA
 
getAnswer(NodeList, int, boolean) - Method in class AHA.FilterTest
 
getAnswersToShow() - Method in class AHA.Question
Return the answers to show.
getAntwoord(int) - Method in class AHA.Vraag
 
getApplets() - Method in class AHA.AHA
Return the Applets field.
getBackground() - Method in class AHA.AHA
Return the Background field.
getBadAnswers() - Method in class AHA.Question
Return the incorrect answers.
getBadFeedback() - Method in class AHA.Question
Return feedback on the incorrect answers.
getBadLinkColor() - Method in class AHA.UserModel
Return the color for undesired links.
getBase() - Method in class AHA.AHA
 
getColor(String) - Method in class AHA.UserModel
 
getCorrect(int) - Method in class AHA.Vraag
 
getCourse() - Method in class AHA.AHA
Return the Course field.
getCourse() - Method in class AHA.Derive
This filters out the course from the url-String
getDepartment() - Method in class AHA.UserModel
Return the user's department.
getDoc() - Method in class AHA.Derive
Returns the name of a docfile from the url-String
getDocs() - Method in class AHA.AHA
Return the Docs field.
getDocumentsListFile() - Method in class AHA.AHA
 
getEmail() - Method in class AHA.UserModel
Return the user's email address.
getExternalLinkColor() - Method in class AHA.UserModel
Return the color for external unvisited links.
getExternalVisitedColor() - Method in class AHA.UserModel
Return the color for external visited links.
getFileName() - Method in class AHA.HTMLTest
 
getFirst(Node, String) - Static method in class AHA.Utils
The method getFirst returns the first value of the child of node named name.
getFirstDocument() - Method in class AHA.AHA
 
getGenerateList() - Method in class AHA.AHA
 
getGenListFile() - Method in class AHA.AHA
 
getGoodAnswers() - Method in class AHA.Question
Return the correct answers.
getGoodFeedback() - Method in class AHA.Question
Return feedback on the correct answers.
getGoodLinkColor() - Method in class AHA.UserModel
Return the color for desired links.
getHost() - Method in class AHA.AHA
Return the Host field.
getHtDocs() - Method in class AHA.AHA
Return the HtDocs field.
getHTMLBuf() - Method in class AHA.GenHTMLQuestions
 
getIcons() - Method in class AHA.AHA
Return the Icons field.
getId() - Method in class AHA.UserModel
Return the user's id.
getInstitute() - Method in class AHA.UserModel
Return the user's institute.
getKnowledge() - Method in class AHA.UserModel
Return the internal representation of the user's knowledge.
getLanguage() - Method in class AHA.AHA
Return the Language field.
getLanguageName(int) - Method in class AHA.AHA
 
getList() - Method in class AHA.GenerateList
return this
getLogFileLines() - Method in class AHA.UserModel
Return the lines of the user's log file as a vector.
getLoginid() - Method in class AHA.Derive
The method getLoginid returns the loginid information from the url-String.
getLogs() - Method in class AHA.AHA
Return the Logs field.
getMessages() - Method in class AHA.AHA
Return the Messages field.
getName() - Method in class AHA.AhaServlet
Return the name of the servlet class.
getName() - Method in class AHA.UserModel
Return the user's name.
getNbBadVisited() - Method in class AHA.UserModel
 
getNbGoodVisited() - Method in class AHA.UserModel
 
getNbNotVisited() - Method in class AHA.UserModel
 
getNbPages() - Method in class AHA.UserModel
Return the number of pages to read.
getNbRead() - Method in class AHA.UserModel
Return the number of read pages.
getNeutralLinkColor() - Method in class AHA.UserModel
Return the color for uninteresting (previously visited) links.
getPasswd() - Method in class AHA.UserModel
Return the user's password.
getPort() - Method in class AHA.AHA
Return the Port field.
getProperty(String) - Method in class AHA.AhaProperties
 
getPropertyFile() - Method in class AHA.AHA
 
getQuestion() - Method in class AHA.Question
Return the question.
getQuestion(NodeList, int) - Method in class AHA.FilterTest
 
getReason(NodeList, int, boolean) - Method in class AHA.FilterTest
 
getRelations() - Method in class AHA.RequirementList
returns this
getReqListFile() - Method in class AHA.AHA
 
getRequirementList() - Method in class AHA.AHA
 
getRightToShow() - Method in class AHA.Question
Return the number of correct answers to show.
getServletDir() - Method in class AHA.AHA
 
getSession() - Method in class AHA.AHASession
 
getTest() - Method in class AHA.AHA
Return the Test field.
getTest() - Method in class AHA.Derive
Returns the name of a testfile from the url-String
getTime() - Method in class AHA.Timer
 
getTitle() - Method in class AHA.AHA
Return the Title field.
getUitleg(int) - Method in class AHA.Vraag
 
getUserChangeableConceptsFile() - Method in class AHA.AHA
 
getUserModel() - Method in class AHA.AHA
Return the UserModel field.
getVisitedList() - Method in class AHA.UserModel
Return the internal representation of the pages with their visited status
getWriter() - Method in class AHA.AHA
Return the Writer field.

H

hasBadVisit(String) - Method in class AHA.UserModel
 
hasGoodPasswd(String, String) - Method in class AHA.Entree
The method hasGoodPasswd checks whether the user has filled in the correct password.
hasGoodVisit(String) - Method in class AHA.UserModel
 
hasNotVisit(String) - Method in class AHA.UserModel
 
hasVisited(String) - Method in class AHA.Link
Used for adjusting the color of the anchor
HeaderFooterFilter - class AHA.HeaderFooterFilter.
The class HeaderFooterFilter takes care of filtering XML header and Footer files, and generating valid HTML code.
HeaderFooterFilter(AHA, String, String) - Constructor for class AHA.HeaderFooterFilter
 
Host - Variable in class AHA.AhaServlet
 
HtDocs - Variable in class AHA.AhaServlet
 
HTMLcode(Node) - Method in class AHA.HeaderFooterFilter
 
HtmlConvert(String) - Method in class AHA.FilterTest
 
HTMLTest - class AHA.HTMLTest.
 
HTMLTest(CgiUtil, PrintWriter) - Constructor for class AHA.HTMLTest
 

I

indent() - Method in class AHA.HTMLTest
 
init(ServletConfig) - Method in class AHA.AhaServlet
 
init(ServletConfig) - Method in class AHA.ColorChange
 
init(ServletConfig) - Method in class AHA.ColorConfig
 
init(ServletConfig) - Method in class AHA.DoTest
 
init(ServletConfig) - Method in class AHA.Done
 
init(ServletConfig) - Method in class AHA.Entree
 
init(ServletConfig) - Method in class AHA.EvaluateTest
 
init(ServletConfig) - Method in class AHA.FirstStepTestDevelopment
 
init(ServletConfig) - Method in class AHA.Get
 
init(ServletConfig) - Method in class AHA.KnowledgeChange
 
init(ServletConfig) - Method in class AHA.KnowledgeConfig
 
init(ServletConfig) - Method in class AHA.LinkList
 
init(ServletConfig) - Method in class AHA.Login
 
init(ServletConfig) - Method in class AHA.Logout
 
init(ServletConfig) - Method in class AHA.PasswordConfig
 
init(ServletConfig) - Method in class AHA.Progress
 
init(ServletConfig) - Method in class AHA.Registration
The init method reads the configured parameters which tell the servlet where to find documents, log files, background image and document title.
init(ServletConfig) - Method in class AHA.SecondStepTestDevelopment
 
init(ServletConfig) - Method in class AHA.State
 
init(ServletConfig) - Method in class AHA.Stop
 
init(ServletConfig) - Method in class AHA.Todo
 
initHeader() - Method in class AHA.Messages
This method generates the required header for every HTML page.
initService(HttpServletRequest, HttpServletResponse) - Method in class AHA.AhaServlet
This method will be called as initialization by each child servlet for every request.
InitTest(CgiUtil, PrintWriter) - Method in class AHA.FirstStepTestDevelopment
 
isAnchorStatement(Node) - Method in class AHA.XmlFilter
Is this node an anchor tag?
isBlockNode(Node) - Method in class AHA.XmlFilter
Is this node a block tag?
isFooterStatement(Node) - Method in class AHA.XmlFilter
Is this node a footer tag?
isGood(String) - Method in class AHA.Link
Used for adjusting the color of the anchor
isHeaderStatement(Node) - Method in class AHA.XmlFilter
Is this node a header tag?
isHtmlCode(Node) - Method in class AHA.XmlFilter
Is this node a htmltag?
isIfStatement(Node) - Method in class AHA.XmlFilter
Is this node an if-tag?
isSwitch(String, String) - Method in class AHA.PageRequestHandler
 

K

Knowledge - Variable in class AHA.XmlFilter
 
KnowledgeChange - class AHA.KnowledgeChange.
The class KnowledgeChange reads the input that the user gave in the Change Knowledge Form, and processes it.
KnowledgeChange() - Constructor for class AHA.KnowledgeChange
 
KnowledgeConfig - class AHA.KnowledgeConfig.
The class KnowledgeConfig is a servlet that lets the user change his/her knowledge about some concepts.
KnowledgeConfig() - Constructor for class AHA.KnowledgeConfig
 

L

Language - Variable in class AHA.AhaServlet
 
Languages - Static variable in class AHA.AHA
 
Link - class AHA.Link.
 
Link(AHA, Node) - Constructor for class AHA.Link
 
LinkList - class AHA.LinkList.
The class LinkList dumps a list of HTML links generated from a Vector of pagenames.
LinkList() - Constructor for class AHA.LinkList
 
list(PrintStream) - Method in class AHA.AhaProperties
 
Login - class AHA.Login.
The class Login is a servlet that takes care of loging in an existing user.
Login() - Constructor for class AHA.Login
 
loginid - Variable in class AHA.AhaServlet
 
Logout - class AHA.Logout.
The class Logout is a servlet that is called when a user logs out of the Course.
Logout() - Constructor for class AHA.Logout
 
logoutPerson(ServletContext, HttpSession) - Method in class AHA.Logout
Log out the user from this course, and remove the session if the user was only using this course.
Logs - Variable in class AHA.AhaServlet
 

M

main(String[]) - Static method in class AHA.test
 
makeEl(XmlDocument, String, String) - Method in class AHA.UserModel
 
makeHTML() - Method in class AHA.HeaderFooterFilter
 
makeIfChoice(Node) - Method in class AHA.XmlFilter
This method gets an if-tag and depending on the expression returns a block if if-expr=true --> first block (item(0)) if if-expr=false --> second block if any (item((1))
Messages - class AHA.Messages.
Messages contains common routines for creating headers, footers, and error messages.
Messages() - Constructor for class AHA.Messages
The default constructor does nothing.
Messages(AHA) - Constructor for class AHA.Messages
The standard constructor only initializes the AHA context.

O

out - Variable in class AHA.AhaServlet
 
out - Variable in class AHA.FilterTest
 
out - Variable in class AHA.XmlFilter
 

P

PageRequestHandler - class AHA.PageRequestHandler.
The class PageRequestHandler takes care of checking/generating knowledge and calling the XmlFilter for a page.
PageRequestHandler(AHA, String, String) - Constructor for class AHA.PageRequestHandler
 
passwd - Variable in class AHA.Entree
 
PasswordConfig - class AHA.PasswordConfig.
The PasswordConfig class is a servlet that lets the user change his/her password.
PasswordConfig() - Constructor for class AHA.PasswordConfig
 
Port - Variable in class AHA.AhaServlet
 
prepare(HttpServletRequest, HttpServletResponse) - Method in class AHA.Entree
 
print(Object) - Method in class AHA.DoTest
 
print(Object) - Method in class AHA.EvaluateTest
 
print(Object) - Method in class AHA.Generate
 
print(Object) - Method in class AHA.GenerateList
 
print(Object) - Method in class AHA.Get
 
print(Object) - Method in class AHA.Link
 
print(Object) - Method in class AHA.PageRequestHandler
 
print(Object) - Method in class AHA.Registration
 
print(Object) - Method in class AHA.RequirementList
 
print(Object) - Method in class AHA.Stop
 
print(Object) - Method in class AHA.UserModel
 
print(Object) - Method in class AHA.XmlFilter
 
printActiveLinkColor() - Method in class AHA.UserModel
Return the hexadecimal representation of the color for active links (being clicked on).
printAttr(Node) - Method in class AHA.XmlFilter
Maybe this is only used for testing
printBadLinkColor() - Method in class AHA.UserModel
Return the hexadecimal representation of the color for undesired links.
printBodyTag() - Method in class AHA.Messages
This method generates the body tag in case we do not wish to print a header.
printChildNodes(Node, boolean) - Method in class AHA.Link
 
printChildNodes(Node, boolean) - Method in class AHA.XmlFilter
Get the (html) representation of the childs of this node
printColor(Color) - Static method in class AHA.UserModel
Return a String representation of a Color.
printEndBodyTag() - Method in class AHA.Messages
This method generates a /body tag, for the case where no visible footer is desired.
printEndTags() - Method in class AHA.ColorConfig
 
printEndTags() - Method in class AHA.LinkList
The method printEndTags takes care of generating valid HTML code, especially the close tags
printExternalLinkColor() - Method in class AHA.UserModel
Return the hexadecimal representation of the color for external unvisited links.
printExternalVisitedColor() - Method in class AHA.UserModel
Return the hexadecimal representation of the color for external visited links.
printGoodLinkColor() - Method in class AHA.UserModel
Return the hexadecimal representation of the color for desired links.
printInfo() - Method in class AHA.AhaServlet
 
println(HttpServletRequest) - Method in class AHA.Get
 
println(Object) - Method in class AHA.DoTest
 
println(Object) - Method in class AHA.Entree
 
println(Object) - Method in class AHA.EvaluateTest
 
println(Object) - Method in class AHA.FirstStepTestDevelopment
 
println(Object) - Method in class AHA.Generate
 
println(Object) - Method in class AHA.GenerateList
 
println(Object) - Method in class AHA.Get
 
println(Object) - Method in class AHA.Link
 
println(Object) - Method in class AHA.LinkList
 
println(Object) - Method in class AHA.Login
 
println(Object) - Method in class AHA.Logout
 
println(Object) - Method in class AHA.PageRequestHandler
 
println(Object) - Method in class AHA.Registration
 
println(Object) - Method in class AHA.RequirementList
 
println(Object) - Method in class AHA.SecondStepTestDevelopment
 
println(Object) - Method in class AHA.Stop
 
println(Object) - Method in class AHA.Todo
 
println(Object) - Method in class AHA.UserModel
 
println(Object) - Method in class AHA.XmlFilter
Debug information
printNeutralLinkColor() - Method in class AHA.UserModel
Return the hexadecimal representation of the color for uninteresting (previously visited) links.
printNode(Node, boolean) - Method in class AHA.XmlFilter
Get the (html) representation of this node
PrintQuestions(String) - Method in class AHA.FilterTest
This method generates a multiple-choice quiz with randomly selected questions and answers.
printSimpleFooter() - Method in class AHA.Messages
This method dumps a HTML-close (/html) tag.
printSimpleHeader() - Method in class AHA.Messages
This method generates a minimal HTML header with a title for an error message.
Progress - class AHA.Progress.
 
Progress() - Constructor for class AHA.Progress
 

Q

Question - class AHA.Question.
Question is an object class that represents questions and answers in multiple-choice tests.
Question() - Constructor for class AHA.Question
The default (and only) constructor initializes the internal structure of a "Question" object.

R

readFile() - Method in class AHA.GenerateList
Initialize the container from a file
readFormParameters(HttpServletRequest, HttpServletResponse) - Method in class AHA.Entree
 
readRequirements() - Method in class AHA.RequirementList
Read the requirements from a file
recount() - Method in class AHA.UserModel
 
redirect(HttpServletRequest, HttpServletResponse) - Method in class AHA.AhaServlet
The method redirect will be called by child servlets if their call to super.initService(request, response) throws an error The user will get an error message on his screen
redirect(HttpServletRequest, HttpServletResponse) - Method in class AHA.Entree
 
referer - Variable in class AHA.AhaServlet
 
Registration - class AHA.Registration.
This servlet reads the parameters that the user filled in in a registration form.
Registration() - Constructor for class AHA.Registration
 
Registration(HttpServletRequest, HttpServletResponse, Hashtable) - Method in class AHA.Registration
This method does some checks and tries to build a usermodel.
relocation(String) - Method in class AHA.Messages
This method generates an HTTP relocation header.
RequirementList - class AHA.RequirementList.
Container for the requirements for the pages and concepts
RequirementList(AHA) - Constructor for class AHA.RequirementList
Initialize from data file
roundDouble(double) - Method in class AHA.Generate
roundDouble returns the ceiling of floor of a double, depending on the boolean "ceil" field.
run() - Method in class AHA.PageRequestHandler
Do the job.
run() - Method in class AHA.XmlFilter
prints out the html to AHA.getWriter

S

saveUserModel(String) - Method in class AHA.UserModel
This method rewrites the User Model file and appends to the log file.
SecondStepTestDevelopment - class AHA.SecondStepTestDevelopment.
 
SecondStepTestDevelopment() - Constructor for class AHA.SecondStepTestDevelopment
 
SEP - Static variable in class AHA.Utils
The fileseparator used by the operating system (\ or /).
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.AhaServlet
 
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.ColorChange
 
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.ColorConfig
 
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.DoTest
 
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.Done
 
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.Entree
This method is used only for reading the parameters passed by the form, and it also initializes the printwriter out
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.EvaluateTest
 
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.FirstStepTestDevelopment
 
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.Get
The method doGet handles GET requests.
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.KnowledgeChange
 
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.KnowledgeConfig
 
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.LinkList
 
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.Login
 
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.Logout
 
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.PasswordConfig
 
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.Progress
 
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.Registration
 
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.SecondStepTestDevelopment
 
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.State
 
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.Stop
 
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.TestAHA
 
service(HttpServletRequest, HttpServletResponse) - Method in class AHA.Todo
 
servletLink(Node) - Method in class AHA.HeaderFooterFilter
 
setActiveLinkColor(Color) - Method in class AHA.UserModel
Set the color for active links (being clicked on).
setAHA(AHA) - Method in class AHA.AHASession
 
setAHA(AHA) - Method in class AHA.Link
 
setAhaProperties(AhaProperties) - Method in class AHA.AHA
 
setAnswersToShow(int) - Method in class AHA.Question
Set the answers to show.
setAntwoord(int, String) - Method in class AHA.Vraag
set a specific answer
setApplets(String) - Method in class AHA.AHA
Set the Applets field.
setBackground(String) - Method in class AHA.AHA
Set the Background field.
setBadLinkColor(Color) - Method in class AHA.UserModel
Set the color for undesired links.
setCorrect(int, boolean) - Method in class AHA.Vraag
set a specific correct flag
setCourse(String) - Method in class AHA.AHA
Set the Course field.
setDepartment(String) - Method in class AHA.UserModel
Set the user's department.
setDocs(String) - Method in class AHA.AHA
Set the Docs field.
setEmail(String) - Method in class AHA.UserModel
Set the user's email address.
setExternalLinkColor(Color) - Method in class AHA.UserModel
Set the color for external unvisited links.
setExternalVisitedColor(Color) - Method in class AHA.UserModel
Set the color for external visited links.
setFileName(String) - Method in class AHA.HTMLTest
 
setGenerateList(GenerateList) - Method in class AHA.AHA
 
setGoodLinkColor(Color) - Method in class AHA.UserModel
Set the color for desired links.
setHost(String) - Method in class AHA.AHA
Set the Host field.
setHtDocs(String) - Method in class AHA.AHA
Set the HtDocs field.
setIcons(String) - Method in class AHA.AHA
Set the Icons field.
setId(String) - Method in class AHA.UserModel
Set the user's id.
setInstitute(String) - Method in class AHA.UserModel
Set the user's institute.
setKnowledge(Hashtable) - Method in class AHA.UserModel
Replace the user's knowledge by the argument of the method call.
setLanguage(String) - Method in class AHA.AHA
Set the Language field.
setLogFileLines(Vector) - Method in class AHA.UserModel
Replace the user's vector representation of the log file by the argument of the method call.
setLogs(String) - Method in class AHA.AHA
Set the Logs field.
setMessages(Messages) - Method in class AHA.AHA
Set the Messages field.
setName(String) - Method in class AHA.UserModel
Set the user's name.
setNbPages(int) - Method in class AHA.UserModel
Set the number of pages to read.
setNbRead(int) - Method in class AHA.UserModel
Set the number of read pages.
setNeutralLinkColor(Color) - Method in class AHA.UserModel
Set the color for uninteresting (previously visited) links.
setNode(Node) - Method in class AHA.Link
 
setPasswd(String) - Method in class AHA.UserModel
Set the user's password.
setPort(int) - Method in class AHA.AHA
Set the Port field.
setPrintWriter(HttpServletRequest, HttpServletResponse) - Method in class AHA.Entree
 
setQuestion(String) - Method in class AHA.Question
Set the question text.
setRequirementList(RequirementList) - Method in class AHA.AHA
 
setRightToShow(int) - Method in class AHA.Question
Set the number of correct answers to show.
setSession(HttpSession) - Method in class AHA.AHASession
 
setSize(int, int) - Method in class AHA.Question
Set the number of answers and the number of correct answers.
setTest(String) - Method in class AHA.AHA
Set the Test field.
setTitle(String) - Method in class AHA.AHA
Set the Title field.
setUitleg(int, String) - Method in class AHA.Vraag
set a specific explanation
setUserModel(UserModel) - Method in class AHA.AHA
Set the UserModel field.
setVisitedList(Hashtable) - Method in class AHA.UserModel
Replace the user's pages with visited status
setWriter(PrintWriter) - Method in class AHA.AHA
Set the Writer field.
ShortDocName - Variable in class AHA.XmlFilter
 
State - class AHA.State.
 
State() - Constructor for class AHA.State
 
Stop - class AHA.Stop.
 
Stop() - Constructor for class AHA.Stop
 
stopAppletCode(Node) - Method in class AHA.HeaderFooterFilter
 

T

test - class AHA.test.
 
test() - Constructor for class AHA.test
 
TestAHA - class AHA.TestAHA.
 
TestAHA() - Constructor for class AHA.TestAHA
 
teststr(Node) - Method in class AHA.XmlFilter
Node is an if-tag.
teststr(String) - Method in class AHA.XmlFilter
test an expression to the users knowledge
Timer - class AHA.Timer.
 
Timer() - Constructor for class AHA.Timer
 
Title - Variable in class AHA.AhaServlet
 
Todo - class AHA.Todo.
The servlet Todo generates a page with a list of pages that the user still has to read.
Todo() - Constructor for class AHA.Todo
 
toString() - Method in class AHA.AHASession
 
toString() - Method in class AHA.AhaException
 
toString() - Method in class AHA.FileName
 
toString() - Method in class AHA.Link
 
toString() - Method in class AHA.RequirementList
Return a String containing a String representation of all requirements
toString() - Method in class AHA.UserModel
 

U

unIndent() - Method in class AHA.HTMLTest
 
updateChildren() - Method in class AHA.Generate
Update knowledge of the children of this concept (name)
updateKnowledge() - Method in class AHA.Generate
Update knowledge of this concept (name)
UserModel - class AHA.UserModel.
UserModel represents the user model and maintains a permanent version in the user's user model file and logfile.
UserModel - Variable in class AHA.AhaServlet
 
UserModel - Variable in class AHA.FilterTest
 
UserModel() - Constructor for class AHA.UserModel
The default constructor is forbidden.
UserModel(AHA) - Constructor for class AHA.UserModel
This is the "short" constructor, with one parameter: the AHA context.
UserModel(AHA, String) - Constructor for class AHA.UserModel
 
Utils - class AHA.Utils.
The Utils class contains some utility methods
Utils() - Constructor for class AHA.Utils
 

V

variable(Node) - Method in class AHA.HeaderFooterFilter
 
verify() - Method in class AHA.Question
Verify that the number of actual correct and incorrect answers match the numbers that were set.
Vraag - class AHA.Vraag.
The class Vraag represents a question, together with its answers.
Vraag(int) - Constructor for class AHA.Vraag
 

W

write(String) - Method in class AHA.HTMLTest
 
writeRelations() - Method in class AHA.RequirementList
Write the requirements to the xmlfile, not in use.

X

XmlFilter - class AHA.XmlFilter.
XmlFilter is used for parsing XML documents, and it returns a HTML representation of the data
XmlFilter(AHA) - Constructor for class AHA.XmlFilter
This constructor is for base construction
XmlFilter(AHA, String, String) - Constructor for class AHA.XmlFilter
This constructor may be used for outside calls

A B C D E F G H I K L M O P Q R S T U V W X