public abstract class XMLWriterBase extends Object implements XMLWriter
A base class for XMLWriter implementations.
It provides the implementation of some derived XMLWriter methods.
| Constructor and Description |
|---|
XMLWriterBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
startElement(QName name)
Write the start tag for an element.
|
void |
startElement(QName name,
String prefix)
Write the start tag for an element.
|
void |
startElement(String localName)
Write the start tag for an element.
|
void |
writeAttribute(QName name,
String value)
Write an attribute of the current element.
|
void |
writeAttribute(String localName,
String value)
Write an attribute of the current element.
|
void |
writeAttributeUnquoted(QName name,
String value)
Write an attribute (unquoted) of the current element.
|
void |
writeAttributeUnquoted(String localName,
String value)
Write an attribute (unquoted) of the current element.
|
abstract void |
writeChars(CDATA chars)
Write character data within an element.
|
abstract void |
writeChars(String chars)
Write character data within an element.
|
void |
writeComment(String comment)
Write a comment within an element.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, endElement, flush, getPrefix, getPrefixFactory, getURI, setPrefixFactory, startElement, startElement, writeAttribute, writeAttributeUnquoted, writeCharsUnquoted, writeCharsUnquoted, writeNamespaceDeclaration, writeNamespaceDeclarationpublic void startElement(String localName)
XMLWriterstartElement in interface XMLWriterpublic void startElement(QName name)
XMLWriterstartElement in interface XMLWriterpublic void startElement(QName name, String prefix)
XMLWriterstartElement in interface XMLWriterpublic void writeAttribute(String localName, String value)
XMLWriterwriteAttribute in interface XMLWriterpublic void writeAttribute(QName name, String value)
XMLWriterwriteAttribute in interface XMLWriterpublic void writeAttributeUnquoted(QName name, String value)
XMLWriterwriteAttributeUnquoted in interface XMLWriterpublic void writeAttributeUnquoted(String localName, String value)
XMLWriterwriteAttributeUnquoted in interface XMLWriterpublic abstract void writeChars(CDATA chars)
XMLWriterwriteChars in interface XMLWriterpublic abstract void writeChars(String chars)
XMLWriterwriteChars in interface XMLWriterpublic void writeComment(String comment)
XMLWriterwriteComment in interface XMLWriterCopyright © 2017–2019 Eclipse Foundation. All rights reserved.