public void writeEndDocument() throws XMLStreamException { beforeEndDocument(); writer.writeEndDocument(); afterEndDocument(); }
public void writeEmptyElement(String namespaceURI, String localName) throws XMLStreamException { beforeStartElement(localName, null); writeEmptyElement(null, namespaceURI, localName); afterEndElement(); }
public void writeStartDocument(String version) throws XMLStreamException { beforeStartDocument(); writer.writeStartDocument(version); afterStartDocument(); }
public void writeStartElement(String namespaceURI, String localName) throws XMLStreamException { beforeStartElement(localName, namespaceURI); writeStartElement(null, namespaceURI, localName); afterStartElement(localName, namespaceURI); }
public void writeProcessingInstruction(String target, String data) throws XMLStreamException { beforeProcessingInstruction(); writer.writeProcessingInstruction(target, data); afterProcessingInstruction(); }
public void writeEmptyElement(String prefix, String localName, String namespaceURI) throws XMLStreamException { beforeStartElement(localName, null); writer.writeEmptyElement(prefix, localName, namespaceURI); afterEndElement(); }
public void writeEndElement() throws XMLStreamException { beforeEndElement(); writer.writeEndElement(); afterEndElement(); }
public void writeStartElement(String prefix, String localName, String namespaceURI) throws XMLStreamException { beforeStartElement(localName, namespaceURI); writer.writeStartElement(prefix, localName, namespaceURI); afterStartElement(localName, namespaceURI); }
writer = new PrettyPrintXMLStreamWriter(writer);
public void writeStartElement(String localName) throws XMLStreamException { beforeStartElement(localName, null); writeStartElement(null, null, localName); afterStartElement(localName, null); }
public void writeProcessingInstruction(String target) throws XMLStreamException { beforeProcessingInstruction(); writer.writeProcessingInstruction(target); afterProcessingInstruction(); }
public void writeEmptyElement(String localName) throws XMLStreamException { beforeStartElement(localName, null); writer.writeEmptyElement(localName); afterEndElement(); }
public void writeStartDocument() throws XMLStreamException { beforeStartDocument(); writer.writeStartDocument(); afterStartDocument(); }
public void writeDTD(String dtd) throws XMLStreamException { beforeProcessingInstruction(); writer.writeDTD(dtd); afterProcessingInstruction(); }
public void writeStartDocument(String encoding, String version) throws XMLStreamException { beforeStartDocument(); writer.writeStartDocument(encoding, version); afterStartDocument(); }