|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfr.inria.openmath.omapi.ParserAdapter
fr.ove.openmath.mfd2.omparser.Mfd2ParserHandler
A handler for the OpenMath parser of the Mfd2 application.
| Constructor Summary | |
Mfd2ParserHandler()
|
|
| Method Summary | |
void |
endApplication()
Receives notification of the end of an application element. |
void |
endAttributePairs()
Receives notification of the end of an attribute-pairs element. |
void |
endAttribution()
Receives notification of the end of an attribution element. |
void |
endBind()
Receives notification of the beginning of a Bind element. |
void |
endBVars()
Receives notification of the beginning of a BVars element. |
void |
endError()
Receives notification of the end of an error element. |
void |
endObject()
Receives notification of the end of an object element. |
java.lang.String |
getOmObjectParsed()
Returns the OpenMath object parsed. |
void |
readByteArray(byte[] value)
Receives notification of a byteArray element. |
void |
readComment(java.lang.String value)
Receives notification of a comment element. |
void |
readFloat(double value)
Receives notification of a floating-point number element. |
void |
readInteger(fr.inria.openmath.omapi.BigInt value)
Receives notification of an Integer element. |
void |
readString(java.lang.String value)
Receives notification of a string element. |
void |
readSymbol(fr.inria.openmath.omapi.Symbol value)
Receives notification of a symbol element. |
void |
readVariable(java.lang.String name)
Receives notification of a variable element. |
void |
startApplication()
Receives notification of the beginning of a application element. |
void |
startAttributePairs()
Receives notification of the beginning of an attribute-pairs element. |
void |
startAttribution()
Receives notification of the beginning of a attribution element. |
void |
startBind()
Receives notification of the beginning of a Bind element. |
void |
startBVars()
Receives notification of the beginning of a BVars element. |
void |
startError()
Receives notification of the beginning of a error element. |
void |
startObject()
Receives notification of the beginning of a object element. |
| Methods inherited from class fr.inria.openmath.omapi.ParserAdapter |
endParse, readInteger, setLocator, startParse |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Mfd2ParserHandler()
| Method Detail |
public java.lang.String getOmObjectParsed()
public void startObject()
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.endObject()
public void endObject()
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.startObject()
public void startApplication()
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.endApplication()
public void endApplication()
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.startApplication()
public void startAttribution()
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.endAttribution()
public void endAttribution()
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.startAttribution()
public void startAttributePairs()
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.endAttributePairs()
public void endAttributePairs()
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.startAttribution()
public void startBind()
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.endBind()
public void startBVars()
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.endBVars()
public void endBVars()
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.startBVars()
public void endBind()
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.endBind()
public void startError()
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.endError()
public void endError()
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.startError()
public void readInteger(fr.inria.openmath.omapi.BigInt value)
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
value - the value embeded in this Integer element. This is an infinite precision integer.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.BigInt
public void readFloat(double value)
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
value - the value embeded in this Float element.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.
public void readString(java.lang.String value)
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
value - the value embeded in this String element.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.
public void readVariable(java.lang.String name)
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
name - the name of this Variable element.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.
public void readByteArray(byte[] value)
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
value - the value embeded in this ByteArray element.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.
public void readSymbol(fr.inria.openmath.omapi.Symbol value)
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
value - the value embeded in this Symbol element.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.Symbol
public void readComment(java.lang.String value)
throws fr.inria.openmath.omapi.OMException
By default, do nothing. Application writers may override this method in a subclass.
value - the value embeded in this Comment element.
fr.inria.openmath.omapi.OMException - Any OpenMath exception.Comment
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||