public final class XMLStreamWriterHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
XMLStreamWriterHelper.BufferedXMLStreamWriter |
static interface |
XMLStreamWriterHelper.FutureWriterEvent |
static class |
XMLStreamWriterHelper.ToStringWriter |
static interface |
XMLStreamWriterHelper.WriterEvent |
public static Map<QName,String> getAttributes(XMLStreamReader reader)
public static void writeAttribute(XMLStreamWriter writer, QName name, String value) throws XMLStreamException
XMLStreamExceptionpublic static void writeAttribute(XMLStreamWriter writer, QName name, String value, boolean writeNamespaceNodes) throws XMLStreamException
XMLStreamExceptionpublic static void writeAttribute(XMLStreamWriter writer, Node attr) throws XMLStreamException
XMLStreamExceptionpublic static void writeAttribute(XMLStreamWriter writer, Node attr, boolean copyNamespaceNodes) throws XMLStreamException
XMLStreamExceptionpublic static void writeAttribute(XMLStreamWriter writer, Attribute attr) throws XMLStreamException
XMLStreamExceptionpublic static void writeAttribute(XMLStreamWriter writer, Map.Entry<QName,String> attribute) throws XMLStreamException
XMLStreamExceptionpublic static void writeAttributes(XMLStreamWriter writer, Element element) throws XMLStreamException
XMLStreamExceptionpublic static void writeAttributes(XMLStreamWriter writer, Element element, boolean copyNamespaceNodes) throws XMLStreamException
XMLStreamExceptionpublic static void writeAttributes(XMLStreamWriter writer, StartElement element) throws XMLStreamException
XMLStreamExceptionpublic static void writeAttributes(XMLStreamWriter writer, XMLStreamReader reader) throws XMLStreamException
XMLStreamExceptionpublic static void writeAttributes(XMLStreamWriter writer, Map<QName,String> attributes) throws XMLStreamException
XMLStreamExceptionpublic static void writeCData(XMLStreamWriter writer, XMLStreamReader reader) throws XMLStreamException
XMLStreamExceptionpublic static void writeCharacters(XMLStreamWriter writer, Node text) throws XMLStreamException
XMLStreamExceptionpublic static void writeCharacters(XMLStreamWriter writer, Characters text) throws XMLStreamException
XMLStreamExceptionpublic static void writeCharacters(XMLStreamWriter writer, XMLStreamReader reader) throws XMLStreamException
XMLStreamExceptionpublic static void writeComment(XMLStreamWriter writer, Node node) throws XMLStreamException
XMLStreamExceptionpublic static void writeComment(XMLStreamWriter writer, Comment comment) throws XMLStreamException
XMLStreamExceptionpublic static void writeComment(XMLStreamWriter writer, XMLStreamReader reader) throws XMLStreamException
XMLStreamExceptionpublic static void writeDocument(XMLStreamWriter writer, XMLStreamReader reader) throws XMLStreamException
XMLStreamExceptionpublic static void writeDocument(XMLStreamWriter writer, XMLEventReader reader) throws XMLStreamException
XMLStreamExceptionpublic static void writeDocument(XMLStreamWriter writer, Iterator<XMLEvent> reader) throws XMLStreamException
XMLStreamExceptionpublic static void writeDocument(XMLStreamWriter writer, Document document) throws XMLStreamException
XMLStreamExceptionpublic static void writeDocument(XMLStreamWriter writer, Document document, boolean copyBaseURI) throws XMLStreamException
XMLStreamExceptionpublic static void writeElement(XMLStreamWriter writer, XMLStreamReader reader) throws XMLStreamException
XMLStreamExceptionpublic static void writeElement(XMLStreamWriter writer, StartElement element, XMLEventReader reader) throws XMLStreamException
XMLStreamExceptionpublic static void writeElement(XMLStreamWriter writer, StartElement element, Iterator<XMLEvent> reader) throws XMLStreamException
XMLStreamExceptionpublic static void writeElement(XMLStreamWriter writer, Element element) throws XMLStreamException
XMLStreamExceptionpublic static void writeNode(XMLStreamWriter writer, Node node) throws XMLStreamException
XMLStreamExceptionpublic static void writeEvent(XMLStreamWriter writer, XMLStreamReader reader) throws XMLStreamException
XMLStreamExceptionpublic static void writeEvent(XMLStreamWriter writer, XMLEvent event) throws XMLStreamException
XMLStreamExceptionpublic static XMLEventWriter asXMLEventWriter(XMLStreamWriter writer)
public static void writeProcessingInstruction(XMLStreamWriter writer, Node pi) throws XMLStreamException
XMLStreamExceptionpublic static void writeProcessingInstruction(XMLStreamWriter writer, ProcessingInstruction pi) throws XMLStreamException
XMLStreamExceptionpublic static void writeProcessingInstruction(XMLStreamWriter writer, ProcessingInstruction pi) throws XMLStreamException
XMLStreamExceptionpublic static void writeProcessingInstruction(XMLStreamWriter writer, XMLStreamReader reader) throws XMLStreamException
XMLStreamExceptionpublic static void writeStartElement(XMLStreamWriter writer, QName name) throws XMLStreamException
XMLStreamExceptionpublic static void writeStartElement(XMLStreamWriter writer, XMLStreamReader reader) throws XMLStreamException
XMLStreamExceptionpublic static void writeStartElement(XMLStreamWriter writer, Element element) throws XMLStreamException
XMLStreamExceptionpublic static void writeStartElement(XMLStreamWriter writer, Element element, boolean copyAttributes, boolean copyNamespaceNodes, boolean copyBaseURI) throws XMLStreamException
XMLStreamExceptionpublic static void writeStartElement(XMLStreamWriter writer, StartElement element) throws XMLStreamException
XMLStreamExceptionpublic static int skipElement(XMLStreamReader reader) throws XMLStreamException
XMLStreamExceptionpublic static XMLEvent skipElement(XMLEventReader reader) throws XMLStreamException
XMLStreamExceptionpublic static XMLEvent skipElement(Iterator<XMLEvent> reader) throws XMLStreamException
XMLStreamExceptionCopyright © 2010–2025 The DAISY Consortium. All rights reserved.