edu.cmu.hcii.calo.engine.XMLScriptParser Class Reference

Collaboration diagram for edu.cmu.hcii.calo.engine.XMLScriptParser:

Collaboration graph
[legend]
List of all members.

Detailed Description

Parses XML to build the script from which the automated engine takes its directions.

Author:
Will Haines


Public Member Functions

void startElement (String uri, String name, String qName, Attributes atts)
 Parses the start element of an XML tag and acts accordingly.

Package Attributes

AutomatedEngine engine

Private Member Functions

void addNotification (Attributes atts)
 Adds a notification with the given attributes.
void addTask (Attributes atts)
 Adds a task with the given attributes.
void changeNotification (Attributes atts)
 Changes a notification with the given attributes.
void changeTask (Attributes atts)
 Changes a task with the given attributes.
void deleteNotification (Attributes atts)
 Deletes a notification with the given attributes.
void deleteTask (Attributes atts)
 Deletes a task with the given attributes.
long extractTime (Attributes atts)
 Extracts the time to add from the attributes, either as an offset from now or an absolute time.


Member Function Documentation

void edu.cmu.hcii.calo.engine.XMLScriptParser.addNotification ( Attributes  atts  )  [private]

Adds a notification with the given attributes.

Parameters:
atts the vector of attributes of this notification

void edu.cmu.hcii.calo.engine.XMLScriptParser.addTask ( Attributes  atts  )  [private]

Adds a task with the given attributes.

Parameters:
atts the vector of attributes of this task

void edu.cmu.hcii.calo.engine.XMLScriptParser.changeNotification ( Attributes  atts  )  [private]

Changes a notification with the given attributes.

Parameters:
atts the vector of attributes of this notification

void edu.cmu.hcii.calo.engine.XMLScriptParser.changeTask ( Attributes  atts  )  [private]

Changes a task with the given attributes.

Parameters:
atts the vector of attributes of this task

void edu.cmu.hcii.calo.engine.XMLScriptParser.deleteNotification ( Attributes  atts  )  [private]

Deletes a notification with the given attributes.

Parameters:
atts the vector of attributes of this notification

void edu.cmu.hcii.calo.engine.XMLScriptParser.deleteTask ( Attributes  atts  )  [private]

Deletes a task with the given attributes.

Parameters:
atts the vector of attributes of this task

long edu.cmu.hcii.calo.engine.XMLScriptParser.extractTime ( Attributes  atts  )  [private]

Extracts the time to add from the attributes, either as an offset from now or an absolute time.

Parameters:
atts the vector of attributes to extract the time from

void edu.cmu.hcii.calo.engine.XMLScriptParser.startElement ( String  uri,
String  name,
String  qName,
Attributes  atts 
)

Parses the start element of an XML tag and acts accordingly.

See also:
org.xml.sax.helpers.DefaultHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)


The documentation for this class was generated from the following file:
Generated on Mon Aug 13 15:06:14 2007 for CALO by  doxygen 1.5.2