| java.lang.Object org.jibx.runtime.impl.XMLWriterNamespaceBase org.jibx.runtime.impl.XMLWriterBase org.jibx.runtime.impl.StreamWriterBase org.jibx.runtime.impl.ISO88591StreamWriter
ISO88591StreamWriter | public class ISO88591StreamWriter extends StreamWriterBase (Code) | | Handler for marshalling text document to a UTF-8 output stream.
author: Dennis M. Sosnoski version: 1.0 |
ISO88591StreamWriter | public ISO88591StreamWriter(String[] uris)(Code) | | Constructor.
Parameters: uris - ordered array of URIs for namespaces used in document (mustbe constant; the value in position 0 must always be the empty string "",and the value in position 1 must always be the XML namespace"http://www.w3.org/XML/1998/namespace") |
ISO88591StreamWriter | public ISO88591StreamWriter(ISO88591StreamWriter base, String[] uris)(Code) | | Copy constructor. This takes the stream from a supplied instance, while
setting a new array of namespace URIs. It's intended for use when
invoking one binding from within another binding.
Parameters: base - instance to be used as base for writer Parameters: uris - ordered array of URIs for namespaces used in document(see ISO88591StreamWriter.ISO88591StreamWriter(String[])) |
createChildWriter | public IXMLWriter createChildWriter(String[] uris)(Code) | | Create a child writer instance to be used for a separate binding. The
child writer inherits the stream and encoding from this writer, while
using the supplied namespace URIs.
Parameters: uris - ordered array of URIs for namespaces used in document(see ISO88591StreamWriter.ISO88591StreamWriter(String[])) child writer |
defineNamespace | protected void defineNamespace(int index, String prefix) throws IOException(Code) | | Report that namespace has been defined.
Parameters: index - namespace URI index number Parameters: prefix - prefix used for namespace throws: IOException - if error writing to document |
writeAttributeText | protected void writeAttributeText(String text) throws IOException(Code) | | Write attribute text to output. This needs to write the text with any
appropriate escaping.
Parameters: text - attribute value text to be written throws: IOException - if error writing to document |
writeCData | public void writeCData(String text) throws IOException(Code) | | Write CDATA text to document.
Parameters: text - content value text throws: IOException - on error writing to document |
writeMarkup | protected void writeMarkup(String text) throws IOException(Code) | | Write markup text to output. Markup text can be written directly to the
output without the need for any escaping, but still needs to be properly
encoded.
Parameters: text - markup text to be written throws: IOException - if error writing to document |
writeMarkup | protected void writeMarkup(char chr) throws IOException(Code) | | Write markup character to output. Markup text can be written directly to
the output without the need for any escaping, but still needs to be
properly encoded.
Parameters: chr - markup character to be written throws: IOException - if error writing to document |
writeTextContent | public void writeTextContent(String text) throws IOException(Code) | | Write ordinary character data text content to document.
Parameters: text - content value text throws: IOException - on error writing to document |
Methods inherited from org.jibx.runtime.impl.XMLWriterBase | public void addAttribute(int index, String name, String value) throws IOException(Code)(Java Doc) abstract public void close() throws IOException(Code)(Java Doc) public void closeEmptyTag() throws IOException(Code)(Java Doc) public void closeStartTag() throws IOException(Code)(Java Doc) abstract public IXMLWriter createChildWriter(String[] uris)(Code)(Java Doc) public void endTag(int index, String name) throws IOException(Code)(Java Doc) final protected void flagContent() throws IOException(Code)(Java Doc) final protected void flagTextContent() throws IOException(Code)(Java Doc) abstract public void flush() throws IOException(Code)(Java Doc) abstract protected void indent(int bias) throws IOException(Code)(Java Doc) public void reset()(Code)(Java Doc) public void startTagClosed(int index, String name) throws IOException(Code)(Java Doc) public void startTagNamespaces(int index, String name, int[] nums, String[] prefs) throws IOException(Code)(Java Doc) public void startTagOpen(int index, String name) throws IOException(Code)(Java Doc) abstract protected void writeAttributeText(String text) throws IOException(Code)(Java Doc) public void writeComment(String text) throws IOException(Code)(Java Doc) public void writeDocType(String name, String sys, String pub, String subset) throws IOException(Code)(Java Doc) public void writeEntityRef(String name) throws IOException(Code)(Java Doc) abstract protected void writeMarkup(String text) throws IOException(Code)(Java Doc) abstract protected void writeMarkup(char chr) throws IOException(Code)(Java Doc) public void writePI(String target, String data) throws IOException(Code)(Java Doc) abstract protected void writePrefix(int index) throws IOException(Code)(Java Doc) public void writeXMLDecl(String version, String encoding, String standalone) throws IOException(Code)(Java Doc)
|
|
|