Package com.sun.xml.rpc.streaming
Class XMLWriterBase
java.lang.Object
com.sun.xml.rpc.streaming.XMLWriterBase
- All Implemented Interfaces:
XMLWriter
- Direct Known Subclasses:
PrettyPrintingXMLWriterImpl
,StAXWriter
,XmlTreeWriter
,XMLWriterImpl
A base class for XMLWriter implementations.
It provides the implementation of some derived XMLWriter methods.
- Author:
- JAX-RPC Development Team
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
startElement
(String localName) Write the start tag for an element.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
writeAttribute
(String localName, String value) Write an attribute of the current element.void
writeAttribute
(QName name, String value) Write an attribute of the current element.void
writeAttributeUnquoted
(String localName, String value) Write an attribute (unquoted) of the current element.void
writeAttributeUnquoted
(QName name, 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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sun.xml.rpc.streaming.XMLWriter
close, endElement, flush, getPrefix, getPrefixFactory, getURI, setPrefixFactory, startElement, startElement, writeAttribute, writeAttributeUnquoted, writeCharsUnquoted, writeCharsUnquoted, writeNamespaceDeclaration, writeNamespaceDeclaration
-
Constructor Details
-
XMLWriterBase
public XMLWriterBase()
-
-
Method Details
-
startElement
Description copied from interface:XMLWriter
Write the start tag for an element.- Specified by:
startElement
in interfaceXMLWriter
-
startElement
Description copied from interface:XMLWriter
Write the start tag for an element.- Specified by:
startElement
in interfaceXMLWriter
-
startElement
Description copied from interface:XMLWriter
Write the start tag for an element.- Specified by:
startElement
in interfaceXMLWriter
-
writeAttribute
Description copied from interface:XMLWriter
Write an attribute of the current element.- Specified by:
writeAttribute
in interfaceXMLWriter
-
writeAttribute
Description copied from interface:XMLWriter
Write an attribute of the current element.- Specified by:
writeAttribute
in interfaceXMLWriter
-
writeAttributeUnquoted
Description copied from interface:XMLWriter
Write an attribute (unquoted) of the current element.- Specified by:
writeAttributeUnquoted
in interfaceXMLWriter
-
writeAttributeUnquoted
Description copied from interface:XMLWriter
Write an attribute (unquoted) of the current element.- Specified by:
writeAttributeUnquoted
in interfaceXMLWriter
-
writeChars
Description copied from interface:XMLWriter
Write character data within an element.- Specified by:
writeChars
in interfaceXMLWriter
-
writeChars
Description copied from interface:XMLWriter
Write character data within an element.- Specified by:
writeChars
in interfaceXMLWriter
-
writeComment
Description copied from interface:XMLWriter
Write a comment within an element.- Specified by:
writeComment
in interfaceXMLWriter
-