|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.tue.win.riaca.openmath.io.OMDOMWriter
An OMDOMWriter.
Field Summary | |
protected org.w3c.dom.Document |
document
Stores the document reference we use to create elements. |
protected java.lang.String |
prefix
Stores the namespace prefix. |
Constructor Summary | |
OMDOMWriter()
Constructor. |
Method Summary | |
java.lang.String |
getNamespacePrefix()
Get the namespace prefix. |
void |
setNamespacePrefix(java.lang.String newPrefix)
Set the namespace prefix. |
org.w3c.dom.Document |
write(OMObject object)
Write out a DOM document. |
org.w3c.dom.Node |
writeNode(OMObject object)
Write out a DOM document node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String prefix
protected org.w3c.dom.Document document
Constructor Detail |
public OMDOMWriter()
Method Detail |
public void setNamespacePrefix(java.lang.String newPrefix)
newPrefix
- the namespace prefix to generate.public java.lang.String getNamespacePrefix()
public org.w3c.dom.Document write(OMObject object) throws java.io.IOException
object
- the object to write out.
java.io.IOException
- when a serious error occurs.public org.w3c.dom.Node writeNode(OMObject object) throws java.io.IOException
object
- the object to write out.
java.io.IOException
- when a serious error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |