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
public abstract class XMLWriterBase extends Object implements XMLWriter
A base class for XMLWriter implementations.
It provides the implementation of some derived XMLWriter methods.
- Author:
- JAX-RPC Development Team
-
-
Constructor Summary
Constructors Constructor Description XMLWriterBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidstartElement(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, 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
-
-
-
-
Method Detail
-
startElement
public void startElement(String localName)
Description copied from interface:XMLWriterWrite the start tag for an element.- Specified by:
startElementin interfaceXMLWriter
-
startElement
public void startElement(QName name)
Description copied from interface:XMLWriterWrite the start tag for an element.- Specified by:
startElementin interfaceXMLWriter
-
startElement
public void startElement(QName name, String prefix)
Description copied from interface:XMLWriterWrite the start tag for an element.- Specified by:
startElementin interfaceXMLWriter
-
writeAttribute
public void writeAttribute(String localName, String value)
Description copied from interface:XMLWriterWrite an attribute of the current element.- Specified by:
writeAttributein interfaceXMLWriter
-
writeAttribute
public void writeAttribute(QName name, String value)
Description copied from interface:XMLWriterWrite an attribute of the current element.- Specified by:
writeAttributein interfaceXMLWriter
-
writeAttributeUnquoted
public void writeAttributeUnquoted(QName name, String value)
Description copied from interface:XMLWriterWrite an attribute (unquoted) of the current element.- Specified by:
writeAttributeUnquotedin interfaceXMLWriter
-
writeAttributeUnquoted
public void writeAttributeUnquoted(String localName, String value)
Description copied from interface:XMLWriterWrite an attribute (unquoted) of the current element.- Specified by:
writeAttributeUnquotedin interfaceXMLWriter
-
writeChars
public abstract void writeChars(CDATA chars)
Description copied from interface:XMLWriterWrite character data within an element.- Specified by:
writeCharsin interfaceXMLWriter
-
writeChars
public abstract void writeChars(String chars)
Description copied from interface:XMLWriterWrite character data within an element.- Specified by:
writeCharsin interfaceXMLWriter
-
writeComment
public void writeComment(String comment)
Description copied from interface:XMLWriterWrite a comment within an element.- Specified by:
writeCommentin interfaceXMLWriter
-
-