public class XMLOutput extends Object
Constructor and Description |
---|
XMLOutput(OutputStream out) |
Modifier and Type | Method and Description |
---|---|
XMLOutput |
attribute(String name,
Object value) |
XMLOutput |
attributeOrNull(String name,
Object value) |
OutputStream |
bytes() |
Writer |
characters() |
void |
done() |
XMLOutput |
element(String name) |
XMLOutput |
pop() |
XMLOutput |
push() |
void |
setIndentation(String indentation) |
void |
setNewLine(String newLine) |
public XMLOutput(OutputStream out) throws TransformerConfigurationException, SAXException
public void setNewLine(String newLine)
public void setIndentation(String indentation)
public XMLOutput element(String name) throws SAXException
SAXException
public XMLOutput attribute(String name, Object value) throws SAXException
SAXException
public XMLOutput attributeOrNull(String name, Object value) throws SAXException
SAXException
public Writer characters() throws SAXException
SAXException
public OutputStream bytes() throws SAXException
SAXException
public XMLOutput push() throws SAXException
SAXException
public XMLOutput pop() throws SAXException
SAXException
public void done() throws SAXException
SAXException
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html