ReadXML Constructor
|
Constructor. Creates a Sketch from an XML file. |
Sketch | Returns the Sketch created. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
pointsHT | A Hashtable linking Point Ids to Points |
shapeToArgsHT | A Hashtable linking Shape Ids to Substroke Ids |
sketch | The Sketch to be created from the XML file |
strokeToSubstrokesHT | A Hashtable linking Stroke Ids to Substroke Ids |
substrokeToPointsHT | A Hashtable linking Substroke Ids to Point Ids |
createSketch | Constructs a Sketch from the given filename. |
getStreamReader | Gets an IO stream for the file. |
getXmlTextReader | Gets an XML Text reader for the IO stream |
readDomain | Reads the Domain XML attributes |
readEdit | Reads the Edit XML attributes |
readMediaInfo | Reads the Media XML attributes |
readPoint | Reads the Point XML attributes |
readShape | Reads the Shape XML attributes |
readSketchData | Reads the Sketch XML attributes and cycles through the XML elements |
readSketcher | Reads the Sketch XML attributes |
readSpeech | Reads the Speech XML attributes |
readStudy | Reads the Study XML attributes |
recShape | Recursively goes through a Shape in the Shapes hashtable and pulls out all of the Substrokes associated with the Shape. NOTE: Shapes can currently have Shape, Stroke, and Substroke arguments for subelements (but no Points) |