|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.io.Writer
|
+--java.io.PrintWriter
|
+--com.g11ntoolkit.domutil.DOMWriter
|
+--com.g11ntoolkit.domutil.XMLWriter
|
+--com.g11ntoolkit.domutil.XHTMLWriter
DOM Document writer as XHTML format
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
See License Agreement.
| Field Summary |
| Fields inherited from class java.io.PrintWriter |
out |
| Fields inherited from class java.io.Writer |
lock |
| Constructor Summary | |
XHTMLWriter(java.io.OutputStream out)
Create a new XHTMLWriter, without automatic line flushing, from an existing OutputStream. |
|
XHTMLWriter(java.io.OutputStream out,
boolean autoFlush)
Create a new XHTMLWriter from an existing OutputStream. |
|
XHTMLWriter(java.io.Writer out)
Create a new XHTMLWriter, without automatic line flushing. |
|
XHTMLWriter(java.io.Writer out,
boolean autoFlush)
Create a new XHTMLWriter. |
|
| Method Summary | |
protected boolean |
isEmptyElement(org.w3c.dom.Element elm)
Check empty Element |
static void |
main(java.lang.String[] args)
/** Main |
| Methods inherited from class com.g11ntoolkit.domutil.XMLWriter |
normalizer, normalizer, write, write, write, write, write, write, write, write, write, write, write, write |
| Methods inherited from class com.g11ntoolkit.domutil.DOMWriter |
write, write, write, write, writeChilden |
| Methods inherited from class java.io.PrintWriter |
checkError, close, flush, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XHTMLWriter(java.io.OutputStream out)
out - A character-output stream
public XHTMLWriter(java.io.OutputStream out,
boolean autoFlush)
out - A character-output streamautoFlush - A boolean; if true, the println() methods will flush the output bufferpublic XHTMLWriter(java.io.Writer out)
out - A character-output stream
public XHTMLWriter(java.io.Writer out,
boolean autoFlush)
out - A character-output streamautoFlush - A boolean; if true, the println() methods will flush the output buffer| Method Detail |
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - XML File name
java.lang.Exceptionprotected boolean isEmptyElement(org.w3c.dom.Element elm)
isEmptyElement in class XMLWriterelm - Element class
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||