net.xineo.xml.util
Class StreamOutput
java.lang.Object
|
+--net.xineo.xml.util.StreamOutput
- All Implemented Interfaces:
- XMLOutput
- public class StreamOutput
- extends java.lang.Object
- implements XMLOutput
|
Constructor Summary |
StreamOutput(java.io.OutputStream output,
java.lang.String encoding)
|
StreamOutput(java.io.Writer output,
java.lang.String encoding)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamOutput
public StreamOutput(java.io.OutputStream output,
java.lang.String encoding)
throws java.io.UnsupportedEncodingException
StreamOutput
public StreamOutput(java.io.Writer output,
java.lang.String encoding)
startDocument
public void startDocument()
throws XMLOutputException
- Specified by:
startDocument in interface XMLOutput
XMLOutputException
endDocument
public void endDocument()
throws XMLOutputException
- Specified by:
endDocument in interface XMLOutput
XMLOutputException
startElement
public void startElement(ElementName name,
org.xml.sax.Attributes attributes,
boolean empty)
throws XMLOutputException
- Specified by:
startElement in interface XMLOutput
XMLOutputException
endElement
public void endElement(ElementName name)
throws XMLOutputException
- Specified by:
endElement in interface XMLOutput
XMLOutputException
text
public void text(java.lang.String str)
throws XMLOutputException
- Specified by:
text in interface XMLOutput
XMLOutputException
textEncodeString
public static java.lang.String textEncodeString(java.lang.String str)
attributeEncodeString
public static java.lang.String attributeEncodeString(java.lang.String str)
Copyright © 2002 Frédérik Bilhaut - Xineo.NET