com.thaiopensource.xml.out
Class XmlWriter
java.lang.Object
com.thaiopensource.xml.out.XmlWriter
public class XmlWriter
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlWriter
public XmlWriter(java.io.Writer writer,
CharRepertoire cr)
setNewline
public void setNewline(java.lang.String newline)
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Throws:
java.io.IOException
writeXmlDecl
public void writeXmlDecl(java.lang.String enc)
throws java.io.IOException
- Throws:
java.io.IOException
startElement
public void startElement(java.lang.String name)
throws java.io.IOException
- Throws:
java.io.IOException
endElement
public void endElement()
throws java.io.IOException
- Throws:
java.io.IOException
attribute
public void attribute(java.lang.String name,
java.lang.String value)
throws java.io.IOException
- Throws:
java.io.IOException
characters
public void characters(java.lang.String str)
throws java.io.IOException
- Throws:
java.io.IOException
characters
public void characters(java.lang.String str,
boolean useCharRef)
throws java.io.IOException
- Throws:
java.io.IOException
comment
public void comment(java.lang.String str)
throws java.io.IOException
- Throws:
java.io.IOException
processingInstruction
public void processingInstruction(java.lang.String target,
java.lang.String str)
throws java.io.IOException
- Throws:
java.io.IOException