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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstartElement(String localName) Write the start tag for an element.voidstartElement(QName name) Write the start tag for an element.voidstartElement(QName name, String prefix) Write the start tag for an element.voidwriteAttribute(String localName, String value) Write an attribute of the current element.voidwriteAttribute(QName name, String value) Write an attribute of the current element.voidwriteAttributeUnquoted(String localName, String value) Write an attribute (unquoted) of the current element.voidwriteAttributeUnquoted(QName name, String value) Write an attribute (unquoted) of the current element.abstract voidwriteChars(CDATA chars) Write character data within an element.abstract voidwriteChars(String chars) Write character data within an element.voidwriteComment(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, waitMethods 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:XMLWriterWrite the start tag for an element.- Specified by:
startElementin interfaceXMLWriter
-
startElement
Description copied from interface:XMLWriterWrite the start tag for an element.- Specified by:
startElementin interfaceXMLWriter
-
startElement
Description copied from interface:XMLWriterWrite the start tag for an element.- Specified by:
startElementin interfaceXMLWriter
-
writeAttribute
Description copied from interface:XMLWriterWrite an attribute of the current element.- Specified by:
writeAttributein interfaceXMLWriter
-
writeAttribute
Description copied from interface:XMLWriterWrite an attribute of the current element.- Specified by:
writeAttributein interfaceXMLWriter
-
writeAttributeUnquoted
Description copied from interface:XMLWriterWrite an attribute (unquoted) of the current element.- Specified by:
writeAttributeUnquotedin interfaceXMLWriter
-
writeAttributeUnquoted
Description copied from interface:XMLWriterWrite an attribute (unquoted) of the current element.- Specified by:
writeAttributeUnquotedin interfaceXMLWriter
-
writeChars
Description copied from interface:XMLWriterWrite character data within an element.- Specified by:
writeCharsin interfaceXMLWriter
-
writeChars
Description copied from interface:XMLWriterWrite character data within an element.- Specified by:
writeCharsin interfaceXMLWriter
-
writeComment
Description copied from interface:XMLWriterWrite a comment within an element.- Specified by:
writeCommentin interfaceXMLWriter
-