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
XMLStreamException
public static void writeAttribute(XMLStreamWriter writer, QName name, String value, boolean writeNamespaceNodes) throws XMLStreamException
XMLStreamException
public static void writeAttribute(XMLStreamWriter writer, Node attr) throws XMLStreamException
XMLStreamException
public static void writeAttribute(XMLStreamWriter writer, Node attr, boolean copyNamespaceNodes) throws XMLStreamException
XMLStreamException
public static void writeAttribute(XMLStreamWriter writer, Map.Entry<QName,String> attribute) throws XMLStreamException
XMLStreamException
public static void writeAttributes(XMLStreamWriter writer, Element element) throws XMLStreamException
XMLStreamException
public static void writeAttributes(XMLStreamWriter writer, Element element, boolean copyNamespaceNodes) throws XMLStreamException
XMLStreamException
public static void writeAttributes(XMLStreamWriter writer, XMLStreamReader reader) throws XMLStreamException
XMLStreamException
public static void writeAttributes(XMLStreamWriter writer, Map<QName,String> attributes) throws XMLStreamException
XMLStreamException
public static void writeCData(XMLStreamWriter writer, XMLStreamReader reader) throws XMLStreamException
XMLStreamException
public static void writeCharacters(XMLStreamWriter writer, Node text) throws XMLStreamException
XMLStreamException
public static void writeCharacters(XMLStreamWriter writer, XMLStreamReader reader) throws XMLStreamException
XMLStreamException
public static void writeComment(XMLStreamWriter writer, Node node) throws XMLStreamException
XMLStreamException
public static void writeComment(XMLStreamWriter writer, XMLStreamReader reader) throws XMLStreamException
XMLStreamException
public static void writeDocument(XMLStreamWriter writer, XMLStreamReader reader) throws XMLStreamException
XMLStreamException
public static void writeElement(XMLStreamWriter writer, XMLStreamReader reader) throws XMLStreamException
XMLStreamException
public static void writeElement(XMLStreamWriter writer, Element element) throws XMLStreamException
XMLStreamException
public static void writeDocument(XMLStreamWriter writer, Document document) throws XMLStreamException
XMLStreamException
public static void writeDocument(XMLStreamWriter writer, Document document, boolean copyBaseURI) throws XMLStreamException
XMLStreamException
public static void writeNode(XMLStreamWriter writer, Node node) throws XMLStreamException
XMLStreamException
public static void writeEvent(XMLStreamWriter writer, XMLStreamReader reader) throws XMLStreamException
XMLStreamException
public static void writeProcessingInstruction(XMLStreamWriter writer, Node pi) throws XMLStreamException
XMLStreamException
public static void writeProcessingInstruction(XMLStreamWriter writer, XMLStreamReader reader) throws XMLStreamException
XMLStreamException
public static void writeStartElement(XMLStreamWriter writer, QName name) throws XMLStreamException
XMLStreamException
public static void writeStartElement(XMLStreamWriter writer, XMLStreamReader reader) throws XMLStreamException
XMLStreamException
public static void writeStartElement(XMLStreamWriter writer, Element element) throws XMLStreamException
XMLStreamException
public static void writeStartElement(XMLStreamWriter writer, Element element, boolean copyAttributes, boolean copyNamespaceNodes, boolean copyBaseURI) throws XMLStreamException
XMLStreamException
public static int skipElement(XMLStreamReader reader) throws XMLStreamException
XMLStreamException
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.