public class ISO88591StreamWriter extends StreamWriterBase
m_ampEntityBytes, m_buffer, m_cdataEndBytes, m_cdataStartBytes, m_extensionBytes, m_fillOffset, m_gtEntityBytes, m_ltEntityBytes, m_prefixBytes, m_quotEntityBytes
m_prefixes, m_uris
Constructor and Description |
---|
ISO88591StreamWriter(ISO88591StreamWriter base,
java.lang.String[] uris)
Copy constructor.
|
ISO88591StreamWriter(java.lang.String[] uris)
Constructor with supplied buffer.
|
Modifier and Type | Method and Description |
---|---|
IXMLWriter |
createChildWriter(java.lang.String[] uris)
Create a child writer instance to be used for a separate binding.
|
protected void |
defineNamespace(int index,
java.lang.String prefix)
Report that namespace has been defined.
|
protected void |
writeAttributeText(java.lang.String text)
Write attribute text to output.
|
void |
writeCData(java.lang.String text)
Write CDATA text to document.
|
protected void |
writeMarkup(char chr)
Write markup character to output.
|
protected void |
writeMarkup(java.lang.String text)
Write markup text to output.
|
void |
writeTextContent(java.lang.String text)
Write ordinary character data text content to document.
|
close, flush, getEncodingName, indent, indent, makeSpace, popExtensionNamespaces, pushExtensionNamespaces, setBuffer, setIndentSpaces, setNamespaceUris, undefineNamespace, writeEntity, writePrefix
addAttribute, closeEmptyTag, closeStartTag, endTag, flagContent, flagTextContent, init, reset, startTagClosed, startTagNamespaces, startTagOpen, writeComment, writeDocType, writeEntityRef, writePI, writeXMLDecl
decrementNesting, getExtensionNamespaces, getNamespaceCount, getNamespacePrefix, getNamespaces, getNamespaceUri, getNestingDepth, getPrefixIndex, growArray, incrementNesting, internalNamespacePrefix, internalNamespaceUri, internalSetUris, openNamespaces, popTranslationTable, pushTranslationTable, shrinkArray, translateNamespace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExtensionNamespaces, getNamespaceCount, getNamespacePrefix, getNamespaces, getNamespaceUri, getNestingDepth, getPrefixIndex, openNamespaces, popTranslationTable, pushTranslationTable
public ISO88591StreamWriter(java.lang.String[] uris)
uris
- ordered array of URIs for namespaces used in document (must
be 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")public ISO88591StreamWriter(ISO88591StreamWriter base, java.lang.String[] uris)
base
- instance to be used as base for writeruris
- ordered array of URIs for namespaces used in document
(see ISO88591StreamWriter(String[])
)protected void writeMarkup(java.lang.String text) throws java.io.IOException
writeMarkup
in class XMLWriterBase
text
- markup text to be writtenjava.io.IOException
- if error writing to documentprotected void writeMarkup(char chr) throws java.io.IOException
writeMarkup
in class XMLWriterBase
chr
- markup character to be writtenjava.io.IOException
- if error writing to documentprotected void defineNamespace(int index, java.lang.String prefix) throws java.io.IOException
defineNamespace
in class XMLWriterNamespaceBase
index
- post-translation namespace URI index numberprefix
- prefix used for namespacejava.io.IOException
- if error writing to documentprotected void writeAttributeText(java.lang.String text) throws java.io.IOException
writeAttributeText
in class XMLWriterBase
text
- attribute value text to be writtenjava.io.IOException
- if error writing to documentpublic void writeTextContent(java.lang.String text) throws java.io.IOException
text
- content value textjava.io.IOException
- on error writing to documentpublic void writeCData(java.lang.String text) throws java.io.IOException
text
- content value textjava.io.IOException
- on error writing to documentpublic IXMLWriter createChildWriter(java.lang.String[] uris) throws java.io.IOException
uris
- ordered array of URIs for namespaces used in document
(see ISO88591StreamWriter(String[])
)java.io.IOException