org.eclipse.net4j.util.io
Class XMLOutput
java.lang.Object
org.eclipse.net4j.util.io.XMLOutput
- public class XMLOutput
- extends Object
- Since:
- 3.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLOutput
public XMLOutput(OutputStream out)
throws TransformerConfigurationException,
SAXException
- Throws:
TransformerConfigurationException
SAXException
setNewLine
public void setNewLine(String newLine)
setIndentation
public void setIndentation(String indentation)
element
public XMLOutput element(String name)
throws SAXException
- Throws:
SAXException
attribute
public XMLOutput attribute(String name,
Object value)
throws SAXException
- Throws:
SAXException
attributeOrNull
public XMLOutput attributeOrNull(String name,
Object value)
throws SAXException
- Throws:
SAXException
characters
public Writer characters()
throws SAXException
- Throws:
SAXException
bytes
public OutputStream bytes()
throws SAXException
- Throws:
SAXException
push
public XMLOutput push()
throws SAXException
- Throws:
SAXException
pop
public XMLOutput pop()
throws SAXException
- Throws:
SAXException
done
public void done()
throws SAXException
- Throws:
SAXException
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.