fr.ove.openmath.jome.ctrl.mml
Class BasicXMLParser

java.lang.Object
  extended byfr.ove.openmath.jome.ctrl.mml.BasicXMLParser
Direct Known Subclasses:
MathMLParser

public abstract class BasicXMLParser
extends java.lang.Object

A parser for MathML objects.

Version:
1.0 25/05/2000
Author:
© 2000 DIRAT Laurent

Constructor Summary
BasicXMLParser()
           
 
Method Summary
 void parse(java.io.InputStream source)
          Parse the object coming through the source stream.
abstract  void readTag(Tag tag)
          Called by the parser when an tag has been parsed.
abstract  void readValue(java.lang.String value)
          Called by the parser when the value of an element has been parsed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicXMLParser

public BasicXMLParser()
Method Detail

parse

public void parse(java.io.InputStream source)
           throws java.io.IOException
Parse the object coming through the source stream.

Parameters:
source - the source stream.
Throws:
java.io.IOException

readTag

public abstract void readTag(Tag tag)
Called by the parser when an tag has been parsed.

Parameters:
tag - the parsed tag.

readValue

public abstract void readValue(java.lang.String value)
Called by the parser when the value of an element has been parsed.



Copyright © 1999-2007 Universit?© de Nice Sophia-Antipolis, I3S, Ove SARL, DFKI and Universit?§t des Saarlandes. All Rights Reserved.